POST Account/UpdateSocketPrefs
Request Information
URI Parameters
None.
Body Parameters
AccountSocketPrefs| Name | Description | Type | Additional information |
|---|---|---|---|
| user_id | string |
None. |
|
| sockets | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"user_id": "sample string 1",
"sockets": "sample string 2"
}
application/xml, text/xml
Sample:
<AccountSocketPrefs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChargeCloudAPI.Models"> <sockets>sample string 2</sockets> <user_id>sample string 1</user_id> </AccountSocketPrefs>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| ResponseCode | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"ResponseCode": "sample string 2"
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChargeCloudAPI.Models"> <ResponseCode>sample string 2</ResponseCode> <Success>true</Success> </Response>