GET LiveInPlay/GetSportGroupNames?sportName={sportName}

Retrieves static list of market groups per sport.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sportName

string

Required

Body Parameters

None.

Response Information

Resource Description

GetSportMarketGroupsResponse
NameDescriptionTypeAdditional information
ResponseObject

Collection of string

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

application/xml, text/xml

Sample:
<GetSportMarketGroupsResponse 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 xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ResponseObject>
</GetSportMarketGroupsResponse>