listMarketBook throws errorCode: TOO_MUCH_DATA

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • squirrd.
    Junior Member
    • Jan 2014
    • 2

    #1

    listMarketBook throws errorCode: TOO_MUCH_DATA

    Hi
    Is it possible to request more than 100 marketId's in a listMarketBook request? The documentation implies that it is possible.

    Whenever I request more than 100 marketId's I receive the errorCode: TOO_MUCH_DATA. I am sure it is to do with my request not disabling Price Projections correctly but I have tried various combinations of requests and still receive the TOO_MUCH_DATA error.

    Is there anybody using listMarketBook for more than 100 marketId's in 1 request? Can anybody supply a code snippet (java preferably) or a jsonrpc request example that works? Or any other hints?

    Example jsonrpc request:
    Request: {"jsonrpc":"2.0","method":"SportsAPING/v1.0/listMarketBook","id":"1","params":{"priceProjectio n":{"exBestOfferOverRides":{"bestPricesDepth":0,"r ollupLimit":0,"rollupLiabilityThreshold":0.0,"roll upLiabilityFactor":0},"virtualise":false,"rollover Stakes":false},"locale":"en_AU","marketIds":["1.112400956","1.112400983","1.112426912","1.11242 8831", .... <<100+ Ids>>

    Thanks
  • squirrd.
    Junior Member
    • Jan 2014
    • 2

    #2
    I have implemented the call to listMarketBook using 100 markeId's at a time, but would still be interested to know if anybody has been able to place more id's in a call without it producing an error.

    Cheers

    Comment

    Working...
    X