Create a new cost center

Creates a new cost center. Returns the API label of the created cost center. Responds with 409 if a cost center with the same API label already exists, or if the cost center could not be saved because of a concurrent change (safe to retry).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

The cost center's name

string
required

The cost center's API label: a unique free-text key within the tenant that identifies the cost center in this API. It cannot be changed after creation.

Headers
string
^s[1-9]\d*$

The site the request acts on, e.g. s2. You find it in the remberg web app URL (e.g. /s2/) or next to the site name under Settings → Sites. If your account has access to more than one site, send this header on every request; site-specific requests without it fail with 403 ACTIVE_SITE_UNAVAILABLE. With access to a single site, that site is used when the header is omitted. A site your account cannot access fails with 403 ACTIVE_SITE_UNAVAILABLE; a record that belongs to another site returns 404.

Responses

400

Bad Request

403

Forbidden

409

Duplicate cost center API label, or a concurrent change (safe to retry)

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json