POST api/CentralStation/dnis
Request Information
URI Parameters
None.
Body Parameters
CreateCentralStationDNISRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PrefixID | integer |
None. |
|
| DNIS | string |
None. |
|
| SessionNum | integer |
None. |
|
| SessionPassword | Collection of byte |
None. |
|
| ApplicationCode | string |
None. |
|
| StagesURL | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PrefixID": 1,
"DNIS": "sample string 2",
"SessionNum": 3,
"SessionPassword": "QEA=",
"ApplicationCode": "sample string 4",
"StagesURL": "sample string 5"
}
application/xml, text/xml
Sample:
<CreateCentralStationDNISRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RapidAPI.Models"> <StagesURL>sample string 5</StagesURL> <ApplicationCode>sample string 4</ApplicationCode> <SessionNum>3</SessionNum> <SessionPassword>QEA=</SessionPassword> <DNIS>sample string 2</DNIS> <PrefixID>1</PrefixID> </CreateCentralStationDNISRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CreateCentralStatioDNISResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| DnisID | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"ErrorMessage": "sample string 2",
"DnisID": 1
}
application/xml, text/xml
Sample:
<CreateCentralStatioDNISResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RapidAPI.Models"> <DnisID>1</DnisID> <ErrorMessage>sample string 2</ErrorMessage> <Success>true</Success> </CreateCentralStatioDNISResult>