POST api/CommunicationRoutes/AddNumbersInInventory

Request Information

URI Parameters

None.

Body Parameters

AddNumberInInventoryRequestVM
NameDescriptionTypeAdditional information
AdminUserId

string

Required

Gateway

MessageAPIGateWay

Required

Type

RouteNumberType

Required

MT

boolean

None.

MO

boolean

None.

SMS

boolean

None.

MMS

boolean

None.

CountryId

string

Required

Numbers

Collection of string

Required

ConnectionName

AerilinkConnectionName

Required

Request Formats

application/json, text/json

Sample:
{
  "AdminUserId": "sample string 1",
  "Gateway": "AeriaLink",
  "Type": "Unknown",
  "MT": true,
  "MO": true,
  "SMS": true,
  "MMS": true,
  "CountryId": "sample string 6",
  "Numbers": [
    "sample string 1",
    "sample string 2"
  ],
  "ConnectionName": "MindMeV1"
}

application/xml, text/xml

Sample:
<AddNumberInInventoryRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.NumberInventory">
  <AdminUserId>sample string 1</AdminUserId>
  <ConnectionName>MindMeV1</ConnectionName>
  <CountryId>sample string 6</CountryId>
  <Gateway>AeriaLink</Gateway>
  <MMS>true</MMS>
  <MO>true</MO>
  <MT>true</MT>
  <Numbers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Numbers>
  <SMS>true</SMS>
  <Type>Unknown</Type>
</AddNumberInInventoryRequestVM>

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.