Edara API v3

Edara API v3: Cost Centers

Read the guide first: authentication, paging, errors, rate limits and the shared PagedResult, BatchResult and *Reference shapes.

Endpoints

GET /v3/cost-centers: Lists cost centers.

Operation GetCostCenters · permission read:cost-center

Query string: GetCostCentersQuery

field type default validation description
offset int? 0 >= 0 Number of items to skip before returning results. Defaults to 0.
limit int? 100 1..1000 (out of range → 400) Maximum number of items to return. Defaults to 100, maximum 1000.

Responses: OK PagedResult<CostCenterResponse>: Paged list of cost centers.

Notes


GET /v3/cost-centers/{id}: Gets a cost center by id.

Operation GetCostCenterById · permission read:cost-center

Parameters

name in type default description
id route int The cost center id.

Responses: OK CostCenterResponse: The cost center.

Notes

Types

CostCenterResponse

Response describing a cost center.

field type description
id int The cost center identifier.
code string The cost center code.
description string The cost center description.
classificationCode string The classification code.