Search code examples
sabre

SABRE Hotel Passive Segment API


In SABRE just started on a "webapp" in SABRE for the agent to convert a HK segment to a passive segment (GK). I am new to the API's. Is there an API for does this with SABRE. I couldn't find one but surely there's a generic method for sending a "valid sabre command" ...

The agent entry would be like this... 0HHTAAGK1DFWIN27JUL-OUT2AUG/HI AIRPORT WEST/SGLB/75.00/SI-@5827 OCEAN DRIVE¥MIAMI FL 38834¥PHONE305- 555-1111@RQNEAR POOL/CF89732901


Solution

  • I'm transitioning from sabre script writing to sabre red apps.

    I found this example/sample it has textboxes to collect information and then push to sabre. You should be able to rename some of the boxes and add some textboxes to collect all the hotel data and push to sabre.

    Location: C:\SDK\red-app-sdk-3.0-20.11.6\samples File: com.sabre.redapp.example3.web.customworkflow-1.0.5-SNAPSHOT-v20201016-1358.zip

    This is the main processor file that initiates the data in html, to ts, to sabre. C:\SDK\workspace\com-sabre-test3-web-module\src\code Main.ts

    The modal shown in sabre comes from template dir. These are HTML pages with boxes/drop downs etc. C:\SDK\workspace\com-sabre-test3-web-module\src\templates PnrView.html

    Transmit to sabre C:\SDK\workspace\com-sabre-test3-web-module\src\code\view Pnr.View.ts