v2

OpenAPI 3.0.12026-08-0174115357.9 KB
Request

Answer approval

This method enables a user to Approve or Decline an approval on a customer request. The approval is assumed to be owned by the user making the call.

Permissions required: User is assigned to the approval request.

post/rest/servicedeskapi/request/{issueIdOrKey}/approval/{approvalId}

Path parameters

issueIdOrKeystring required

The ID or key of the customer request to be updated.

approvalIdinteger required

The ID of the approval to be updated.

Request body

decision'approve' | 'decline'

Response to the approval request.

Response

Returns the updated approval.

canAnswerApprovalboolean

Indicates whether the user making the request is one of the approvers and can respond to the approval (true) or not (false).

finalDecision'approved' | 'declined' | 'pending'

Outcome of the approval, based on the approvals provided by all approvers.

idstring

ID of the approval.

namestring

Description of the approval being sought or provided.