Hello,
I'm using Python and API-NG to place a bet using the below request, but even though response is 200 (OK), the response text is:
response text: {"jsonrpc":"2.0","error":{"code":-32602,"message":"DSC-0018"},"id":1}
and, of course, my bet isn't placed.
This is my request:
'{"method": "SportsAPING/v1.0/placeOrders", "params": {"customerRef": "bbeeOrder", "instructions": {"1.112173851": [{"limitOrder": {"price": "1.37", "size": "2.0", "persistenceType": "LAPSE"}, "selectionId": "18", "side": "BACK", "orderType": "LIMIT"}]}, "marketId": "1.112173851"}, "jsonrpc": "2.0", "id": 1}'
Can you please tell me what am I doing wrong ?
Thanks in advance.
M.
I'm using Python and API-NG to place a bet using the below request, but even though response is 200 (OK), the response text is:
response text: {"jsonrpc":"2.0","error":{"code":-32602,"message":"DSC-0018"},"id":1}
and, of course, my bet isn't placed.
This is my request:
'{"method": "SportsAPING/v1.0/placeOrders", "params": {"customerRef": "bbeeOrder", "instructions": {"1.112173851": [{"limitOrder": {"price": "1.37", "size": "2.0", "persistenceType": "LAPSE"}, "selectionId": "18", "side": "BACK", "orderType": "LIMIT"}]}, "marketId": "1.112173851"}, "jsonrpc": "2.0", "id": 1}'
Can you please tell me what am I doing wrong ?
Thanks in advance.
M.


Comment