Remove PNRs from a Queue
Note: Not implemented for Apollo.
Schema
Located in GDSQueue.xsd:
Galileo Release 20.2
GDSQueueRemove request can be used to remove a single PNR from a Galileo queue. If a PNR exists on multiple queues, send multiple requests to remove a PNR from multiple queues.
To remove a PNR from a queue, send GdsQueueRemoveReq with:
- The PNR to be removed in @ProviderLocatorCode
- @ProviderCode="1G"
- The queue on which the PNR exists in QueueSelector @Queue
A successful response will return ResponseMessage="OFF QUEUE".
Worldspan
GDS Queue Remove is used to remove PNRs from a queue on Worldspan . In terminal, an agent typically does a QRD (remove duplicate PNRs) entry before or after entering a queue on Worldspan.
The GDS Queue Remove service is available to support removing PNRs from a queue. Various QRD options currently used on Worldspan are also supported:
- Remove duplicate PNRs from a specified queue
- Remove duplicate PNRs from a specified queue and category
- Remove duplicate PNRs from a specified queue, category, and date range
- Remove duplicate PNRs from an accessed queue, category, and date range (sessioned)
- Remove a PNR from a queue without accessing the queue
Request
GdsQueueRemoveReq is used to perform many of the same functions available through QRD in terminal. You can use GdsQueueRemove sessionless or sessioned. When used sessionless, a queue number, category, and/or date range must be specified. When used within a session, GdsQueueEnter must precede the QRD so that Universal API knows which queue is being accessed.
Removing duplicate PNRs
To remove duplicate PNRs, either sessioned or sessionless:
-
Send GdsQueueRemoveReq with the following required information:
- @RemoveDuplicates="true" to remove duplicate PNRs
- @ProviderCode
-
If using within a session, @QueueSessionToken is required.
- If using sessionless, specify a queue number using QueueSelector @Queue. Optionally, you can also specify a category (@Category) and/or date range (@DateRange).
Removing PNRs without accessing the queue
To remove PNRs without accessing the queue:
- Send a sessionless GDSQueueRemoveReq with the Provider, locator code, and queue details.
- Ensure the RemoveDuplicates attribute is absent or set to "false".
- Universal API retrieves the PNR and uses a terminal QRQ command to remove it from queue.
Notes:
-
Use QueueNext/RemoveCurrent to remove a currently active PNR.
- Use GdsExitQueue/RemoveCurrent=True to remove a currently active PNR when exiting a queue.
Response
An empty GdsQueueRemoveRsp response indicates success. The host response message is returned in the Info element.
Errors
Possible error messages that may be returned include:
- If @RemoveDuplicates="false", the following error is returned: Only Remove Duplicates is supported for the provider.
- If the host session has expired, the following error is returned: Host session has expired. Please do new QueueEnter.