Create a Client
/lokta-lms/api/v1/clientsCreates a client, the borrower record that loans are applied against.
Note:
1. You can enter either:firstname/middlename/lastname - for a person (middlename is optional) OR fullname - for a business or organisation (or person known by one name).
2.If address is enable(enable-address=true), then additional field called address has to be passed.
Mandatory Fields: firstname and lastname OR fullname, officeId, active=true and activationDate OR active=false, if(address enabled) address
Optional Fields: externalId, accountNo, staffId, mobileNo, genderId, clientTypeId, clientClassificationId
When to use it
Create the client before anything else. A loan application takes a clientId, so a borrower has to exist first.
Worth knowing
- Send firstname and lastname for a person, or fullname for a business or an organisation.
- Send active=true with an activationDate, or active=false.
- Send dateFormat and locale with every date. See the conventions page.
Request body application/json
activationDatestring · optionalactiveboolean · optionaladdressarray of ClientAddressRequest · optionalAddress requests
datatablesarray of PostClientsDatatable · optionalList of PostClientsDatatable
dateFormatstring · optionaldateOfBirthstring · date · optionalemailAddressstring · optionalexternalIdstring · optionalfirstnamestring · optionalfullnamestring · optionallastnamestring · optionallegalFormIdinteger · int64 · optionallocalestring · optionalmiddlenamestring · optionalmobileNostring · optionalofficeIdinteger · int64 · optionalsubmittedOnDatestring · optionalResponses
200OKResponse fields
clientIdinteger · int64 · optionalofficeIdinteger · int64 · optionalresourceExternalIdstring · optionalresourceIdinteger · int64 · 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.
This is the API reference for Lokta, the agentic loan servicing platform. Go to lokta.ai