I am having problems retrieving PLACE markets using listMarketCatalogue. I am including 'PLACE' in the marketTypeCodes parameter, but that does not appear to return place markets. Here are the details:
Using the API, I am sending this JSON:
The result I get is
The result contains 3 win markets. However, each of those win markets also has an associated PLACE market. Why isn't my query returning PLACE bets too?
Using the API, I am sending this JSON:
Code:
{
"method": "SportsAPING/v1.0/listMarketCatalogue",
"jsonrpc": "2.0",
"id": 1,
"params": {
"marketProjection": [
"COMPETITION",
"EVENT",
"MARKET_START_TIME",
"RUNNER_DESCRIPTION",
"MARKET_DESCRIPTION"
],
"maxResults": "200",
"sort": "FIRST_TO_START",
"filter": {
"marketTypeCodes": [
"WIN",
"PLACE"
],
"eventTypeIds": [
7
],
"marketCountries": [
"AR",
"FR",
"GB",
"IE",
"SG",
"UY",
"US",
"ZA"
],
"marketStartTime": {
"from": "2015-12-21T20:42:26Z",
"to": "2015-12-21T21:07:26Z"
}
}
}
}
Code:
[
{
"runners": [
{
"runnerName": "Lyrical Colors",
"selectionId": 10249113,
"sortPriority": 1,
"handicap": 0.0
},
{
"runnerName": "Mischievous Sophie",
"selectionId": 10073645,
"sortPriority": 2,
"handicap": 0.0
},
{
"runnerName": "African Jewel",
"selectionId": 9905807,
"sortPriority": 3,
"handicap": 0.0
},
{
"runnerName": "Competitive Dream",
"selectionId": 10050725,
"sortPriority": 4,
"handicap": 0.0
},
{
"runnerName": "Here Comes Adri",
"selectionId": 10268378,
"sortPriority": 5,
"handicap": 0.0
},
{
"runnerName": "Poderosa",
"selectionId": 9526699,
"sortPriority": 6,
"handicap": 0.0
},
{
"runnerName": "Allegheny Moon",
"selectionId": 10580222,
"sortPriority": 7,
"handicap": 0.0
},
{
"runnerName": "Midnight Princess",
"selectionId": 10097604,
"sortPriority": 8,
"handicap": 0.0
},
{
"runnerName": "Jojos Gal",
"selectionId": 9992125,
"sortPriority": 9,
"handicap": 0.0
},
{
"runnerName": "Double Check",
"selectionId": 10111849,
"sortPriority": 10,
"handicap": 0.0
},
{
"runnerName": "Lingeringobsession",
"selectionId": 10384388,
"sortPriority": 11,
"handicap": 0.0
},
{
"runnerName": "Garnisheed Wages",
"selectionId": 10134880,
"sortPriority": 12,
"handicap": 0.0
}
],
"description": {
"rules": "<table cellborder=\"0\" width=\"100%\"></table><a href=\"http://form.horseracing.betfair.com\" target=\"_blank\"><img src=\" http://content-cache.betfair.com/images/en_GB/mr_fr.gif\" title=\u201dForm/ Results\u201d border=\"0\"></a><br><br><b>MARKET INFORMATION</b><br><br>For further information please see <a href=http://content.betfair.com/aboutus/content.asp?sWhichKey=Rules%20and%20Regulations#undefined.do style=color:0163ad; text-decoration: underline; target=_blank>Rules & Regs</a>.<br><br>Who will win this race? This market will be settled on the official result - horses running for purse only will be scratched. CARD NUMBERS ARE A GUIDE ONLY. BETS ARE PLACED ON A NAMED HORSE. Horses are NOT COUPLED. Betfair Non-Runner Rule applies. Dead heat rules apply.<br><br><b>\n\nThis market will be CLOSED at the off</b> with unmatched bets cancelled once the Betfair SP reconciliation process has been completed (if applicable). ",
"bspMarket": true,
"turnInPlayEnabled": false,
"marketTime": "2015-12-21T21:01:00.000Z",
"persistenceEnabled": true,
"regulator": "GIBRALTAR REGULATOR",
"discountAllowed": true,
"clarifications": "NR: (EST) <br> 1. Lingeringobsession (3.5%,12:00), <br> 2. Garnisheed Wages (3.7%,12:00)",
"rulesHasDate": true,
"marketType": "WIN",
"marketBaseRate": 5.0,
"suspendTime": "2015-12-21T21:01:00.000Z",
"wallet": "UK wallet",
"bettingType": "ODDS"
},
"totalMatched": 667.02,
"marketId": "1.122360164",
"marketName": "R9 6f Claim",
"event": {
"timezone": "US/Eastern",
"openDate": "2015-12-21T17:25:00.000Z",
"name": "Parx (US) 21st Dec",
"id": "27635438",
"countryCode": "US",
"venue": "Parx Racing At Philadelphia Park"
},
"marketStartTime": "2015-12-21T21:01:00.000Z"
},
{
"runners": [
{
"runnerName": "Diamondsnchocolate",
"selectionId": 10597644,
"sortPriority": 1,
"handicap": 0.0
},
{
"runnerName": "Kathys Lil Secret",
"selectionId": 10220151,
"sortPriority": 2,
"handicap": 0.0
},
{
"runnerName": "Candy An Wine",
"selectionId": 10096855,
"sortPriority": 3,
"handicap": 0.0
},
{
"runnerName": "Mosinthesandtrap",
"selectionId": 10154946,
"sortPriority": 4,
"handicap": 0.0
},
{
"runnerName": "Sixty Four",
"selectionId": 10649025,
"sortPriority": 5,
"handicap": 0.0
},
{
"runnerName": "O M G Its Gone",
"selectionId": 10154877,
"sortPriority": 6,
"handicap": 0.0
},
{
"runnerName": "Synopsis",
"selectionId": 1188922,
"sortPriority": 7,
"handicap": 0.0
},
{
"runnerName": "My Last Penny",
"selectionId": 10180286,
"sortPriority": 8,
"handicap": 0.0
},
{
"runnerName": "Babymakemyday",
"selectionId": 10649026,
"sortPriority": 9,
"handicap": 0.0
}
],
"description": {
"rules": "<table cellborder=\"0\" width=\"100%\"></table><a href=\"http://form.horseracing.betfair.com\" target=\"_blank\"><img src=\" http://content-cache.betfair.com/images/en_GB/mr_fr.gif\" title=\u201dForm/ Results\u201d border=\"0\"></a><br><br><b>MARKET INFORMATION</b><br><br>For further information please see <a href=http://content.betfair.com/aboutus/content.asp?sWhichKey=Rules%20and%20Regulations#undefined.do style=color:0163ad; text-decoration: underline; target=_blank>Rules & Regs</a>.<br><br>Who will win this race? This market will be settled on the official result - horses running for purse only will be scratched. CARD NUMBERS ARE A GUIDE ONLY. BETS ARE PLACED ON A NAMED HORSE. Horses are NOT COUPLED. Betfair Non-Runner Rule applies. Dead heat rules apply.<br><br><b>\n\nThis market will be CLOSED at the off</b> with unmatched bets cancelled once the Betfair SP reconciliation process has been completed (if applicable). ",
"bspMarket": true,
"turnInPlayEnabled": false,
"marketTime": "2015-12-21T21:04:00.000Z",
"persistenceEnabled": true,
"regulator": "GIBRALTAR REGULATOR",
"discountAllowed": false,
"rulesHasDate": true,
"marketType": "WIN",
"marketBaseRate": 5.0,
"suspendTime": "2015-12-21T21:04:00.000Z",
"wallet": "UK wallet",
"bettingType": "ODDS"
},
"totalMatched": 529.36,
"marketId": "1.122359874",
"marketName": "R4 6f Mdn Claim",
"event": {
"timezone": "US/Arizona",
"openDate": "2015-12-21T19:40:00.000Z",
"name": "TPara (US) 21st Dec",
"id": "27635380",
"countryCode": "US",
"venue": "Turf Paradise"
},
"marketStartTime": "2015-12-21T21:04:00.000Z"
},
{
"runners": [
{
"runnerName": "Bobbin Robin",
"selectionId": 10526223,
"sortPriority": 1,
"handicap": 0.0
},
{
"runnerName": "Oscars Pride",
"selectionId": 9991369,
"sortPriority": 2,
"handicap": 0.0
},
{
"runnerName": "Nexicat",
"selectionId": 10237994,
"sortPriority": 3,
"handicap": 0.0
},
{
"runnerName": "Tap Spin",
"selectionId": 10378769,
"sortPriority": 4,
"handicap": 0.0
},
{
"runnerName": "Line Running Lass",
"selectionId": 10116231,
"sortPriority": 5,
"handicap": 0.0
},
{
"runnerName": "Gospel Gail",
"selectionId": 9991482,
"sortPriority": 6,
"handicap": 0.0
},
{
"runnerName": "Cookin Sue",
"selectionId": 9991481,
"sortPriority": 7,
"handicap": 0.0
},
{
"runnerName": "Monnie Mae",
"selectionId": 10424082,
"sortPriority": 8,
"handicap": 0.0
},
{
"runnerName": "Emma Peele",
"selectionId": 10097413,
"sortPriority": 9,
"handicap": 0.0
},
{
"runnerName": "Seagrass",
"selectionId": 10072673,
"sortPriority": 10,
"handicap": 0.0
}
],
"description": {
"rules": "<table cellborder=\"0\" width=\"100%\"></table><a href=\"http://form.horseracing.betfair.com\" target=\"_blank\"><img src=\" http://content-cache.betfair.com/images/en_GB/mr_fr.gif\" title=\u201dForm/ Results\u201d border=\"0\"></a><br><br><b>MARKET INFORMATION</b><br><br>For further information please see <a href=http://content.betfair.com/aboutus/content.asp?sWhichKey=Rules%20and%20Regulations#undefined.do style=color:0163ad; text-decoration: underline; target=_blank>Rules & Regs</a>.<br><br>Who will win this race? This market will be settled on the official result - horses running for purse only will be scratched. CARD NUMBERS ARE A GUIDE ONLY. BETS ARE PLACED ON A NAMED HORSE. Horses are NOT COUPLED. Betfair Non-Runner Rule applies. Dead heat rules apply.<br><br><b>\n\nThis market will be CLOSED at the off</b> with unmatched bets cancelled once the Betfair SP reconciliation process has been completed (if applicable). ",
"bspMarket": true,
"turnInPlayEnabled": false,
"marketTime": "2015-12-21T21:07:00.000Z",
"persistenceEnabled": true,
"regulator": "GIBRALTAR REGULATOR",
"discountAllowed": false,
"rulesHasDate": true,
"marketType": "WIN",
"marketBaseRate": 5.0,
"suspendTime": "2015-12-21T21:07:00.000Z",
"wallet": "UK wallet",
"bettingType": "ODDS"
},
"totalMatched": 18.8,
"marketId": "1.122360122",
"marketName": "R5 7f Mdn",
"event": {
"timezone": "US/Central",
"openDate": "2015-12-21T19:15:00.000Z",
"name": "DeltaD (US) 21st Dec",
"id": "27635437",
"countryCode": "US",
"venue": "Delta Downs"
},
"marketStartTime": "2015-12-21T21:07:00.000Z"
}
]


Comment