Close Session

 

SessionCloseRQ is used to close a SOAP API session.

API Information

Target Audience
All Sabre APIs Customers
Current Version
1.0.1
Authentication
Session Token
Service Action Code
SessionCloseRQ

This service is required to close connections because it properly cleans up the session and releases all resources allocated behind the scenes. If an application does not make use of SessionCloseRQ it risks running out of system resources. A live connection to Sabre Web Services, a valid binary security token, and a conversation ID are required to use this service.

When a client application sends a correctly-formatted SessionCloseRQ message along with the security token and conversation ID for the session to be closed, theSabre Web Services gateway does the following:

  • Terminates the Sabre session that was allocated to the connection.
  • Discards content in the Sabre work area (AAA)
  • Invalidates the security token

Errors are returned in SOAP fault format, with or without ebXML headers.

Sample request

<SessionCloseRQ>
  <POS>
    <Source PseudoCityCode="FF9A"/>
  </POS>
</SessionCloseRQ>

Sample response

<SessionCloseRS version="1" status="Approved" xmlns="http://www.opentravel.org/OTA/2002/11"/>

If you are a Sabre customer currently using Sabre APIs in production, access  Resources

Docs Navigation