API Search endpoints…⌘K

Retrieve client accounts overview

GET/lokta-lms/api/v1/clients/{clientId}/accounts

An 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 · required

clientId

Responses

200OK
400Bad Request

Response fields

loanAccountsarray of GetClientsLoanAccounts · optional
savingsAccountsarray of GetClientsSavingsAccounts · optional
workingCapitalLoanAccountsarray of GetClientsWorkingCapitalLoanAccounts · optional

Every 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.