v1

latestOpenAPI 3.1.12026-07-24260246894.7 KB
Cost Centers

Create cost center

Endpoint for creating a new cost center.

post/cost-centers/

Headers

X-Wafeq-Idempotency-Keystring

Client-provided UUID to uniquely identify a request

Request body

created_tsstring date-time required

The timestamp in UTC when the cost center was created

idstring required

The unique identifier of the cost center.

is_activeboolean required

Indicates whether the cost center is currently active or inactive.

legacy_idstring required

[Deprecated] The legacy identifier of the cost center.

modified_tsstring date-time required

The timestamp in UTC when the cost center was last modified

name_arstring required

The name of the cost center in Arabic, limited to 200 characters.

name_enstring required

The name of the cost center in English, limited to 200 characters.

Response

created_tsstring date-time required

The timestamp in UTC when the cost center was created

idstring required

The unique identifier of the cost center.

is_activeboolean required

Indicates whether the cost center is currently active or inactive.

legacy_idstring required

[Deprecated] The legacy identifier of the cost center.

modified_tsstring date-time required

The timestamp in UTC when the cost center was last modified

name_arstring required

The name of the cost center in Arabic, limited to 200 characters.

name_enstring required

The name of the cost center in English, limited to 200 characters.