POST api/CentralStation/phoneLine
Request Information
URI Parameters
None.
Body Parameters
CreatePhoneLineRequestName | Description | Type | Additional information |
---|---|---|---|
PrefixID | integer |
None. |
|
PhoneNumber | string |
None. |
|
Carrier | string |
None. |
|
Type | integer |
None. |
|
SecondaryFlag | boolean |
None. |
|
SessionNum | integer |
None. |
|
SessionPassword | Collection of byte |
None. |
|
ApplicationCode | string |
None. |
|
StagesURL | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "PrefixID": 1, "PhoneNumber": "sample string 2", "Carrier": "sample string 3", "Type": 4, "SecondaryFlag": true, "SessionNum": 6, "SessionPassword": "QEA=", "ApplicationCode": "sample string 7", "StagesURL": "sample string 8" }
application/xml, text/xml
Sample:
<CreatePhoneLineRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RapidAPI.Models"> <StagesURL>sample string 8</StagesURL> <ApplicationCode>sample string 7</ApplicationCode> <SessionNum>6</SessionNum> <SessionPassword>QEA=</SessionPassword> <Carrier>sample string 3</Carrier> <PhoneNumber>sample string 2</PhoneNumber> <PrefixID>1</PrefixID> <SecondaryFlag>true</SecondaryFlag> <Type>4</Type> </CreatePhoneLineRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CreatePhoneLineResultName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
ErrorMessage | string |
None. |
|
PhoneLineID | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Success": true, "ErrorMessage": "sample string 2", "PhoneLineID": 1 }
application/xml, text/xml
Sample:
<CreatePhoneLineResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RapidAPI.Models"> <ErrorMessage>sample string 2</ErrorMessage> <PhoneLineID>1</PhoneLineID> <Success>true</Success> </CreatePhoneLineResult>