Skip to content

/AWS1/CL_DOAUPDATEAPPRACTRSP

Response structure for UpdateApprovalAction. Reports the post-submission lifecycle status of the approval request and, when applicable, the absolute expiry timestamp. The status is a lifecycle state distinct from the action verb — an APPROVED submission transitions the request to APPROVED status (live, redeemable); a REJECTED submission transitions it to REJECTED status (terminal).

CONSTRUCTOR

IMPORTING

Required arguments:

iv_approvalid TYPE /AWS1/DOAAPPROVALID /AWS1/DOAAPPROVALID

Identifier of the approval request that was resolved. Echoed back so the client can correlate the response with the request.

iv_status TYPE /AWS1/DOAAPPROVALSTATUS /AWS1/DOAAPPROVALSTATUS

Lifecycle status of the approval request immediately after submission. Expected post-submission states are APPROVED (when the action is APPROVED) or REJECTED (when the action is REJECTED); PENDING is not returned from this operation, and REVOKED and REDEEMED are reachable only via subsequent reads.

Optional arguments:

iv_expiresat TYPE /AWS1/DOATIMESTAMP /AWS1/DOATIMESTAMP

Absolute timestamp at which the approval expires. Set when status is APPROVED (computed as the submission time plus ttlSeconds); absent when status is REJECTED.


Queryable Attributes

approvalId

Identifier of the approval request that was resolved. Echoed back so the client can correlate the response with the request.

Accessible with the following methods

Method Description
GET_APPROVALID() Getter for APPROVALID, with configurable default
ASK_APPROVALID() Getter for APPROVALID w/ exceptions if field has no value
HAS_APPROVALID() Determine if APPROVALID has a value

status

Lifecycle status of the approval request immediately after submission. Expected post-submission states are APPROVED (when the action is APPROVED) or REJECTED (when the action is REJECTED); PENDING is not returned from this operation, and REVOKED and REDEEMED are reachable only via subsequent reads.

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

expiresAt

Absolute timestamp at which the approval expires. Set when status is APPROVED (computed as the submission time plus ttlSeconds); absent when status is REJECTED.

Accessible with the following methods

Method Description
GET_EXPIRESAT() Getter for EXPIRESAT, with configurable default
ASK_EXPIRESAT() Getter for EXPIRESAT w/ exceptions if field has no value
HAS_EXPIRESAT() Determine if EXPIRESAT has a value