I've just noticed that, when calling listMarketCatalogue, to get, for example Horse Races, all of the times returned, e.g marketStartTime, and, if requested, suspendTime, marketTime etc are returned as GMT.
For example with a call to listMarketCatalogue with the params:
{"sort":"FIRST_TO_START","marketProjection":["MARKET_START_TIME","RUNNER_DESCRIPTION"],"maxResults":15,"filter":{"eventI
ds":["27021640"]}}
The data returned for the 14:15 Race at Brighton this afternoon
[{"marketId":"1.109730208","marketName":"6f Mdn Stks","marketStartTime":"2013-06-10T13:15:00.000Z","runners":[{"selectio
nId":7259777,"sortPriority":1,"handicap":0.0,"runn erName":"Stepping Out"},{"selectionId":7267834,"sortPriority":2,"han di
cap":0.0,"runnerName":"Senorita Guest"},{"selectionId":7238086,"sortPriority":3,"h andicap":0.0,"runnerName":"Al Baz"},{"
selectionId":7336344,"sortPriority":4,"handicap":0 .0,"runnerName":"G Man"}]}]
whereas in the old API, at this time of year, I would get the times returned in BST, presumably based on my Account Settings?
is there, or will there be in the production version, any way of getting location-specific times, or should we always expect to have to adjust the times in our clients.
Another (related) point, I did wonder whether setting the locale param would return locale-specific times. I tried {"locale":"GB"} and {"locale":"UK"}, but both caused exceptions. Is there a list of acceptable locales somewhere?
For example with a call to listMarketCatalogue with the params:
{"sort":"FIRST_TO_START","marketProjection":["MARKET_START_TIME","RUNNER_DESCRIPTION"],"maxResults":15,"filter":{"eventI
ds":["27021640"]}}
The data returned for the 14:15 Race at Brighton this afternoon
[{"marketId":"1.109730208","marketName":"6f Mdn Stks","marketStartTime":"2013-06-10T13:15:00.000Z","runners":[{"selectio
nId":7259777,"sortPriority":1,"handicap":0.0,"runn erName":"Stepping Out"},{"selectionId":7267834,"sortPriority":2,"han di
cap":0.0,"runnerName":"Senorita Guest"},{"selectionId":7238086,"sortPriority":3,"h andicap":0.0,"runnerName":"Al Baz"},{"
selectionId":7336344,"sortPriority":4,"handicap":0 .0,"runnerName":"G Man"}]}]
whereas in the old API, at this time of year, I would get the times returned in BST, presumably based on my Account Settings?
is there, or will there be in the production version, any way of getting location-specific times, or should we always expect to have to adjust the times in our clients.
Another (related) point, I did wonder whether setting the locale param would return locale-specific times. I tried {"locale":"GB"} and {"locale":"UK"}, but both caused exceptions. Is there a list of acceptable locales somewhere?


Comment