FxHubPartnersApi

<back to all web services

GetClientCashBalance

Requires Authentication
The following routes are available for this service:
GET/cash_balance/{Id}
GetClientCashBalance Parameters:
NameParameterData TypeRequiredDescription
IdpathintNo
GetClientCashBalanceResponse 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 .jsv suffix or ?format=jsv

HTTP + JSV

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

GET /cash_balance/{Id} HTTP/1.1 
Host: api.fxlink.co.za 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
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
		}
	]
}