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",
"recipientAutoIssue": false,
"delegationRecipients": [
{
"recipientUserId": "485fa115-52d0-4466-baff-740447a60774",
"recipientPositionId": "14f5a115-52d0-4466-baff-740447a60774",
"isInvalid": 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",
"recipientAutoIssue": false,
"delegationRecipients": [
{
"recipientUserId": "485fa115-52d0-4466-baff-740447a60774",
"recipientPositionId": "14f5a115-52d0-4466-baff-740447a60774",
"isInvalid": false
}
]
}'
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Recipients are being reassigned to delegations