GET BetGenius/GetBetGeniusSport

Gets a list of Sports available for BetGenius

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ApiBetGeniusSportReponse
NameDescriptionTypeAdditional information
ResponseObject

Gets or sets the response object.

Collection of ApiBetGeniusSport

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": [
    {
      "SportID": 1,
      "SportName": "sample string 2"
    },
    {
      "SportID": 1,
      "SportName": "sample string 2"
    }
  ],
  "ResponseType": 1,
  "ResponseMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<ApiBetGeniusSportReponse 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>
    <ApiBetGeniusSport>
      <SportID>1</SportID>
      <SportName>sample string 2</SportName>
    </ApiBetGeniusSport>
    <ApiBetGeniusSport>
      <SportID>1</SportID>
      <SportName>sample string 2</SportName>
    </ApiBetGeniusSport>
  </ResponseObject>
</ApiBetGeniusSportReponse>