v1

latestOpenAPI 3.0.02026-07-24161168406.5 KB
Cost Center
Cost Center

Create a new cost center

Creates a new cost center with the provided data.

Business Rules:

• External code must be unique within the company

• Name is required and must not exceed 255 characters

• External code is required and must not exceed 100 characters

• Description is optional and must not exceed 1000 characters

post/os/v1/cost-centers

Request body

namestring required

cost center name

externalCodestring required

cost center external code

descriptionstring required

cost center description

Example request

{
  "name": "CC-001",
  "externalCode": "HR-F98",
  "description": "RH Cost Center"
}

Response

Cost center successfully created

pathstring required

Request path

durationstring required

Request duration

method'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' required

HTTP method used