Description
Search for accounts matching criteria
Security
Logged in user has account API permissions
URL
Parameters
- code: [string, optional] search for account by code
- activeOnly: [Boolean, optional] restrict list to active accounts; defaults to
false
- clientId: [Integer, optional] search for account by client id
- system: [String, optional] restrict list to accounts in specified system. One of
(case insensitive):
- FixedLoan
- Dealer
- CallSavings
- VariableLoan
- Deposit
- Insurer
- Lease
- UnitFund
- openOnly: [Boolean, optional] restrict list to open accounts; defaults to
false
Response
AccountOverviewDto
| Field | Type | Description |
| id | Integer | The account ID |
| code | String | The account code |
| accountDetailsLink | Link | URL for the account details |
primaryClientLink | Link | URL for the primary client details |
active | Boolean | True if the account is active |
currentBalance | Number | The balance of the account current ledger |
system | String | The module of the account |
Example
{
"id": 0,
"code": "string",
"active": true,
"currentBalance": 0,
"system": "string",
"accountDetailsLink": {
"description":
"string",
"url": "string"
},
"primaryClientLink": {
"description":
"string",
"url": "string"
}
}
Error Codes
| HTTP Status Code | Type |
| 200 | OK (Success) |
| 204 | No Content (no records match the search) |
400 | Bad Request (request format error) |
| 401 | Unauthorised (not Authenticated) |
| 403 | Forbidden (invalid Authorisation) |
| 503 | Service Unavailable (due to maintenance)
|
Online Documentation