List Ledger Account Categories
Changed onRequest
- Base URLhttps://app.moderntreasury.com/api
- URLhttps://app.moderntreasury.com/api/ledger_account_categories
- AuthHTTP basic
Query parameters
If you have specific IDs to retrieve in bulk, you can pass them as query parameters delimited with id[]=, for example ?id[]=123&id[]=abc.
If you have specific names to retrieve in bulk, you can pass them as query parameters delimited with name[]=, for example ?name[]=my-category&name[]=your-category. Partial match here is enabled.
Query categories that are nested underneath a parent category
Query categories which contain a Ledger Account or contain other categories which contain the Ledger Account.
For example, if you want the balances as of a particular time (ISO8601), the encoded query string would be balances%5Beffective_at%5D=2000-12-31T12:00:00Z. The balances as of a time are inclusive of entries with that exact time, but with respect to the ledger accounts that are currently present in the category.
Use gt (>), gte (>=), lt (<), lte (<=), eq (=), or not_eq (!=) to filter by the current balance amount.
Note: The balances utilized for filtering are eventually consistent, and there may be a delay in reflecting the most recent Ledger Entries written to a Ledger Account Category.
Use gt (>), gte (>=), lt (<), lte (<=), eq (=), or not_eq (!=) to filter by the current balance amount.
Note: The balances utilized for filtering are eventually consistent, and there may be a delay in reflecting the most recent Ledger Entries written to a Ledger Account Category.
Use gt (>), gte (>=), lt (<), lte (<=), eq (=), or not_eq (!=) to filter by the current balance amount.
Note: The balances utilized for filtering are eventually consistent, and there may be a delay in reflecting the most recent Ledger Entries written to a Ledger Account Category.
To query ledger account categories by the external_id, use this query parameter.
For example, if you want to query for records with metadata key Type and value Loan, the query would be metadata%5BType%5D=Loan. This encodes the query parameters.
Response
200
Changes
- warning
deleted the
queryrequest parametername - info
added the new optional
queryrequest parametername
- warning