Retrieve client accounts overview
GET
/lokta-lms/api/v1/clients/{clientId}/accountsAn example of how a loan portfolio summary can be provided. This is requested in a specific use case of the community application.
It is quite reasonable to add resources like this to simplify User Interface development.
Example Requests:
clients/1/accounts
clients/1/accounts?fields=loanAccounts,savingsAccounts
Path parameters
clientIdpath · integer · int64 · requiredclientId
Responses
200OK400Bad RequestResponse fields
loanAccountsarray of GetClientsLoanAccounts · optionalsavingsAccountsarray of GetClientsSavingsAccounts · optionalworkingCapitalLoanAccountsarray of GetClientsWorkingCapitalLoanAccounts · optionalEvery request authenticates with HTTP Basic and carries a Tenant-Identifier header. See the conventions for dates, commands, pagination and errors.
Open this operation in the interactive explorer, or read it as Markdown.