POST api/CommunicationRoutes/UpdateAccountRouteSettingsByAdmin

Request Information

URI Parameters

None.

Body Parameters

UpdateAccountRouteSettingsByAdminRequestVM
NameDescriptionTypeAdditional information
AdminUserId

string

Required

ParentAccountId

string

Required

AccountId

string

Required

InboundRoutesSettings

Collection of AccountRoutesSettingsVM

Required

OutboundRoutesSettings

Collection of AccountRoutesSettingsVM

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"
    },
    {
      "RouteId": "sample string 1",
      "NumberId": "sample string 2"
    }
  ],
  "OutboundRoutesSettings": [
    {
      "RouteId": "sample string 1",
      "NumberId": "sample string 2"
    },
    {
      "RouteId": "sample string 1",
      "NumberId": "sample string 2"
    }
  ]
}

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>
      <RouteId>sample string 1</RouteId>
    </AccountRoutesSettingsVM>
    <AccountRoutesSettingsVM>
      <NumberId>sample string 2</NumberId>
      <RouteId>sample string 1</RouteId>
    </AccountRoutesSettingsVM>
  </InboundRoutesSettings>
  <OutboundRoutesSettings>
    <AccountRoutesSettingsVM>
      <NumberId>sample string 2</NumberId>
      <RouteId>sample string 1</RouteId>
    </AccountRoutesSettingsVM>
    <AccountRoutesSettingsVM>
      <NumberId>sample string 2</NumberId>
      <RouteId>sample string 1</RouteId>
    </AccountRoutesSettingsVM>
  </OutboundRoutesSettings>
  <ParentAccountId>sample string 2</ParentAccountId>
</UpdateAccountRouteSettingsByAdminRequestVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.