PUT api/CentralStation
Request Information
URI Parameters
None.
Body Parameters
UpdateCentralStationRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CSID | integer |
None. |
|
| Name | string |
None. |
|
| UpdateName | boolean |
None. |
|
| AutomationSystem | string |
None. |
|
| UpdateAutomationSystem | boolean |
None. |
|
| PhoneSwitchMake | string |
None. |
|
| UpdatePhoneSwitchMake | boolean |
None. |
|
| PhoneSwitchModel | string |
None. |
|
| UpdatePhoneSwitchModel | boolean |
None. |
|
| SessionNum | integer |
None. |
|
| SessionPassword | Collection of byte |
None. |
|
| ApplicationCode | string |
None. |
|
| StagesURL | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CSID": 1,
"Name": "sample string 2",
"UpdateName": true,
"AutomationSystem": "sample string 4",
"UpdateAutomationSystem": true,
"PhoneSwitchMake": "sample string 6",
"UpdatePhoneSwitchMake": true,
"PhoneSwitchModel": "sample string 8",
"UpdatePhoneSwitchModel": true,
"SessionNum": 10,
"SessionPassword": "QEA=",
"ApplicationCode": "sample string 11",
"StagesURL": "sample string 12"
}
application/xml, text/xml
Sample:
<UpdateCentralStationRequest 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> <AutomationSystem>sample string 4</AutomationSystem> <CSID>1</CSID> <Name>sample string 2</Name> <PhoneSwitchMake>sample string 6</PhoneSwitchMake> <PhoneSwitchModel>sample string 8</PhoneSwitchModel> <UpdateAutomationSystem>true</UpdateAutomationSystem> <UpdateName>true</UpdateName> <UpdatePhoneSwitchMake>true</UpdatePhoneSwitchMake> <UpdatePhoneSwitchModel>true</UpdatePhoneSwitchModel> </UpdateCentralStationRequest>
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>