Forums

Developers

Welcome to Live View – Take the tour to learn more
Start Tour
There is currently 1 person viewing this thread.
Shlodge
26 Apr 14 09:07
Joined:
Date Joined: 08 Dec 05
| Topic/replies: 3 | Blogger: Shlodge's blog
Hi,

I am currently developing my bot. I am using the cancel statement as per below.

{"jsonrpc": "2.0", "method": "SportsAPING/v1.0/cancelOrders", "params": {"marketId":"1.113423327"}, "id": 1}}

Previously, when this is done, it returned the "Bet ID" and "Size Cancelled" for each individual bet. However, it appears the code has changed and this is no longer returned.

This is the result I have now
{"jsonrpc":"2.0","result":{"status":"SUCCESS","marketId":"1.113423327","instructionReports":[]},"id":1}

Can someone please confirm this is the case, as I would need to change my coding. FYI, It will be good to know "the total amount" that is cancelled when I execute such an instruction.

Thanks,

Shlodge
Share |
Pause Switch to Standard View Bet Cancellation - has the API-NG...
Show More
Loading...
Report Shlodge April 26, 2014 9:19 AM BST
Please ignore the above. I have re-run my instructions and it is resolved.

I think it may be because I am too tired.... :-)
Post Your Reply
<CTRL+Enter> to submit
Please login to post a reply.

Wonder

Instance ID: 13539
www.betfair.com

New to Betfair?

You need to open an account before you can add content to the forum.

Opening an account only takes a few minutes.

register now