Skip to main content
POST
/
assignments
/
{id}
/
delegate
Error
A valid request URL is required to generate request examples
{
  "id": "<string>",
  "targetId": "<string>",
  "assigneeEmail": "<string>",
  "assignedBy": "<string>",
  "originatorEmail": "<string>",
  "attempts": [
    {
      "startedAt": "<string>",
      "chatLogId": "<string>",
      "completedAt": "<string>",
      "score": 123,
      "outcomeData": {},
      "note": "<string>"
    }
  ],
  "delegationChain": [
    "<string>"
  ],
  "targetVersion": "<string>",
  "targetTitle": "<string>",
  "originatorName": "<string>",
  "originatorMessage": "<string>",
  "dueAt": "<string>",
  "expiresAt": "<string>",
  "maxAttempts": 123,
  "cancelledAt": "<string>",
  "cancelledBy": "<string>",
  "cancellationReason": "<string>",
  "allowRejection": true,
  "rejectedAt": "<string>",
  "rejectedBy": "<string>",
  "rejectionReason": "<string>",
  "allowDelegation": true,
  "delegatedFrom": "<string>",
  "delegatedTo": "<string>",
  "delegationReason": "<string>",
  "reassignedFrom": "<string>",
  "scheduleId": "<string>",
  "lastReminderAt": "<string>",
  "remindersSent": 123,
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "createdBy": "<string>",
  "updatedBy": "<string>",
  "_ts": 123,
  "_etag": "<string>"
}

Authorizations

Authorization
string
header
required

Azure AD access token obtained via MSAL

Path Parameters

id
string
required

Body

application/json
toUpn
string
required

UPN of the user to delegate to

reason
string

Response

Successor assignment created for the delegate

id
string
required
targetType
enum<string>
required
Available options:
chat,
document,
survey
targetId
string
required
assigneeEmail
string
required
assignedBy
string
required
originatorEmail
string
required
completionCriteria
enum<string>
required
Available options:
chat_visited,
chat_engaged,
flow_started,
flow_completed,
flow_passed,
manual
attempts
object[]
required
status
enum<string>
required
Available options:
pending,
in_progress,
completed,
failed,
expired,
cancelled,
rejected,
delegated
delegationChain
string[]
required
targetVersion
string
targetTitle
string
originatorName
string
originatorMessage
string
dueAt
string
expiresAt
string
maxAttempts
integer
cancelledAt
string
cancelledBy
string
cancellationReason
string
allowRejection
boolean
rejectedAt
string
rejectedBy
string
rejectionReason
string
allowDelegation
boolean
delegatedFrom
string
delegatedTo
string
delegationReason
string
reassignedFrom
string
scheduleId
string
lastReminderAt
string
remindersSent
integer
createdAt
string
updatedAt
string
createdBy
string
updatedBy
string
_ts
number
_etag
string