POST api/CommunicationRoutes/UpdateAccountRouteSettings
Request Information
URI Parameters
None.
Body Parameters
UpdateAccountRouteSettingsRequestVMName | Description | Type | Additional information |
---|---|---|---|
UserId | string |
Required |
|
ParentAccountId | string |
Required |
|
AccountIds | Collection of string |
Required |
|
InboundRoutesSettings | Collection of AccountRoutesSettingsVM |
Required |
|
OutboundRoutesSettings | Collection of AccountRoutesSettingsVM |
Required |
|
SendingNumberType | SendingNumberType |
Required |
Request Formats
application/json, text/json
Sample:
{ "UserId": "sample string 1", "ParentAccountId": "sample string 2", "AccountIds": [ "sample string 1", "sample string 2" ], "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:
<UpdateAccountRouteSettingsRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.AccountsAndUsers.SubAccount"> <AccountIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </AccountIds> <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> <UserId>sample string 1</UserId> </UpdateAccountRouteSettingsRequestVM>
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.