travelPolicy Data Type

The travel policy for a client/division/group. This should define when the specific rules should be applied as well as common terminology that should be applied on rules. If you see references to LLF or Lowest Logical Fare, what that means is that property is restricting the possibilities for searching for the lowest logical fare. Created by nick on 1/27/15.

Namespace
(Default)
Schema
ns0.xsd
Properties
name data type type namespace min/max occurs constraints description
advancedPurchaseLLF int element 0/1   The allowed days of how far into the future to check for the lowest logical fare.
client client element 1/1 required The client that this policy belongs to.
contractCarriersOnlyLLF boolean element 1/1 required boolean Whether or not to check for the lowest logical fare in non-preferred carriers.
defaultAction travelPolicyAction element 0/1   The default action that should be taken for trips that this policy are applied to.
defaultReviewer travelPolicyReviewer element 0/1   The default user that will take responsibility for the action if the trip fails policy.
domesticCountries list of country element 0/unbounded   A list of countries that are considered domestic by the client.
modified dateTime element 0/1   The last modified date of this travel policy.
name string element 0/1   The name of this travel policy, to differentiate it from others.
refundabilityLLF travelPolicyRefundableOption element 0/1   The refundability requirement of the flights when checking for lowest logical fare. For instance, whether the policy requires that all bookings are refundable.
ruleClasses list of travelPolicyRuleClass element 0/unbounded   The classes that consist of this policy. For an itinerary to pass, it must pass all rule classes.
stopsLLF clientTravelPolicyStops element 0/1   The number of allowed connections (or stops) when checking for the lowest logical fare.
timeWindowLLF int element 0/1   The allowed difference in hours when checking for the lowest logical fare.
Properties inherited from baseHibernateEntity
id long element 0/1   The unique internal ID of the object.
version long element 0/1   For internal use only. This is the serialization recorder for optimistic locking of several objects between sessions.
Properties inherited from baseEntity
violations list of simpleViolation element 0/unbounded   A list of constraint violations, if any, that this object has.

Example

<travelPolicy>
  <client>
    <status>
      <name>...</name>
      <active>...</active>
    </status>
    <parentClient/>
    <accountNumber>...</accountNumber>
    <name>...</name>
    <type>
      <name>...</name>
      <hide>...</hide>
      <level>...</level>
    </type>
    <id>...</id>
    <version>...</version>
  </client>
  <name>...</name>
  <modified>...</modified>
  <ruleClasses>
    <message>...</message>
    <action>
      <name>...</name>
      <description>...</description>
      <possibleReviewers/>
    </action>
    <rules>
      <type/>
      <operator/>
      <value>...</value>
      <unit/>
      <airlines/>
      <carClasses/>
      <carTypes/>
      <hotelProperties/>
      <classOfServiceLevels/>
      <countries/>
      <cities/>
      <hotelVendors/>
      <carVendors/>
    </rules>
    <reviewer>
      <name>...</name>
    </reviewer>
    <addMessage>...</addMessage>
    <queue>
      <number>...</number>
      <category>...</category>
      <pcc>...</pcc>
      <description>...</description>
      <gds/>
      <sorts/>
      <airtineraryQueue>...</airtineraryQueue>
      <importQueue>...</importQueue>
      <availableTimeRange>...</availableTimeRange>
      <maximumPops>...</maximumPops>
      <overrideSortCategory>...</overrideSortCategory>
      <failureQueue>...</failureQueue>
      <failureCategory>...</failureCategory>
      <agentQueue>...</agentQueue>
      <agent/>
      <failurePcc>...</failurePcc>
      <agentExclusions/>
      <ticketingQueue>...</ticketingQueue>
      <validationQueue>...</validationQueue>
      <type/>
      <hplQueue>...</hplQueue>
      <logEnabled>...</logEnabled>
      <airselectQueue>...</airselectQueue>
      <defaultQueue/>
      <autoScheduleChange>...</autoScheduleChange>
    </queue>
    <override>...</override>
    <id>...</id>
    <version>...</version>
  </ruleClasses>
  <domesticCountries>
    <name>...</name>
    <code>...</code>
    <codeAlt>...</codeAlt>
    <phoneCode>...</phoneCode>
    <position>...</position>
    <id>...</id>
    <version>...</version>
  </domesticCountries>
  <stopsLLF>
    <name>...</name>
    <id>...</id>
    <version>...</version>
  </stopsLLF>
  <contractCarriersOnlyLLF>...</contractCarriersOnlyLLF>
  <timeWindowLLF>...</timeWindowLLF>
  <advancedPurchaseLLF>...</advancedPurchaseLLF>
  <defaultAction>
    <name>...</name>
    <description>...</description>
    <possibleReviewers>
      <name>...</name>
    </possibleReviewers>
    <id>...</id>
    <version>...</version>
  </defaultAction>
  <refundabilityLLF>
    <name>...</name>
    <id>...</id>
    <version>...</version>
  </refundabilityLLF>
  <defaultReviewer>
    <name>...</name>
    <id>...</id>
    <version>...</version>
  </defaultReviewer>
  <id>...</id>
  <version>...</version>
  <violations/>
</travelPolicy>