PUT api/CommunicationRoutes/UpdateCommunicationRouteSettingsForAccount?adminUserId={adminUserId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
adminUserId

string

Required

Body Parameters

AccountRoutesAndNumberSettingsRequestVM
NameDescriptionTypeAdditional information
Settings

Collection of RouteAndNumberSettings

Required

ParentAccountId

string

Required

Request Formats

application/json, text/json

Sample:
{
  "Settings": [
    {
      "RouteId": "sample string 1",
      "NumberId": "sample string 2",
      "CountryId": "sample string 3",
      "SMS": true,
      "MMS": true,
      "MT": true,
      "MO": true,
      "IsRouteAvailable": true
    },
    {
      "RouteId": "sample string 1",
      "NumberId": "sample string 2",
      "CountryId": "sample string 3",
      "SMS": true,
      "MMS": true,
      "MT": true,
      "MO": true,
      "IsRouteAvailable": true
    }
  ],
  "ParentAccountId": "sample string 1"
}

application/xml, text/xml

Sample:
<AccountRoutesAndNumberSettingsRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.CommunicationRoutesAndGateway">
  <ParentAccountId>sample string 1</ParentAccountId>
  <Settings>
    <RouteAndNumberSettings>
      <CountryId>sample string 3</CountryId>
      <IsRouteAvailable>true</IsRouteAvailable>
      <MMS>true</MMS>
      <MO>true</MO>
      <MT>true</MT>
      <NumberId>sample string 2</NumberId>
      <RouteId>sample string 1</RouteId>
      <SMS>true</SMS>
    </RouteAndNumberSettings>
    <RouteAndNumberSettings>
      <CountryId>sample string 3</CountryId>
      <IsRouteAvailable>true</IsRouteAvailable>
      <MMS>true</MMS>
      <MO>true</MO>
      <MT>true</MT>
      <NumberId>sample string 2</NumberId>
      <RouteId>sample string 1</RouteId>
      <SMS>true</SMS>
    </RouteAndNumberSettings>
  </Settings>
</AccountRoutesAndNumberSettingsRequestVM>

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.