API Search endpoints…⌘K Get API credentialsGet access

Retrieve GL Accounts Template

GET/lokta-lms/api/v1/glaccounts/template

Returns the field defaults and allowed values for creating a general ledger account.

This is a convenience resource. It can be useful when building maintenance user interface screens for client applications. The template data returned consists of any or all of:

Field Defaults
Allowed Value Lists
Example Request:

glaccounts/template
glaccounts/template?type=1

type is optional and integer value from 1 to 5.

1.Assets
2.Liabilities
3.Equity
4.Income
5.Expenses

Query parameters

typequery · integer · int32 · optional

type

Responses

200OK

Response fields

accountTypeOptionsarray of EnumOptionData · optional
allowedAssetsTagOptionsarray of CodeValueData · optional
allowedEquityTagOptionsarray of CodeValueData · optional
allowedExpensesTagOptionsarray of CodeValueData · optional
allowedIncomeTagOptionsarray of CodeValueData · optional
allowedLiabilitiesTagOptionsarray of CodeValueData · optional
assetHeaderAccountOptionsarray of GLAccountData · optional
disabledboolean · optional
equityHeaderAccountOptionsarray of GLAccountData · optional
expenseHeaderAccountOptionsarray of GLAccountData · optional
liabilityHeaderAccountOptionsarray of GLAccountData · optional
manualEntriesAllowedboolean · optional
typeEnumOptionData · optional
usageEnumOptionData · optional
usageOptionsarray of EnumOptionData · 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.

This is the API reference for Lokta, the agentic loan servicing platform. Go to lokta.ai