201Successful Response
Schema: SuccessEnvelope_AccountingDimensionResponse_
successbooleanmessagestringcodestringdataAccountingDimensionResponse
/api/v1/accounting-dimensionsCreate a new accounting dimension.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: AccountingDimensionCreateRequest
dimension_typestringrequiredEither 'class' or 'location'.
One of: class, location
namestringrequiredcodestringparent_idstringOptional parent dimension (for sub-classes/locations).
Schema: SuccessEnvelope_AccountingDimensionResponse_
successbooleanmessagestringcodestringdataAccountingDimensionResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject