Announcement

Collapse
No announcement yet.

Get Account Statement

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • AndyMcG
    replied
    Thanks for your response and suggestion, according to the documentation:

    recordCount - Specifies the maximum number of records to be returned. Note that there is a page size limit of 100. A value of zero indicates that you would like all records up to the limit. If not specified then it will default to the page limit size.
    However I did retry the "Rescript" request with recordCount > 0 and still received the same response.

    Leave a comment:


  • betdynamics
    replied
    In your rescript example you have told it to return zero records ("recordCount" : 0) haven't you?

    That doesn't feature in the example you have posted for the JSON-RPC

    Leave a comment:


  • AndyMcG
    started a topic Get Account Statement

    Get Account Statement

    Hello,

    I've been trying to access the new getAccountStatement service using the "Rescript" API but it doesn't appear to be working. Here's the content of my POST request:

    Code:
    URL: https://api.betfair.com/exchange/account/rest/v1.0/getAccountStatement
    Content: {"recordCount": 0, "locale": "en_US", "fromRecord": 0, "includeItem": "ALL", "itemDateRange": {}, "wallet": "UK"}
    The Server responds with the following:

    Code:
    Status Code: 404
    Response Body: {"detail": {}, "faultcode": "Client", "faultstring": "DSC-0021"}
    I have managed to get a call to getAccountStatement working with the JSON-RPC API using the following POST request:

    Code:
    URL: https://api.betfair.com/exchange/account/json-rpc/v1 
    Content: {"id": 1, "method": "AccountAPING/v1.0/getAccountStatement", "params": {"locale": "en_US", "includeItem": "ALL", "itemDateRange": {}, "wallet": "UK"}, "jsonrpc": "2.0"}
    Has anyone managed to get the "Rescript" API working?

    Cheers

    Andy
    Last edited by AndyMcG; 29-04-2014, 11:24 PM. Reason: Removed URL formatting
Working...
X