Skip to content
campaiDeveloper
campai.com

Finance · Accounting

POST/{organizationId}/finance/accounting/accountingPlan/regionBooking

Update sphere booking

Sets how a chart of accounts with spheres (SKR42) books them: combined with the cost center in cost center 1, whose first digit is the sphere, or separately with only the sphere in cost center 1 and the cost center in cost center 2. Existing bookings stay as they are

Permissions

Send an API key of the organization in the path, using the X-API-Key header.

Permission checks in detail
Required permissions
  • accountingPlan.edit

Request

Path parameters

  • organizationIdidrequired

Body

Content-Type: application/json

  • regionBookingstringrequired
    combined separate
Request
curl --fail-with-body --silent --show-error --max-time 30 --globoff \
  --request POST 'https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/finance/accounting/accountingPlan/regionBooking' \
  --header 'X-API-Key: YOUR_API_KEY'

No request that worked has been recorded yet, so the body is not shown.

Response

200 Successful response

No response body is specified.

Errors

No errors of its own are known for this endpoint.

Errors nearly every request can meet are listed under Errors.