POST Account/ValidateToken

Check if the bet genius token is valid

Request Information

URI Parameters

None.

Body Parameters

string

Request Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

True if token is valid

TokenValidationResponse
NameDescriptionTypeAdditional information
ResponseObject

boolean

None.

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:
{
  "ResponseObject": true,
  "ResponseType": 2,
  "ResponseMessage": "sample string 3"
}

application/xml, text/xml

Sample:
<TokenValidationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models">
  <ResponseMessage>sample string 3</ResponseMessage>
  <ResponseType>2</ResponseType>
  <ResponseObject>true</ResponseObject>
</TokenValidationResponse>