FxHubPartnersApi

<back to all web services

GetAllCashBalance

Requires Authentication
The following routes are available for this service:
GET/cash_balance/all
GetAllCashBalanceResponse 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 .xml suffix or ?format=xml

HTTP + XML

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

GET /cash_balance/all HTTP/1.1 
Host: api.fxhub.co.za 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetAllCashBalanceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FxHubPartnersApi.ServiceModel">
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/FxHubPartnersApi.ServiceModel.Types">
    <d2p1:CashBalances>
      <d2p1:AccountCurrency>String</d2p1:AccountCurrency>
      <d2p1:AccountNumber>String</d2p1:AccountNumber>
      <d2p1:CifNumber>String</d2p1:CifNumber>
      <d2p1:ClientId>0</d2p1:ClientId>
      <d2p1:CurrentBalance>0</d2p1:CurrentBalance>
      <d2p1:FirstLastName>String</d2p1:FirstLastName>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:InputDate>0001-01-01T00:00:00</d2p1:InputDate>
      <d2p1:PartnerId>0</d2p1:PartnerId>
      <d2p1:PartnerName>String</d2p1:PartnerName>
    </d2p1:CashBalances>
  </Result>
</GetAllCashBalanceResponse>