officeInfo Data Type

An object defining the basic abilities we want all of our hibernate objects to have.

Namespace
(Default)
Schema
ns0.xsd
Properties
name data type type namespace min/max occurs constraints description
accountNumbers string element 0/1    
active string element 1/1 required Whether or not this office is active.
address1 string element 0/1    
address2 string element 0/1    
address3 string element 0/1    
afterHoursInternationalNumber string element 0/1    
afterHoursNumber string element 0/1   The agency's after hours phone number.
arcNumber string element 0/1 max size: 9, min size: 0 This office's ARC number.
branch string element 0/1   The branch code for the office.
city string element 0/1    
cityCode city element 1/1 required The city that this office resides in.
clientPrefix string element 0/1   If the agency's clients have a prefix added to all of their account numbers, add them here.
collectVoidLogs boolean element 1/1   Whether or not to collect void logs for this PCC.
gds globalDistributionSystem element 0/1   The GDS that this office uses.
string element 0/1    
logoLink string element 0/1    
name string element 0/1    
onlineOffice onlineSupportOffice element 0/1    
parentCompany travelManagementCompany element 1/1 required The parent company of this department / office.
pcc string element 1/1 required  
phoneNumber string element 0/1    
profileSettings officeProfileSettings element 0/1   The profile settings of this office, as a travel agency.
showTmcAppLinks boolean element 1/1    
state string element 0/1    
tmcHeadQuarters boolean element 1/1   Whether or not this office is the headquarters of the TMC.
tollFreeNumber string element 0/1    
vipAfterHours string element 0/1   A VIP number for after hours.
vipTollFree string element 0/1   A VIP number for regular office hours.
zip string element 0/1    
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

<officeInfo>
  <pcc>...</pcc>
  <name>...</name>
  <address1>...</address1>
  <address2>...</address2>
  <address3>...</address3>
  <city>...</city>
  <state>...</state>
  <zip>...</zip>
  <parentCompany>
    <name>...</name>
    <id>...</id>
    <version>...</version>
  </parentCompany>
  <active>...</active>
  <branch>...</branch>
  <clientPrefix>...</clientPrefix>
  <profileSettings>
    <profileNameFormat>...</profileNameFormat>
    <id>...</id>
    <version>...</version>
  </profileSettings>
  <afterHoursNumber>...</afterHoursNumber>
  <collectVoidLogs>...</collectVoidLogs>
  <gds>
    <code>...</code>
    <oldCode>...</oldCode>
    <name>...</name>
    <agressoCode>...</agressoCode>
    <enabled>...</enabled>
    <profileSyncEnabled>...</profileSyncEnabled>
    <id>...</id>
    <version>...</version>
  </gds>
  <arcNumber>...</arcNumber>
  <logo>...</logo>
  <logoLink>...</logoLink>
  <afterHoursInternationalNumber>...</afterHoursInternationalNumber>
  <tollFreeNumber>...</tollFreeNumber>
  <phoneNumber>...</phoneNumber>
  <onlineOffice>
    <name>...</name>
    <hours>...</hours>
    <phone>...</phone>
    <tollFree>...</tollFree>
    <email>...</email>
    <id>...</id>
    <version>...</version>
  </onlineOffice>
  <showTmcAppLinks>...</showTmcAppLinks>
  <vipTollFree>...</vipTollFree>
  <vipAfterHours>...</vipAfterHours>
  <cityCode>
    <code>...</code>
    <countryCode>...</countryCode>
    <latitude>...</latitude>
    <longitude>...</longitude>
    <name>...</name>
    <stateOrCountry>...</stateOrCountry>
    <airportName>...</airportName>
    <region>
      <name>...</name>
      <code>...</code>
      <country/>
      <position>...</position>
    </region>
    <timeZone>
      <name>...</name>
      <offset>...</offset>
      <daylightSavingsOffset>...</daylightSavingsOffset>
    </timeZone>
    <retentionOnly>...</retentionOnly>
    <position>...</position>
    <unique>...</unique>
    <alias>...</alias>
    <id>...</id>
    <version>...</version>
  </cityCode>
  <tmcHeadQuarters>...</tmcHeadQuarters>
  <id>...</id>
  <version>...</version>
  <violations/>
</officeInfo>