v1

latestOpenAPI 3.1.12026-07-24260246894.7 KB
Cost Centers

Partial update cost center

Endpoint for partially updating an existing cost center.

patch/cost-centers/{id}/

Path parameters

idstring required

Headers

X-Wafeq-Idempotency-Keystring

Client-provided UUID to uniquely identify a request

Request body

created_tsstring date-time

The timestamp in UTC when the cost center was created

idstring

The unique identifier of the cost center.

is_activeboolean

Indicates whether the cost center is currently active or inactive.

legacy_idstring

[Deprecated] The legacy identifier of the cost center.

modified_tsstring date-time

The timestamp in UTC when the cost center was last modified

name_arstring

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

name_enstring

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.