v2

OpenAPI 3.0.12026-08-0174115357.9 KB
Request

Get approval by id

This method returns an approval. Use this method to determine the status of an approval and the list of approvers.

Permissions required: Permission to view the customer request.

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

Path parameters

issueIdOrKeystring required

The ID or key of the customer request the approval is on.

approvalIdinteger required

The ID of the approval to be returned.

Response

Returns the requested 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.