Upsert managerial bucket assignments for GL accounts

PUT/api/v1/businesses/{business_id}/cfo-portal/recipe-book/managerial-mappings

Save bucket assignments edited on the Recipe Book page.

The response is the refreshed Recipe Book section so the frontend can swap state in one round-trip without a follow-up GET.

Operation ID: cfo_portal_upsert_managerial_mappings_api_v1_businesses__business_id__cfo_portal_recipe_book_managerial_mappings_put·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

business_idstringrequired

Request body

mappingsarray · ManagerialMappingItemManagerialMappingItem
2 fields
ledger_idstringrequired
bucketstring

Responses

200Successful Response

successboolean
messagestring
codestring
dataCfoPortalSectionResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject