I am trying to list the events given some parameters:
Here is what I execute (using the API tool, and the response)
Now, if I do this in my application:
I get nothing!! Yes I am logged in.
Why!??!
Here is what I execute (using the API tool, and the response)
Code:
Request data:
[{"jsonrpc": "2.0", "method": "SportsAPING/v1.0/listEvents", "params": {"filter":{"eventTypeIds":["7"],"marketCountries":["GB"],"marketTypeCodes":["PLACE"]}}, "id": 1}]
Controller.js?_dc=1444582376801:686 Response truncated to 4,000 chars:
[{"jsonrpc":"2.0","result":[{"event":{"id":"27566984","name":"Wind 12th Oct","countryCode":"GB","timezone":"Europe/London","venue":"Windsor","openDate":"2015-10-12T13:00:00.000Z"},"marketCount":8},{"event":{"id":"27566968","name":"Salis 12th Oct","countryCode":"GB","timezone":"Europe/London","venue":"Salisbury","openDate":"2015-10-12T12:50:00.000Z"},"marketCount":8},{"event":{"id":"27567030","name":"Sedge 12th Oct","countryCode":"GB","timezone":"Europe/London","venue":"Sedgefield","openDate":"2015-10-12T13:10:00.000Z"},"marketCount":7}],"id":1}]
Now, if I do this in my application:
Code:
Calling: SportsAPING/v1.0/listEvents With args: {"filter":{"eventTypeIds":["7"],"marketCountries":["GB"],"marketTypeCodes":["PLACE"]}}
Got Response: {"jsonrpc":"2.0","result":[{},{},{}],"id":1}
I get nothing!! Yes I am logged in.
Why!??!


Comment