{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Process approval for a booking","meta":[{"name":"robots","content":"noindex"}],"llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"process-approval-for-a-booking","__idx":0},"children":["Process approval for a booking"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The following endpoint is used to approve or decline the booking approval request."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"20%","data-label":"Name"},"children":["Name "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"30%","data-label":"Endpoint"},"children":["Endpoint "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"50%","data-label":"Details"},"children":["Details "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/docs/openapi/tripapi#operation/processpnrapproval"},"children":["Process the PNR approval"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/v2/pnrs/{pnrId}/process-approval"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Approve or decline the booking.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["URL path requires:"]}," pnrId from the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/docs/spotnana/listing_approvals_workflow"},"children":["listing the approval data"]}," workflow.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Request body requires:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["approvalId"]}," from ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/docs/spotnana/listing_approvals_workflow"},"children":["listing the approval data"]}," ","workflow and the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["approvalType"]}," (i.e., ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["APPROVED"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["DECLINED"]},")."]}]}]}]}]}]},"headings":[{"value":"Process approval for a booking","id":"process-approval-for-a-booking","depth":1}],"frontmatter":{"seo":{"title":"Process approval for a booking"}},"lastModified":"2025-11-03T18:01:59.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/spotnana/process_approval_workflow","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}