Skip to content


API - Usage Methods

Airline Messaging Methods

Sequoia v1.74

GetAgentInventoriesFromDate

Gets a summary list of agent inventory records from the passed in date until the present.

Payload Schema / Return value
Request: Matches the ModifiedRecordsRequest (schema below). This request uses a token-based query.
Response (success): AgentInventoriesList.Xsd
Response (failure): See Error Reporting above
<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified"
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns="ModifiedRecordsRequest">
  <xs:element name="ModifiedRecordsRequest">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="ModifiedSince" minOccurs="1" maxOccurs="1" type="xs:dateTime" />
        <xs:element name="BadgeList" minOccurs="1" maxOccurs="1">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="string" minOccurs="1" maxOccurs="unbounded">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:pattern value="[A-Z]{3}"/>
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="QueryToken" minOccurs="0" maxOccurs="1" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>

Notes
Call this method specifying the date/time from which you want agent inventory records. A list of badge codes should also be supplied to determine which records are returned.

Sequoia v1.74

GetAgentInventoryRecord

Gets a specific agent inventory record given its natural key.

Payload Schema / Return value
Request: AgentInventoryReference.Xsd
Response (success): AgentInventoryDetail.Xsd
Response (failure): See Error Reporting above