GET api/markets/{tournamentId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| tournamentId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
BO.BETResponseObjects.BaseResponseOfSystem.Collections.Generic.ListOfBO.Models.Market.MarketModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject | Collection of BO.Models.Market.MarketModel |
None. |
|
| ResponseMessage | string |
None. |
|
| ResponseType | BO.Enums.ResponseType |
None. |
Response Formats
application/json, text/json
Sample:
{
"responseObject": [
{
"marketID": 1,
"marketName": "sample string 2",
"marketNumber": 3,
"startPosition": 4,
"weight": 5.0,
"weightAllowed": 6.0,
"form": "sample string 7",
"fK_EventID": 8,
"jockey": "sample string 9",
"trainer": "sample string 10",
"url": "sample string 11",
"horseAge": 12,
"distance": 13.0,
"gender": "A",
"comments": "sample string 15"
},
{
"marketID": 1,
"marketName": "sample string 2",
"marketNumber": 3,
"startPosition": 4,
"weight": 5.0,
"weightAllowed": 6.0,
"form": "sample string 7",
"fK_EventID": 8,
"jockey": "sample string 9",
"trainer": "sample string 10",
"url": "sample string 11",
"horseAge": 12,
"distance": 13.0,
"gender": "A",
"comments": "sample string 15"
}
],
"responseMessage": "sample string 1",
"responseType": 1
}
application/xml, text/xml
Sample:
<BaseResponseOfListOfMarketModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ResponseObject>
<MarketModel>
<MarketID>1</MarketID>
<MarketName>sample string 2</MarketName>
<MarketNumber>3</MarketNumber>
<StartPosition>4</StartPosition>
<Weight>5</Weight>
<WeightAllowed>6</WeightAllowed>
<Form>sample string 7</Form>
<FK_EventID>8</FK_EventID>
<Jockey>sample string 9</Jockey>
<Trainer>sample string 10</Trainer>
<URL>sample string 11</URL>
<HorseAge>12</HorseAge>
<Distance>13</Distance>
<Gender>65</Gender>
<Comments>sample string 15</Comments>
</MarketModel>
<MarketModel>
<MarketID>1</MarketID>
<MarketName>sample string 2</MarketName>
<MarketNumber>3</MarketNumber>
<StartPosition>4</StartPosition>
<Weight>5</Weight>
<WeightAllowed>6</WeightAllowed>
<Form>sample string 7</Form>
<FK_EventID>8</FK_EventID>
<Jockey>sample string 9</Jockey>
<Trainer>sample string 10</Trainer>
<URL>sample string 11</URL>
<HorseAge>12</HorseAge>
<Distance>13</Distance>
<Gender>65</Gender>
<Comments>sample string 15</Comments>
</MarketModel>
</ResponseObject>
<ResponseMessage>sample string 1</ResponseMessage>
<ResponseType>Success</ResponseType>
</BaseResponseOfListOfMarketModel>