POST Account/SocketToken
Store socket connection details for near real time updates per connection.
Request Information
URI Parameters
None.
Body Parameters
ApiSocketTokenRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientID | integer |
None. |
|
| ConnectionID | string |
None. |
|
| FeatureNo | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ClientID": 1,
"ConnectionID": "sample string 2",
"FeatureNo": "sample string 3"
}
application/xml, text/xml
Sample:
<ApiSocketTokenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models"> <ClientID>1</ClientID> <ConnectionID>sample string 2</ConnectionID> <FeatureNo>sample string 3</FeatureNo> </ApiSocketTokenRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SocketTokenResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseType |
Gets or sets the type of the response. |
integer |
None. |
| ResponseMessage |
Gets or sets the response message. |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseType": 1,
"ResponseMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<SocketTokenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models"> <ResponseMessage>sample string 2</ResponseMessage> <ResponseType>1</ResponseType> </SocketTokenResponse>