Requesting Queue Counts
The Queue Count request retrieves the number of PNR record locators that exist on each queue for specified Pseudo City Code (PCC). Queues without PNRs are not returned in the response.
Schema
Located in GDSQueue.xsd:
Request
A request for Queue Counts is made using GdsQueueCountReq in GDSQueue.xsd.
The ProviderCode and TargetBranch must be included in the request.
Important: For Worldspan, a queue number (QueuePseudoCitySelector/QueueSelector @Queue) is also required.
The QueuePseudoCitySelector/PseudoCityCode attribute can also be sent in the request, but is not required. When the Pseudo City Code (PCC) is not included, it is determined by Universal API.
Attributes of QueuePseudoCitySelector/QueueSelector can be used to narrow the response.
- Queue - Specifies a queue number. This attribute is required for Worldspan.
- Category
- DateRange
Important! Category and Date Range must be configured for agencies and other travel providers in GDS Desktop.
Multiple Queues
For Galileo (1G) and Apollo (1V) GdsQueueCountReq, you can get the count for multiple queues by repeating the GdsQueueCountReq/QueuePseudoCitySelector element. For example, repeat the element for each category:
<gds:QueuePseudoCitySelector PseudoCityCode="####">
<gds:QueueSelector Queue="80" Category="1" DateRange="1"/>
</gds:QueuePseudoCitySelector>
<gds:QueuePseudoCitySelector PseudoCityCode="####">
<gds:QueueSelector Queue="80" Category="2" DateRange="1"/>
</gds:QueuePseudoCitySelector>
<gds:QueuePseudoCitySelector PseudoCityCode="####">
<gds:QueueSelector Queue="80" Category="3" DateRange="1"/>
</gds:QueuePseudoCitySelector>
Response
The Queue Count response includes the following information, returned directly from the provider:
- Total PNR count by Queue Name
- Total PNR count by Category Name
-
Total PNR count by Date Range
PNR counts for each section include:
- Queue Name
- Number on Queue
- Category Name
- Number on Category
- Date Range Name
- Number on Date Range
The total PNR count by queue category is found in QueueInfo/CategoryInfo/TotalCountand is the sum of the existing Total attribute on CategoryInfo plus all its associated DateRangeInfo counts.
Exceptions
Previously, most queue functionality was available only on Galileo (1G) and Apollo (1V). In gdsQueue v35.0 and later, Worldspan (1P) support Queue Count functionality.
- On Worldspan , the "All" (QCT*ALL) functionality is not available.
- ACH does not support queues.