Skip Navigation

Messages List

Communication between SR360 and external application is achieved by sending XML messages via queues. Below is the list of available messages.

Note
For detailed message specification see nativeapi_1_0_0.xsd schema file inside Sabre Red 360 Software Development Kit package.
Important
Please remember to treat presented responses as an xml and not just a string in your application. We try to make sure that the namespaces don’t change but we can’t guarantee that they won’t and thus it is not advised to have them hardcoded in your application.

GetSessionSecurityTokenRQ

Sent by a client to request Session Security Token.

Required authorization: com.sabre.edge.cf.emu.Session

<?xml version="1.0" encoding="UTF-8"?>
<ns1:GetSessionSecurityTokenRQ xmlns:ns1="http://stl.sabre.com/POS/SRW/NextGen/nativeapi/v1.0"/>

GetSessionSecurityTokenRS

Sent by SR360 as a response to GetSessionSecurityTokenRQ.

<?xml version="1.0" encoding="UTF-8"?>
<ns1:GetSessionSecurityTokenRS xmlns:ns1="http://stl.sabre.com/POS/SRW/NextGen/nativeapi/v1.0" success="true">
  <ath>Shared/IDL:IceSess\/SessMgr:1\.0.IDL/Common/!ICESMS\/STSB!ICESMSLB\/STS.LB!-1234567890!7654321!0!1!E2E-1</ath>
</ns1:GetSessionSecurityTokenRS>

EventSubscriptionRQ

Sent by a client to request subscription for all events declared in redapp.xml in EventListener elements.

<?xml version="1.0" encoding="UTF-8"?>
<ns1:EventSubscriptionRQ xmlns:ns1="http://stl.sabre.com/POS/SRW/NextGen/nativeapi/v1.0"/>

EventSubscriptionRS

Sent by SR360 as a response to EventSubscriptionRQ.

<?xml version="1.0" encoding="UTF-8"?>
<ns1:EventSubscriptionRS xmlns:ns1="http://stl.sabre.com/POS/SRW/NextGen/nativeapi/v1.0" success="true"/>

SendHostCommandRQ

Sent by a client to send a command to Sabre host.

Can be used with user provided lock ID. Internal lock ID is used by default.

Parameters:

  • Command - command to send

  • LockId (optional) - id of session lock

Required authorization: com.sabre.edge.cf.host.AggregatedResponseCommunication

<?xml version="1.0" encoding="UTF-8"?>
<ns1:SendHostCommandRQ xmlns:ns1="http://stl.sabre.com/POS/SRW/NextGen/nativeapi/v1.0"  >
    <Command>1LASLAX</Command>
</ns1:SendHostCommandRQ>

SendHostCommandRS

Sent by SR360 as a response to SendHostCommandRQ.

<ns1:SendHostCommandRS xmlns:ns1="http://stl.sabre.com/POS/SRW/NextGen/nativeapi/v1.0" success="true">
  <Command>1LASLAX</Command>
  <Responses>
    <Response> 21MAR  TUE   LAS/PDT     LAX/PDTĄ0
 1WN    4347 Y  K  L  B  LASLAX 100 1240P  145P 73W 0 XJS /E
 Q  H  W  R  O  M  S  N  T  *A
 2NK     561 Y4 B4 H4 Q4 LASLAX 7    113P  230P 320 0 AB /E
 M4 K4 L4 V4 T4 R4 U4 *A
 3DL/** 5770 F6 P5 A3 G1*LASLAX 5    108P  236P E75 0 DCA /E
 W8 Y9 B9 M9 H9 Q9 K9 L9 U9 T9
 4VA/** 6848 F4 A0 Y7 B7 LASLAX      108P  236P E75 0 DCA /E
 H7 K7 L7 E7 N7 V7 Q7 T7 *A
INTL ONLINE CONEX/STPVR TFC ONLY
 5WN    2087 Y  K  L  B  LASLAX 000  205P  310P 73W 0 XJ /E
 Q  H  W  R  O  M  S  N  T  *A
 6DL     719 F7 P6 A4 G1*LASLAX 3   1135A 1250P 717 0 XJ DCA /E
 W9 Y9 B9 M9 H9 Q9 K9 L9 U9 T9
 7VA/DL 6660 F2 A0 Y7 B7 LASLAX     1135A 1250P 717 0 XJ DCA /E
 H7 K7 L7 E7 N7 V7 Q7 T7 *A
INTL ONLINE CONEX/STPVR TFC ONLY
 8WN     740 Y  K  L  B  LASLAX 100 1105A 1210P 73W 0 XJS /E
 Q  H  W  R  O  M  S  N  T  *A
 9VX     473 J7 G7 X7 C7*LASLAX 053  230P  355P 320 0 DCA /E
 D5 K5 W7 R7 O7 Q7 Z5 A5 Y7 P7 *A
10HA/** 2608 F7 J7 P7 A5*LASLAX 080  230P  355P 320 0 DCA /E
 C5 Y7 W7 X7 Q7 V7 B7 S7 N7 M7
ONLINE CONEX/STPVR TFC ONLY
11AA    1133 J7 D7 I7 Y7*LASLAX 8    243P  405P 32B 0 DCA /E
 B7 H7 K7 M7 L7 G7 V7 S7 N7 Q7 *A
12AS/** 6693 F0 P0 Y0 S0 LASLAX 074  243P  405P 321 0 DC /E
 B0 M0 H0 Q0 L0 V0 K0 G0 T0 R0
SEE JM*1 SABRE PROMOSPOTS TEST AD
* - FOR ADDITIONAL CLASSES ENTER 1*C
* - FOR AIR EXTRAS INCLUDING PAID SEATS ENTER 1*A.
    </Response>
  </Responses>

ExecuteInEmuRQ

Sent by a client to execute a command in emulator.

Parameters:

  • Command - command to execute

  • showCommand (optional, default: true)

  • showResponse (optional, default: true)

Required authorization: com.sabre.edge.cf.emu.ExecuteInEmulator

<?xml version="1.0" encoding="UTF-8"?>
<ns1:ExecuteInEmuRQ xmlns:ns1="http://stl.sabre.com/POS/SRW/NextGen/nativeapi/v1.0" showCommand="false" showResponse="false">
  <Command>HOTWAW</Command>
</ns1:ExecuteInEmuRQ>

ExecuteInEmuRS

Sent by SR360 as a response to ExecuteInEmuRQ.

<?xml version="1.0" encoding="UTF-8"?>
<ns1:ExecuteInEmuRS xmlns:ns1="http://stl.sabre.com/POS/SRW/NextGen/nativeapi/v1.0" success="true"/>

CommandSubscriptionRQ

Sent by a client to request subscription for commands declared in redapp.xml in Service elements with name attribute set to EMU_COMMAND.

<?xml version="1.0" encoding="UTF-8"?>
<ns1:CommandSubscriptionRQ xmlns:ns1="http://stl.sabre.com/POS/SRW/NextGen/nativeapi/v1.0"/>

CommandSubscriptionRS

Sent by SR360 as a response to CommandSubscriptionRQ.

<?xml version="1.0" encoding="UTF-8"?>
<ns1:CommandSubscriptionRS xmlns:ns1="http://stl.sabre.com/POS/SRW/NextGen/nativeapi/v1.0" success="true"/>

CommandInterceptionRQ

Sent by SR360 to notify the client that subscribed command was intercepted.

<?xml version="1.0" encoding="UTF-8"?>
<ns1:CommandInterceptionRQ xmlns:ns1="http://stl.sabre.com/POS/SRW/NextGen/nativeapi/v1.0\" command="1LASLAX"/>

CommandInterceptionRS

Sent by a client to decide what to do with an intercepted command.

If the command parameter is empty the command is not sent. Otherwise command provided by the client is sent.

Parameters:

  • command - command to be used

<?xml version="1.0" encoding="UTF-8"?>
<ns1:CommandInterceptionRS xmlns:ns1="http://stl.sabre.com/POS/SRW/NextGen/nativeapi/v1.0" command="1DFWMIA"/>
commandsdiagram

LockSessionRQ

Sent by a client to request session lock.

Parameters:

  • Timeout (optional) - after this time (in seconds) passes session is automatically unlocked. Accepted values: 1-120

Required authorization: com.sabre.edge.cf.host.Locking

<?xml version="1.0" encoding="UTF-8"?>  <ns1:LockSessionRQ xmlns:ns1="http://stl.sabre.com/POS/SRW/NextGen/nativeapi/v1.0">
  <Timeout>10</Timeout>
</ns1:LockSessionRQ>

LockSessionRS

Sent by SR360 as a response toLockSessionRQ.

<?xml version="1.0" encoding="UTF-8"?>
<ns1:LockSessionRS xmlns:ns1="http://stl.sabre.com/POS/SRW/NextGen/nativeapi/v1.0" success="true">
  <LockId>1490088451648534</LockId>
</ns1:LockSessionRS>

UnlockSessionRQ

Sent by a client to request unlocking the session.

Parameters:

  • LockId (optional) - id of session lock

Required authorization: com.sabre.edge.cf.host.Locking

<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<ns1:UnlockSessionRQ xmlns:ns1=\"http://stl.sabre.com/POS/SRW/NextGen/nativeapi/v1.0\">
  <LockId>123</LockId>
</ns1:UnlockSessionRQ>

UnlockSessionRS

Sent by SR360 as a response to UnlockSessionRQ.

<?xml version="1.0" encoding="UTF-8"?>
<ns1:UnlockSessionRS xmlns:ns1="http://stl.sabre.com/POS/SRW/NextGen/nativeapi/v1.0" success="true">
  <LockId>123</LockId>
</ns1:UnlockSessionRS>

ShowInEmuRQ

Sent by a client to show a message in emulator.

Parameters:

  • Message - message to be shown

  • isCommand - optional, default: true

Required authorization: com.sabre.edge.cf.emu.ShowInEmulator

<?xml version="1.0" encoding="UTF-8"?>
<ns1:ShowInEmuRQ xmlns:ns1="http://stl.sabre.com/POS/SRW/NextGen/nativeapi/v1.0" isCommand="false">
  <Message>MY MESSAGE</Message>
</ns1:ShowInEmuRQ>

ShowInEmuRS

Sent by SR360 as a response to ShowInEmuRQ.

<?xml version="1.0" encoding="UTF-8"?>
<ns1:ShowInEmuRS xmlns:ns1="http://stl.sabre.com/POS/SRW/NextGen/nativeapi/v1.0" success="true"/>

UnknownErrorRS

Sent by SR360 to indicate an error.