FxHubPartnersApi

<back to all web services

GetPartnerCashBalance

Requires Authentication
The following routes are available for this service:
GET/cash_balance/partners/{Id}
GetPartnerCashBalance Parameters:
NameParameterData TypeRequiredDescription
IdpathintNo
GetPartnerCashBalanceResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformList<CashBalances>No
CashBalances Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
ClientIdformintNo
FirstLastNameformstringNo
PartnerIdformintNo
PartnerNameformstringNo
CifNumberformstringNo
AccountNumberformstringNo
AccountCurrencyformstringNo
CurrentBalanceformdecimalNo
InputDateformDateTimeNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /cash_balance/partners/{Id} HTTP/1.1 
Host: api.fxlink.co.za 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"result":[{"id":0,"clientId":0,"firstLastName":"String","partnerId":0,"partnerName":"String","cifNumber":"String","accountNumber":"String","accountCurrency":"String","currentBalance":0,"inputDate":"0001-01-01"}]}