Create an approval section
Creates a new approval section on the organization. The type field is mandatory and must be either DEPARTMENT or DIMENSION. Only one DEPARTMENT section is allowed per organization; DIMENSION sections require a customDimensionDefinition.id. The request must not include an id. The organizationId path parameter supports both the Findity id and the partner-side externalId.
POST
/
organizations
/
{organizationId}
/
approval
/
sections
curl --request POST \
--url https://stage-api.findity.com/api/v1/admin/organizations/{organizationId}/approval/sections \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "DEPARTMENT",
"active": true,
"sortOrder": 0,
"sendToUnauthorizedApprovers": false,
"numberOfRequiredApprovals": 2
}
'{
"id": "abcdd5f401cf43549a688045b5ceef9b",
"active": true,
"type": "DEPARTMENT",
"numberOfRequiredApprovals": 2,
"sendToUnauthorizedApprovers": false,
"sortOrder": 0
}Authorizations
Path Parameters
Body
application/json
Request body for creating a new approval section.
Response
Approval section successfully created
A single approval section — either based on organizational units (DEPARTMENT) or on a custom dimension (DIMENSION).
Custom dimension the section is bound to. Present only when type is DIMENSION.
Was this page helpful?
⌘I
curl --request POST \
--url https://stage-api.findity.com/api/v1/admin/organizations/{organizationId}/approval/sections \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "DEPARTMENT",
"active": true,
"sortOrder": 0,
"sendToUnauthorizedApprovers": false,
"numberOfRequiredApprovals": 2
}
'{
"id": "abcdd5f401cf43549a688045b5ceef9b",
"active": true,
"type": "DEPARTMENT",
"numberOfRequiredApprovals": 2,
"sendToUnauthorizedApprovers": false,
"sortOrder": 0
}
