Accounts API

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Burdett
    Junior Member
    • Sep 2012
    • 29

    #1

    Accounts API

    I need help on getting the actual Accounts API code. I'm sure the info is readily available - as I got the code for the Betting API some years ago with little difficulty, but can't seem to understand how to get the Accounts code into my visual studio environment. I want for example, to be able to make requests via the getAccountDetails components. I just need to import the library to be able to use it like I do for the Betting API transactions Please help.
  • Burdett
    Junior Member
    • Sep 2012
    • 29

    #2
    Furthermore, when placing a bet I use the code below:

    PlaceExecutionReport myExecutionReport = client.placeOrders(myBooks[0].MarketId, customerRef, placeInstructions);

    I was hoping the code would be similar for getting the balance:
    AccountFundsResponse MyFundsResponse = .................................but what code would go here?

    decimal myBalance = MyFundsResponse.AvailableToBetBalance;

    Comment

    Working...
    X