ticket Data Type

An Airbank ticket is a voucher that represents value left over from an airline ticket. This value can be traded at value for services with the airline the original ticket was marketed from.

Namespace
(Default)
Schema
ns0.xsd
Properties
name data type type namespace min/max occurs constraints description
agent employeeInfo element 0/1   The agent that invoiced the ticket.
airlineLocator string element 0/1   The confirmation number that the ticket is associated with.
auditState int element 0/1    
client client element 1/1 required The account that this voucher belongs to.
creditCardNumber string element 0/1    
creditCardType string element 0/1    
dateAdded dateTime element 1/1 required The date this voucher was added to Airportal.
departDate dateTime element 0/1   The departure date of the flight this ticket was associated with.
email string element 0/1   The email address of the traveler that owns this voucher.
everUnused boolean element 1/1 required boolean  
expireDate dateTime element 0/1   The date that this voucher will expire. Typically a year after issue.
firstName string element 0/1   The first name of the traveler that owns this voucher.
gds globalDistributionSystem element 0/1   The GDS that this ticket exists in.
history list of history element 0/unbounded   The last 10 transactions inflicted upon this voucher.
invoiceNumber int element 0/1   The invoice number associated with this ticket.
lastName string element 0/1   The last name of the traveler that owns this voucher.
manuallyAdded boolean element 1/1 required boolean Whether or not this voucher was added manually.
middleName string element 0/1   The middle name of the traveler that owns this voucher.
notes string element 0/1   Any notes about this voucher.
obeSyncLog list of obeSyncLog element 0/unbounded   A list of synchronizations with the online booking tool for this account.
obeSynced boolean element 0/1   Whether or not this ticket currently exists in the account's online booking tool.
pcc string element 0/1   The pseudo city code that this ticket was bought in.
penalty double element 0/1   The estimated penalty that exchanging this ticket will cost.
recordLocator string element 1/1 required The record locator that this ticket is from.
refundable boolean element 1/1 required boolean Whether or not this ticket is refundable for cash.
returnDate dateTime element 0/1   The completion date of the flight this ticket is associated with.
status string element 0/1   The current status of this voucher.
ticketDate dateTime element 0/1   The date the ticket was invoiced.
ticketNumber string element 1/1 required The ticket number of the reservation that this voucher represents.
ticketType string element 1/1 required The type of ticket the voucher is connected to.
transactions list of transaction element 0/unbounded    
transferable boolean element 1/1 required boolean Whether or not this ticket is transferable to another user in the same company.
user user element 0/1   The traveler that this voucher belongs to.
validatingAirline string element 1/1 required The airline that this ticket was originally marketed from.
value double element 0/1   The current value of this voucher.
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

<ticket>
  <ticketNumber>...</ticketNumber>
  <validatingAirline>...</validatingAirline>
  <pcc>...</pcc>
  <invoiceNumber>...</invoiceNumber>
  <recordLocator>...</recordLocator>
  <airlineLocator>...</airlineLocator>
  <refundable>...</refundable>
  <ticketDate>...</ticketDate>
  <expireDate>...</expireDate>
  <departDate>...</departDate>
  <manuallyAdded>...</manuallyAdded>
  <dateAdded>...</dateAdded>
  <status>...</status>
  <ticketType>...</ticketType>
  <gds>
    <code>...</code>
    <name>...</name>
    <enabled>...</enabled>
    <id>...</id>
    <version>...</version>
  </gds>
  <notes>...</notes>
  <value>...</value>
  <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>
  <user>
    <answer>...</answer>
    <emailed>...</emailed>
    <newUser>...</newUser>
    <temporaryPassword>...</temporaryPassword>
    <question>...</question>
    <obeUserName>...</obeUserName>
    <obePassword>...</obePassword>
    <obeSyncId>...</obeSyncId>
    <created>...</created>
    <modifiedDate>...</modifiedDate>
    <emailedWhen>...</emailedWhen>
    <travelgpaLogin>...</travelgpaLogin>
    <groups>
      <name>...</name>
      <permissions/>
      <description>...</description>
      <role/>
      <type>...</type>
    </groups>
    <active>...</active>
    <prefix>...</prefix>
    <firstName>...</firstName>
    <lastName>...</lastName>
    <middleName>...</middleName>
    <suffix>...</suffix>
    <email>...</email>
    <tripitAuthorized>...</tripitAuthorized>
    <supportTitle>...</supportTitle>
    <automatedNotifications>...</automatedNotifications>
    <enableHotelAttachment>...</enableHotelAttachment>
    <atHomeNotificationMethod>
      <name>...</name>
      <code>...</code>
    </atHomeNotificationMethod>
    <inTravelNotificationMethod>
      <name>...</name>
      <code>...</code>
    </inTravelNotificationMethod>
    <cellPhoneNumber>...</cellPhoneNumber>
    <userCurrentClient/>
    <defaultClient>
      <status/>
      <parentClient/>
      <accountNumber>...</accountNumber>
      <name>...</name>
      <type/>
    </defaultClient>
    <defaultPlannerGroup>
      <status/>
      <parentClient/>
      <accountNumber>...</accountNumber>
      <name>...</name>
      <type/>
    </defaultPlannerGroup>
    <showWelcomeDialog>...</showWelcomeDialog>
    <siteTour>...</siteTour>
    <unusedTicketEmail>...</unusedTicketEmail>
    <surveyEmail>...</surveyEmail>
    <wt0EmailEnabled>...</wt0EmailEnabled>
    <wt0EmailDaily>...</wt0EmailDaily>
    <wt0EmailDay>...</wt0EmailDay>
    <wt0EmailHour>...</wt0EmailHour>
    <marketingSubscribed>...</marketingSubscribed>
    <responsive>...</responsive>
    <businessPhoneNumber>...</businessPhoneNumber>
    <homePhoneNumber>...</homePhoneNumber>
    <id>...</id>
    <version>...</version>
  </user>
  <history>
    <timestamp>...</timestamp>
    <userName>...</userName>
    <field>...</field>
    <oldValue>...</oldValue>
    <newValue>...</newValue>
    <id>...</id>
    <version>...</version>
  </history>
  <obeSyncLog>
    <timestamp>...</timestamp>
    <action>...</action>
    <success>...</success>
    <response>...</response>
    <id>...</id>
    <version>...</version>
  </obeSyncLog>
  <returnDate>...</returnDate>
  <penalty>...</penalty>
  <firstName>...</firstName>
  <middleName>...</middleName>
  <lastName>...</lastName>
  <email>...</email>
  <obeSynced>...</obeSynced>
  <auditState>...</auditState>
  <everUnused>...</everUnused>
  <agent>
    <user>
      <answer>...</answer>
      <emailed>...</emailed>
      <newUser>...</newUser>
      <temporaryPassword>...</temporaryPassword>
      <question>...</question>
      <obeUserName>...</obeUserName>
      <obePassword>...</obePassword>
      <obeSyncId>...</obeSyncId>
      <created>...</created>
      <modifiedDate>...</modifiedDate>
      <emailedWhen>...</emailedWhen>
      <travelgpaLogin>...</travelgpaLogin>
      <groups/>
      <active>...</active>
      <prefix>...</prefix>
      <firstName>...</firstName>
      <lastName>...</lastName>
      <middleName>...</middleName>
      <suffix>...</suffix>
      <email>...</email>
      <tripitAuthorized>...</tripitAuthorized>
      <supportTitle>...</supportTitle>
      <automatedNotifications>...</automatedNotifications>
      <enableHotelAttachment>...</enableHotelAttachment>
      <atHomeNotificationMethod/>
      <inTravelNotificationMethod/>
      <cellPhoneNumber>...</cellPhoneNumber>
      <userCurrentClient/>
      <defaultClient/>
      <defaultPlannerGroup/>
      <showWelcomeDialog>...</showWelcomeDialog>
      <siteTour>...</siteTour>
      <unusedTicketEmail>...</unusedTicketEmail>
      <surveyEmail>...</surveyEmail>
      <wt0EmailEnabled>...</wt0EmailEnabled>
      <wt0EmailDaily>...</wt0EmailDaily>
      <wt0EmailDay>...</wt0EmailDay>
      <wt0EmailHour>...</wt0EmailHour>
      <marketingSubscribed>...</marketingSubscribed>
      <responsive>...</responsive>
      <businessPhoneNumber>...</businessPhoneNumber>
      <homePhoneNumber>...</homePhoneNumber>
    </user>
    <agentCode>...</agentCode>
    <office>
      <pcc>...</pcc>
      <name>...</name>
      <address1>...</address1>
      <address2>...</address2>
      <address3>...</address3>
      <city>...</city>
      <state>...</state>
      <zip>...</zip>
      <parentCompany/>
      <active>...</active>
      <branch>...</branch>
      <clientPrefix>...</clientPrefix>
      <profileSettings/>
      <afterHoursNumber>...</afterHoursNumber>
      <collectVoidLogs>...</collectVoidLogs>
      <gds/>
      <arcNumber>...</arcNumber>
      <logo>...</logo>
      <logoLink>...</logoLink>
      <afterHoursInternationalNumber>...</afterHoursInternationalNumber>
      <tollFreeNumber>...</tollFreeNumber>
      <phoneNumber>...</phoneNumber>
      <onlineOffice/>
      <showTmcAppLinks>...</showTmcAppLinks>
      <vipTollFree>...</vipTollFree>
      <vipAfterHours>...</vipAfterHours>
      <cityCode/>
      <tmcHeadQuarters>...</tmcHeadQuarters>
    </office>
    <workEmail>...</workEmail>
    <active>...</active>
    <type>...</type>
    <emailList>...</emailList>
    <category>...</category>
    <directLine>...</directLine>
    <hours>...</hours>
    <onlineAgent>...</onlineAgent>
    <recheckEmails>...</recheckEmails>
    <serviceFeesPct>...</serviceFeesPct>
    <otherServiceFeesPct>...</otherServiceFeesPct>
    <internationalAirCommissionPct>...</internationalAirCommissionPct>
    <miscCommissionPct>...</miscCommissionPct>
    <airCommissionPct>...</airCommissionPct>
    <hotelCommissionPct>...</hotelCommissionPct>
    <carCommissionPct>...</carCommissionPct>
    <employeeType>
      <code>...</code>
      <name>...</name>
    </employeeType>
    <ticketingAgent>...</ticketingAgent>
    <supportAgent>...</supportAgent>
    <onsiteAgent>...</onsiteAgent>
    <id>...</id>
    <version>...</version>
  </agent>
  <creditCardType>...</creditCardType>
  <creditCardNumber>...</creditCardNumber>
  <transactions>
    <timestamp>...</timestamp>
    <description>...</description>
    <debit>...</debit>
    <credit>...</credit>
    <travelerName>...</travelerName>
    <id>...</id>
    <version>...</version>
  </transactions>
  <transferable>...</transferable>
  <id>...</id>
  <version>...</version>
  <violations/>
</ticket>