Hi guys,
This problem is driving me nuts. Its taken ages to nail down the problem so if anyone can tell me what is wrong with this request I'd very much appreciate it
This request Fails:
Param{"filter":{"marketBettingTypes":["ODDS"],"marketTypeCodes":["CORRECT_SCORE"],
"marketStartTime":{"from":"2015-01-04T22:31:00.000Z","to":"2015-01-05T02:31:00.000Z"},
"eventTypeIds":["1"]},"maxResults":1000,"marketProjection":["COMPETITION","EVENT","MARKET_START_TIME","RUNNER_ DESCRIPTION"],
"sort":"FIRST_TO_START"},"id":"1","jsonrpc":"2 .0"}
Error=HTTP/1.1 400 Bad Request
and this request succeeds
Param{"filter":{"marketBettingTypes":["ODDS"],"marketTypeCodes":["CORRECT_SCORE"],
"marketStartTime":{"from":"2015-01-04T23:07:00.000Z","to":"2015-01-05T03:07:00.000Z"},
"eventTypeIds":["1"]},"maxResults":1000,"marketProjection":["COMPETITION","EVENT","MARKET_START_TIME","RUNNER_ DESCRIPTION"],
"sort":"FIRST_TO_START"},"id":"1","jsonrpc":"2 .0"}
What exactly is wrong with the first request?
These requests are sent every five minutes,
they are both sent to ListMarketCatalogue for Soccer matches by the same program.
I have compared each line, both look identical to me (except for the times).
Anybody??
Kind Regards
OzPunter
This problem is driving me nuts. Its taken ages to nail down the problem so if anyone can tell me what is wrong with this request I'd very much appreciate it
This request Fails:
Param{"filter":{"marketBettingTypes":["ODDS"],"marketTypeCodes":["CORRECT_SCORE"],
"marketStartTime":{"from":"2015-01-04T22:31:00.000Z","to":"2015-01-05T02:31:00.000Z"},
"eventTypeIds":["1"]},"maxResults":1000,"marketProjection":["COMPETITION","EVENT","MARKET_START_TIME","RUNNER_ DESCRIPTION"],
"sort":"FIRST_TO_START"},"id":"1","jsonrpc":"2 .0"}
Error=HTTP/1.1 400 Bad Request
and this request succeeds
Param{"filter":{"marketBettingTypes":["ODDS"],"marketTypeCodes":["CORRECT_SCORE"],
"marketStartTime":{"from":"2015-01-04T23:07:00.000Z","to":"2015-01-05T03:07:00.000Z"},
"eventTypeIds":["1"]},"maxResults":1000,"marketProjection":["COMPETITION","EVENT","MARKET_START_TIME","RUNNER_ DESCRIPTION"],
"sort":"FIRST_TO_START"},"id":"1","jsonrpc":"2 .0"}
What exactly is wrong with the first request?
These requests are sent every five minutes,
they are both sent to ListMarketCatalogue for Soccer matches by the same program.
I have compared each line, both look identical to me (except for the times).
Anybody??
Kind Regards
OzPunter


Comment