PUT api/CentralStation/phoneLine
Request Information
URI Parameters
None.
Body Parameters
UpdatePhoneLineRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PhoneLineID | integer |
None. |
|
| PhoneNumber | string |
None. |
|
| UpdatePhoneNumber | boolean |
None. |
|
| Carrier | string |
None. |
|
| UpdateCarrier | boolean |
None. |
|
| Type | integer |
None. |
|
| UpdateType | boolean |
None. |
|
| SecondaryFlag | boolean |
None. |
|
| UpdateSecondaryFlag | boolean |
None. |
|
| SessionNum | integer |
None. |
|
| SessionPassword | Collection of byte |
None. |
|
| ApplicationCode | string |
None. |
|
| StagesURL | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PhoneLineID": 1,
"PhoneNumber": "sample string 2",
"UpdatePhoneNumber": true,
"Carrier": "sample string 4",
"UpdateCarrier": true,
"Type": 6,
"UpdateType": true,
"SecondaryFlag": true,
"UpdateSecondaryFlag": true,
"SessionNum": 10,
"SessionPassword": "QEA=",
"ApplicationCode": "sample string 11",
"StagesURL": "sample string 12"
}
application/xml, text/xml
Sample:
<UpdatePhoneLineRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RapidAPI.Models"> <StagesURL>sample string 12</StagesURL> <ApplicationCode>sample string 11</ApplicationCode> <SessionNum>10</SessionNum> <SessionPassword>QEA=</SessionPassword> <Carrier>sample string 4</Carrier> <PhoneLineID>1</PhoneLineID> <PhoneNumber>sample string 2</PhoneNumber> <SecondaryFlag>true</SecondaryFlag> <Type>6</Type> <UpdateCarrier>true</UpdateCarrier> <UpdatePhoneNumber>true</UpdatePhoneNumber> <UpdateSecondaryFlag>true</UpdateSecondaryFlag> <UpdateType>true</UpdateType> </UpdatePhoneLineRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CentralStationResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"ErrorMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<CentralStationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RapidAPI.Models"> <ErrorMessage>sample string 2</ErrorMessage> <Success>true</Success> </CentralStationResult>