curl --request POST \
--url http://localhost:3001/v1/cost-center \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"code": "<string>",
"name": "<string>",
"type": "<string>"
}
'{
"code": "<string>",
"name": "<string>",
"type": "<string>",
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}Create a new cost center.
curl --request POST \
--url http://localhost:3001/v1/cost-center \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"code": "<string>",
"name": "<string>",
"type": "<string>"
}
'{
"code": "<string>",
"name": "<string>",
"type": "<string>",
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}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.
Code of the cost center
Name of the cost center
Type of the cost center (KOST 1, KOST 2)
The unique identifier of the entity.
The date and time the entity was created.
The date and time the entity was last updated.
Was this page helpful?