curl --request PATCH \
--url https://staging.api.us.aptlydone.com/decision/v1/delegations/bulk-reassign-recipients \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tenantId": "123e4567-e89b-12d3-a456-426614174000",
"delegationIds": [
"123e4567-e89b-12d3-a456-426614174001",
"123e4567-e89b-12d3-a456-426614174002"
],
"recipientType": "PERSONNEL_IN_POSITION",
"delegationRecipients": [
{
"recipientUserId": "485fa115-52d0-4466-baff-740447a60774",
"recipientPositionId": "14f5a115-52d0-4466-baff-740447a60774",
"isInvalid": false
}
],
"recipientAutoIssue": false
}
'curl --request PATCH \
--url https://staging.api.us.aptlydone.com/decision/v1/delegations/bulk-reassign-recipients \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tenantId": "123e4567-e89b-12d3-a456-426614174000",
"delegationIds": [
"123e4567-e89b-12d3-a456-426614174001",
"123e4567-e89b-12d3-a456-426614174002"
],
"recipientType": "PERSONNEL_IN_POSITION",
"delegationRecipients": [
{
"recipientUserId": "485fa115-52d0-4466-baff-740447a60774",
"recipientPositionId": "14f5a115-52d0-4466-baff-740447a60774",
"isInvalid": false
}
],
"recipientAutoIssue": false
}
'Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Tenant ID
"123e4567-e89b-12d3-a456-426614174000"
Array of delegation IDs to reassign recipients to
[
"123e4567-e89b-12d3-a456-426614174001",
"123e4567-e89b-12d3-a456-426614174002"
]Delegation recipient type
"PERSONNEL_IN_POSITION"
Delegation Recipients
1Show child attributes
Auto Issue option for Delegation recipient of type PERSONNEL_IN_POSITION
false
Recipients are being reassigned to delegations