List GL classifications
Changed onReturns a list of GL classifications. For further details on Pagination, see the section above.
Request
- Base URLhttps://api.atlar.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Identifies the kind of ERP-specific classification. This is a free string, stored as the ERP reports it:
- NetSuite built-in classifications are CLASS, DEPARTMENT and LOCATION.
- NetSuite custom segments use the raw field key, for example cseg_region.
- Business Central uses the dimension code.
Only include classifications of the specified type.
Unique resource identifier.
Filter to classifications applicable to the given GL entity (i.e. with no GL entities, or referencing this one).
Filter to classifications whose name contains the given substring (case-insensitive). Must be at least 3 characters.
Only include classifications with the given inactive state. Omit to include both.
Limit the number of items in resulting query response.
If a query response contains a non-empty nextToken, use that value as token query parameter to continue pagination.
Response
A list of GL classifications.
Example response
{
"items": [
{
"id": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8",
"organizationId": "0160f6ab-5741-49e1-af46-9138927e547e",
"thirdPartyId": "9a8b1372-5c80-44a5-81a9-553a34041eb7",
"type": {
"type": "cseg_region",
"name": "Class",
"fieldKey": "cseg_region"
},
"name": "EMEA Sales",
"version": 1,
"etag": "version:3",
"created": "2022-05-04T18:31:12.889104898Z",
"updated": "2022-05-04T18:47:32.213842599Z"
}
],
"nextToken": "eyIxIjogIlRoaXMgaXMgYSBkdW1teSBwYWdpbmF0aW9uIHRva2VuLiJ9",
"token": "eyIwIjogIlRoaXMgaXMgYSBkdW1teSBwYWdpbmF0aW9uIHRva2VuLiJ9",
"limit": 100
}Changes
- info
endpoint added
- info