GET
/
v1
/
cost-center
/
{id}
Get cost center
curl --request GET \
  --url http://localhost:3001/v1/cost-center/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "code": "<string>",
  "name": "<string>",
  "type": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Cost Center ID

Response

200 - application/json

The response is of type object.