POST api/punters/socketToken
Request Information
URI Parameters
None.
Body Parameters
BO.BETRequestObjects.Punter.PunterSocketTokenRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PunterID | integer |
None. |
|
| ConnectionID | string |
None. |
|
| FeatureNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"punterID": 1,
"connectionID": "sample string 2",
"featureNumber": "sample string 3"
}
application/xml, text/xml
Sample:
<PunterSocketTokenRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <PunterID>1</PunterID> <ConnectionID>sample string 2</ConnectionID> <FeatureNumber>sample string 3</FeatureNumber> </PunterSocketTokenRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BO.BETResponseObjects.BaseResponseOfBO.BETResponseObjects.Punter.PunterSocketToken| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject | BO.BETResponseObjects.Punter.PunterSocketToken |
None. |
|
| ResponseMessage | string |
None. |
|
| ResponseType | BO.Enums.ResponseType |
None. |
Response Formats
application/json, text/json
Sample:
{
"responseObject": {
"responseType": 1,
"responseMessage": "sample string 2"
},
"responseMessage": "sample string 1",
"responseType": 1
}
application/xml, text/xml
Sample:
<BaseResponseOfPunterSocketToken xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ResponseObject>
<ResponseType>1</ResponseType>
<ResponseMessage>sample string 2</ResponseMessage>
</ResponseObject>
<ResponseMessage>sample string 1</ResponseMessage>
<ResponseType>Success</ResponseType>
</BaseResponseOfPunterSocketToken>