Travelport / travelport-uapi-tutorial-php

The travelport-uapi-tutorial-php is a PHP project for Universal API that will help you connect and code a standard workflow including Air, Vehicle, and Hotel.
35 stars 47 forks source link

Submitting inputs in TerminalReq #222

Open davoclavo opened 5 years ago

davoclavo commented 5 years ago

Hello! I am using TerminalReq in order to send commands, however there are some cases where an input has to be provided - normally using <TAB> and <ENTER> when using the common Travelport UI, however there are no examples in the documentation in order to submit those inputs via TerminalReq.

How can I submit inputs - ( ) - through a command sent in a TerminalReq?

Example:

Command

ETR1231234567890

Response

TICKET 1231234567890   SMITH/JOHN SAMQ3M/1P/FP7 8888821
CPN FROM/TO FLT     DATE    FBC             STATUS             
1   SFOJFK  AA878  25SEP19 SON0QCM       USED              
2   JFKSFO  AA879  27SEP19 SON0AFM       UNAVAILABLE       
  >ETR VIEW TICKET DATA                    ( )
  >ETR VOID ELECTRONIC TICKET              ( )
  >ELECTRONIC REFUND AUTHORIZATION REQUEST ( )

In this example, how am I able to navigate to the ETR VIEW TICKET DATA ( ) input?

davoclavo commented 5 years ago

Travelport WebServices support was able to help me with this issue. The solution is to send the following command:

ETR VIEW TICKET DATA                    (

Note: It is critical to include the trailing open bracket (