Hi,
In the API Demo tools, there is an option to request additional data along with the market catalogue. But, it is not listed in the docs as a parameter.
How do I do that?
Thanks
EDIT: I figured few things
For this request
I am getting the following response
I am not getting the event type and the competition data along with the response. But, I do get that in the API demo tool
Please help
In the API Demo tools, there is an option to request additional data along with the market catalogue. But, it is not listed in the docs as a parameter.
How do I do that?
Thanks
EDIT: I figured few things
For this request
{
"jsonrpc": "2.0",
"method": "SportsAPING\/v1.0\/listMarketCatalogue",
"params": {
"filter": {
"eventIds": ["27110750"],
"marketTypeCodes": ["MATCH_ODDS"]
},
"marketProjection": ["EVENT", "COMPETITION", "EVENT_TYPE"],
"maxResults": 100
}
}
"jsonrpc": "2.0",
"method": "SportsAPING\/v1.0\/listMarketCatalogue",
"params": {
"filter": {
"eventIds": ["27110750"],
"marketTypeCodes": ["MATCH_ODDS"]
},
"marketProjection": ["EVENT", "COMPETITION", "EVENT_TYPE"],
"maxResults": 100
}
}
{
"jsonrpc": "2.0",
"result": [{
"marketId": "1.112108345",
"marketName": "Match Odds",
"totalMatched": 0.0,
"eventType": {
"id": "1",
"name": "Soccer"
},
"event": {
"id": "27110750",
"name": "Lebanon v Iran",
"timezone": "GMT",
"openDate": "2013-12-03T09:00:00.000Z"
}
}]
}
"jsonrpc": "2.0",
"result": [{
"marketId": "1.112108345",
"marketName": "Match Odds",
"totalMatched": 0.0,
"eventType": {
"id": "1",
"name": "Soccer"
},
"event": {
"id": "27110750",
"name": "Lebanon v Iran",
"timezone": "GMT",
"openDate": "2013-12-03T09:00:00.000Z"
}
}]
}
Please help


Comment