Skip to content

PNR_APPROVAL
Webhook

Request

Security
Bearer
Bodyapplication/json
event_typestring

PNR_APPROVAL

Example:"PNR_APPROVAL"
operationSummaryobject(OperationSummary)

Operation summary for webhook payload

operationstring(PnrApprovalOperationType)

The approval status for the PNR

Enum ValueDescription
APPROVAL_PENDING

A PNR’s approval status has been changed to APPROVAL_PENDING.

APPROVED

A PNR has been approved.

DENIED

The approver has denied a PNR booking.

TIMED_OUT

A PNR with hard approval has timed out since none of the approvers have taken action. In this scenario, the itinerary will be canceled.

TIMED_OUT_REMINDER

A PNR with hard approval has been created, and a reminder notification must be sent to the approver.

APPROVAL_NOT_REQUIRED

The PNR no longer requires approval (e.g., the traveler has canceled the booking before the approver could take action).

SOFT_APPROVAL_TIMEOUT

A PNR with soft approval has timed out since none of the approvers have taken any action. In this scenario, the itinerary will be booked for the traveler.

Example:"APPROVAL_PENDING"
payloadobject(PnrApprovalEventPayload)
timestampstring

Timestamp when the event was published

audienceobject(WebhookAudience)

Audience for whom this webhook payload is intended

payloadMetadataobject(PayloadMetadata)

Metadata about the webhook payload processing

Payload
{ "event_type": "PNR_APPROVAL", "operationSummary": { "ticketsIssued": [ … ], "ticketsVoided": [ … ], "ticketsRefunded": [ … ] }, "operation": "APPROVAL_PENDING", "payload": { "pnrId": "string", "tripId": "string", "approvalId": "string", "appliedApprovalType": "SOFT_APPROVAL", "deadline": { … }, "approvers": [ … ] }, "timestamp": "string", "audience": { "organizationId": "string", "contractingTmcId": "string", "bookingTmcId": "string" }, "payloadMetadata": { "piiMaskingStatus": "APPLIED" } }

Responses

OK