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.

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:

PNR counts for each section include:

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.