ListMarketBook - help with proper request

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tram
    Junior Member
    • May 2021
    • 2

    #1

    ListMarketBook - help with proper request

    I am going to get data for some markets
    first i call listMarketCatalogue and then to get more data - ListMarketBook (with passing necessary markets IDs)
    and for the second call get the error: {"faultcode":"Client","faultstring":"DSC-0018","detail":{}}

    post data for the first call:

    {"filter":{"eventTypeIds":["7"],"marketCountries":["GB","IE"],"marketTypeCodes":["WIN","PLACE"],"marketStartTime":{"from":"2021-11-29T10:31:53.8951346+01:00","to":"2021-11-30T00:00:00+01:00"}},"marketProjection":["MARKET_DESCRIPTION","EVENT"],"sort":"FIRST_TO_START","maxResults":"200","local e":"en"}}



    post data for the second call:
    {"filter":{"marketIds":["1.191604063","1.191604062","1.191604773","1.19160 4772","1.191604068","1.191604067","1.191604777","1 .191604778","1.191604072","1.191604073","1.1916047 83","1.191604782","1.191604078","1.191604077","1.1 91604788","1.191604787","1.191604082","1.191604083 ","1.191604792","1.191604793","1.191604088","1.191 604087","1.191604798","1.191604797","1.191604093", "1.191604092","1.191604485","1.191604484","1.19160 4097","1.191604098","1.191604489","1.191604490","1 .191604495","1.191604494","1.191604500","1.1916044 99","1.191604504","1.191604505","1.191604510","1.1 91604509","1.191604515","1.191604514","1.191604519 ","1.191604520"]}}}

    could anybody hint where i am mistaken?




  • WTPooh
    Member
    • May 2012
    • 88

    #2
    Remove one closing curly brace.

    Comment

    Working...
    X