Approval

Perform Hold action on an approval

Perform Hold action on an approval

put/approvals/{id}/hold

Request

  • Base URL
    https://r38.coupadev.com/api
  • Auth
    • OAuth 2
      Authorization codehttps://r38.coupadev.com/oauth2/authorizations/new
      Token URLhttps://r38.coupadev.com/oauth2/token
    • or OAuth 2
      Client credentials
      Token URLhttps://r38.coupadev.com/oauth2/access_tokens
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

idinteger required

Query parameters

return_object'limited' | 'shallow' | 'none'
filterstring

Request body

approvable-idinteger

The document ID that was approved

approvable-typestring string(255)

The document type that was approved (requisition, purchase order, etc)

approval-chain-idinteger

ID of the approval chain this approval is located in

approval-datestring datetime

The date the approval occurred

approverunknown
approver-idinteger

The user ID that made the approval

approver-typestring string(255)

The role of the approver

created-atstring datetime

Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ

delegateunknown
delegate-idstring string

The delegate ID that made the approval (if applicable)

delegatesApproval[] circular
holdableboolean

Hold the approval or not

idinteger

Coupa unique identifier

notestring text

Reason for approval or reject

parallel-group-namestring string(255)

Parallel Approval group identifier

positioninteger

The position in the approval chain this approval occurred

reasonsApprovalReason[]
statusstring string(50)

The status of the approval (approved, escalated, rejected, etc)

typestring string(255)

How the approval occured (override approval, approval chain approval, etc)

updated-atstring datetime

Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ

Response

Approval object

approvable-idinteger

The document ID that was approved

approvable-typestring string(255)

The document type that was approved (requisition, purchase order, etc)

approval-chain-idinteger

ID of the approval chain this approval is located in

approval-datestring datetime

The date the approval occurred

approverunknown
approver-idinteger

The user ID that made the approval

approver-typestring string(255)

The role of the approver

created-atstring datetime

Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ

delegateunknown
delegate-idstring string

The delegate ID that made the approval (if applicable)

delegatesApproval[] circular
holdableboolean

Hold the approval or not

idinteger

Coupa unique identifier

notestring text

Reason for approval or reject

parallel-group-namestring string(255)

Parallel Approval group identifier

positioninteger

The position in the approval chain this approval occurred

reasonsApprovalReason[]
statusstring string(50)

The status of the approval (approved, escalated, rejected, etc)

typestring string(255)

How the approval occured (override approval, approval chain approval, etc)

updated-atstring datetime

Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ

Changes

No recorded changes to this operation across all 1 revision of this API.