POST api/CommunicationRoutes/AddSystemNumbersInAccount

Request Information

URI Parameters

None.

Body Parameters

AddSystemsNumbersInAccountRequestVM
NameDescriptionTypeAdditional information
UserId

string

Required

AccountIdsToAdd

Collection of string

Required

ParentAccountId

string

Required

Numbers

Collection of AddNumberDetails

Required

Request Formats

application/json, text/json

Sample:
{
  "UserId": "sample string 1",
  "AccountIdsToAdd": [
    "sample string 1",
    "sample string 2"
  ],
  "ParentAccountId": "sample string 2",
  "Numbers": [
    {
      "RouteId": "sample string 1",
      "NumberId": "sample string 2"
    },
    {
      "RouteId": "sample string 1",
      "NumberId": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<AddSystemsNumbersInAccountRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.CommunicationRoutesAndGateway">
  <AccountIdsToAdd xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </AccountIdsToAdd>
  <Numbers>
    <AddNumberDetails>
      <NumberId>sample string 2</NumberId>
      <RouteId>sample string 1</RouteId>
    </AddNumberDetails>
    <AddNumberDetails>
      <NumberId>sample string 2</NumberId>
      <RouteId>sample string 1</RouteId>
    </AddNumberDetails>
  </Numbers>
  <ParentAccountId>sample string 2</ParentAccountId>
  <UserId>sample string 1</UserId>
</AddSystemsNumbersInAccountRequestVM>

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.