Issue:
I always get error -32601 "Method not found" when ever I call placeOrders using my live appKey.
I just can't work out whats wrong.
The live appKey is Active (according to Accounts API demo tool).
I'm setting the headers the same as I do for my other method calls.
Happens with calls to both UK and AUS Exchange addresses
Response:
Request:
Any advice is appreciated
I always get error -32601 "Method not found" when ever I call placeOrders using my live appKey.
I just can't work out whats wrong.
The live appKey is Active (according to Accounts API demo tool).
I'm setting the headers the same as I do for my other method calls.
Happens with calls to both UK and AUS Exchange addresses
Response:
Code:
{"jsonrpc":"2.0","error":{"code":-32601,"message":"DSC-0021"},"id":1}
Code:
{
"jsonrpc": "2.0",
"method": "SportsAPING/v1.0/placeOrders",
"params": {
"marketId": "1.125181179",
"instructions": [
{
"orderType": "LIMIT",
"selectionId": 11271289,
"handicap": 0.0,
"side": "LAY",
"limitOrder": {
"size": 0.83,
"price": 200.0,
"persistenceType": "LAPSE"
}
},
{
"orderType": "LIMIT",
"selectionId": 11271289,
"handicap": 0.0,
"side": "LAY",
"limitOrder": {
"size": 7.8,
"price": 220.0,
"persistenceType": "LAPSE"
}
}
],
"customerRef": "575934534567f01203f3"
},
"id": 1
}



Comment