POST Betting/GetNextRace

Gets the next race.

Request Information

URI Parameters

None.

Body Parameters

ApiGetNextRaceRequestFilter
NameDescriptionTypeAdditional information
pageNum

Gets or sets a value for page Number.

integer

None.

pageSize

Gets or sets a value for page Size.

integer

None.

isLocal

Gets or sets a value indicating whether this instance is local.

boolean

None.

userID

Gets or sets the user identifier.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "pageNum": 1,
  "pageSize": 2,
  "isLocal": true,
  "userID": 4
}

application/xml, text/xml

Sample:
<ApiGetNextRaceRequestFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models">
  <userID>4</userID>
  <isLocal>true</isLocal>
  <pageNum>1</pageNum>
  <pageSize>2</pageSize>
</ApiGetNextRaceRequestFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiNextRaceResponse
NameDescriptionTypeAdditional information
ResponseObject

Gets or sets the response object.

ApiNextRace

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": {
    "TournamentID": 1,
    "SportID": 2,
    "CountryID": 3,
    "TournamentName": "sample string 4",
    "EventNumber": 5,
    "EventID": 6
  },
  "ResponseType": 1,
  "ResponseMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<ApiNextRaceResponse 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>
  <ResponseObject>
    <CountryID>3</CountryID>
    <EventID>6</EventID>
    <EventNumber>5</EventNumber>
    <SportID>2</SportID>
    <TournamentID>1</TournamentID>
    <TournamentName>sample string 4</TournamentName>
  </ResponseObject>
</ApiNextRaceResponse>