POST api/CommunicationRoutes/UpdateAccountRouteSettingsByAdmin
Request Information
URI Parameters
None.
Body Parameters
UpdateAccountRouteSettingsByAdminRequestVMName | Description | Type | Additional information |
---|---|---|---|
AdminUserId | string |
Required |
|
ParentAccountId | string |
Required |
|
AccountId | string |
Required |
|
InboundRoutesSettings | Collection of AccountRoutesSettingsVM |
Required |
|
OutboundRoutesSettings | Collection of AccountRoutesSettingsVM |
Required |
|
SendingNumberType | SendingNumberType |
Required |
Request Formats
application/json, text/json
Sample:
{ "AdminUserId": "sample string 1", "ParentAccountId": "sample string 2", "AccountId": "sample string 3", "InboundRoutesSettings": [ { "RouteId": "sample string 1", "NumberId": "sample string 2", "Order": 3 }, { "RouteId": "sample string 1", "NumberId": "sample string 2", "Order": 3 } ], "OutboundRoutesSettings": [ { "RouteId": "sample string 1", "NumberId": "sample string 2", "Order": 3 }, { "RouteId": "sample string 1", "NumberId": "sample string 2", "Order": 3 } ], "SendingNumberType": "Rotate" }
application/xml, text/xml
Sample:
<UpdateAccountRouteSettingsByAdminRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.AccountsAndUsers.SubAccount"> <AccountId>sample string 3</AccountId> <AdminUserId>sample string 1</AdminUserId> <InboundRoutesSettings> <AccountRoutesSettingsVM> <NumberId>sample string 2</NumberId> <Order>3</Order> <RouteId>sample string 1</RouteId> </AccountRoutesSettingsVM> <AccountRoutesSettingsVM> <NumberId>sample string 2</NumberId> <Order>3</Order> <RouteId>sample string 1</RouteId> </AccountRoutesSettingsVM> </InboundRoutesSettings> <OutboundRoutesSettings> <AccountRoutesSettingsVM> <NumberId>sample string 2</NumberId> <Order>3</Order> <RouteId>sample string 1</RouteId> </AccountRoutesSettingsVM> <AccountRoutesSettingsVM> <NumberId>sample string 2</NumberId> <Order>3</Order> <RouteId>sample string 1</RouteId> </AccountRoutesSettingsVM> </OutboundRoutesSettings> <ParentAccountId>sample string 2</ParentAccountId> <SendingNumberType>Rotate</SendingNumberType> </UpdateAccountRouteSettingsByAdminRequestVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.