curl --request GET \
--url http://localhost:3001/v1/cost-center \
--header 'Authorization: Bearer <token>'{
"data": [
{
"code": "<string>",
"name": "<string>",
"type": "<string>",
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"meta": {
"page": 123,
"take": 123,
"itemCount": 123,
"pageCount": 123,
"hasPreviousPage": true,
"hasNextPage": true
}
}Get a paginated list of cost centers for the organization.
curl --request GET \
--url http://localhost:3001/v1/cost-center \
--header 'Authorization: Bearer <token>'{
"data": [
{
"code": "<string>",
"name": "<string>",
"type": "<string>",
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"meta": {
"page": 123,
"take": 123,
"itemCount": 123,
"pageCount": 123,
"hasPreviousPage": true,
"hasNextPage": true
}
}Documentation Index
Fetch the complete documentation index at: https://docs.ibana.io/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Choose between ascending and descending order.
ASC, DESC Specify the number of the page you want to retrieve.
x >= 1Specify the number of items you want to retrieve per page.
1 <= x <= 100The search term to look for in the cost center list (searches code and name).
Filter by cost center type.
KOST1, KOST2, KOST3, KOST4 Specify the field you want to order by.
Choose between ascending and descending order.
Was this page helpful?