cURL
curl -X GET \ /accounting/cost-centres \ --header "Authorization: Bearer <token>"
{ "data": [ { "name": "Cost Centre", "type": "KOST1", "status": "active", "id": "ad8f1c9c-4f0a-4e1a-8b1a-9c4d9c4d9c4d", "code": "CC", "createdAt": "2021-01-01T00:00:00+00:00", "updatedAt": "2021-01-01T00:00:00+00:00" } ], "meta": { "pagination": { "totalItems": 123, "itemsPerPage": 123, "currentPage": 123, "lastPage": 123, "pageTotalItems": 123 } } }
Get all cost centres
cost-centre:read
Value for the Authorization header parameter.
The collection page number
The number of items per page
0 <= x <= 100
CostCentre collection
Show child attributes
Was this page helpful?