Skip to main content

Close Session

1.0.1
Session Management
SOAP API

The Close Session (SessionCloseRQ) service is used to close a SOAP API session.

Target Audience
Travel Agency
Airline Carrier
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"/>