GL Entities
Create entity
Changed onCreate a new GL entity.
post/accounting/v2beta/gl-entities
Request
- Base URLhttps://api.atlar.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"currency": "EUR",
"externalId": "walVNuin6X5Mvte4xhg1ibTAVSACfN4Q9hl",
"name": "Acme Inc."
}Response
The created GL entity.
Example response
{
"currency": "EUR",
"id": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8",
"externalId": "walVNuin6X5Mvte4xhg1ibTAVSACfN4Q9hl",
"organizationId": "0160f6ab-5741-49e1-af46-9138927e547e",
"entityId": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8",
"name": "Acme Corporation",
"version": 1,
"etag": "version:3",
"created": "2022-05-04T18:31:12.889104898Z",
"updated": "2022-05-04T18:47:32.213842599Z"
}Changes
- breaking
the
request property's minItems was increased to1 - warning
removed the request property
- warning
removed the optional property
from the response with the status - info
the security scope
connections:readwas added to the endpoint's security schemebasicAuth - info
the
request property's maxLength was increased from64to255 - info
added the optional property
//to the response with the status
- breaking