Retrieve GL Accounts Template
/lokta-lms/api/v1/glaccounts/templateReturns 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 · optionaltype
Responses
200OKResponse fields
accountTypeOptionsarray of EnumOptionData · optionalallowedAssetsTagOptionsarray of CodeValueData · optionalallowedEquityTagOptionsarray of CodeValueData · optionalallowedExpensesTagOptionsarray of CodeValueData · optionalallowedIncomeTagOptionsarray of CodeValueData · optionalallowedLiabilitiesTagOptionsarray of CodeValueData · optionalassetHeaderAccountOptionsarray of GLAccountData · optionaldisabledboolean · optionalequityHeaderAccountOptionsarray of GLAccountData · optionalexpenseHeaderAccountOptionsarray of GLAccountData · optionalliabilityHeaderAccountOptionsarray of GLAccountData · optionalmanualEntriesAllowedboolean · optionaltypeEnumOptionData · optionalusageEnumOptionData · optionalusageOptionsarray of EnumOptionData · 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