Retrieve an allocation
Returns a single allocation. Requires ReadOnly role and the allocations feature on your company’s plan.
Authentication
AuthorizationBearer
A short-lived access token from POST /api/v1/access-token (30
minutes by default). Send as Authorization: Bearer <jwt>.
Path parameters
id
The allocation's unique identifier.
Response
Allocation retrieved.
id
The allocation's unique identifier.
companyId
The unique identifier of the company that owns the allocation.
type
The allocation type (e.g. ClassRef, DepartmentRef).
typeName
A human-readable name for the allocation type.
name
The allocation's display name.
fullyQualifiedName
The fully qualified name, including any parent hierarchy.
sourceId
The allocation’s identifier in your source system (e.g. QuickBooks).
parentId
The parent allocation's unique identifier, if any.
active
Whether the allocation is currently active.
status
The allocation's current status.
Allowed values:
createdAt
Unix timestamp (milliseconds) when the allocation was created.
updatedAt
Unix timestamp (milliseconds) when the allocation was last updated.
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error