Skip to content

Process the PNR approval

Request

Approve or decline a PNR.

Security
Bearer
Path
pnrIdstringrequired

Pnr Id

Example:6926658168
Bodyapplication/jsonrequired
approvalIdstring

Serialised Id containing approval related info

Example:"test-approval-id"
approvalTypestringrequired

Approval response APPROVED or DECLINED

Enum:"APPROVED""DECLINED"
Example:"APPROVED"
curl -i -X POST \
  https://api-ext-sboxmeta.partners.spotnana.com/v2/pnrs/6926658168/process-approval \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "approvalId": "test-approval-id",
    "approvalType": "APPROVED"
  }'

Responses

OK

Response
No content