OfficeItinerarySetting Data Type

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

Properties
name data type constraints description
template EmailTemplate  
office OfficeInfo  
promotionalText string  
promotionalUrl string  
queueErrors boolean required boolean Whether or not to queue PNRs with errors back to the agents.
emailErrors boolean required boolean Whether or not to email errors back to the agents.
emailOnlyLastRemark boolean required boolean Whether or not to use all EMAIL- remarks or only the one with the highest remark #
storedFareOverride boolean required boolean Whether or not to store all fares or only fares that have been confirmed.
errorCategory string   The queue category to send error'd PNRs to in the agent's queue.
errorEmail string   An email that all errors should be sent to instead of sending back to the agent.
ticketingErrorCategory string   The queue category to send error'd PNRs to in the agent's queue when a ticketing error occurs.
welcomeTemplate EmailTemplate   A welcome email template to use for new travelers of clients in this office, if they don't want the TMCs
serviceFeeVendor string   The default name to add as the service fee vendor.
Properties inherited from BaseHibernateEntity
id number   The unique internal ID of the object.
version number   For internal use only. This is the serialization recorder for optimistic locking of several objects between sessions.
Properties inherited from BaseEntity
violations array of SimpleViolation   A list of constraint violations, if any, that this object has.

Example

{
  "template" : {
    "subject" : "...",
    "code" : "...",
    "name" : "...",
    "htmlContent" : "...",
    "design" : {
      "header" : "...",
      "footer" : "...",
      "style" : "...",
      "includeUnsubscribeLink" : true,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "fromName" : "...",
    "fromAddress" : "...",
    "hostPort" : "...",
    "textContent" : "...",
    "smtpHost" : "...",
    "hostUser" : "...",
    "hostPassword" : "...",
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "office" : {
    "pcc" : "...",
    "name" : "...",
    "address1" : "...",
    "address2" : "...",
    "address3" : "...",
    "city" : "...",
    "state" : "...",
    "zip" : "...",
    "parentCompany" : {
      "name" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "active" : "...",
    "branch" : "...",
    "clientPrefix" : "...",
    "profileSettings" : {
      "profileNameFormat" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "afterHoursNumber" : "...",
    "collectVoidLogs" : true,
    "gds" : {
      "code" : "...",
      "name" : "...",
      "enabled" : true,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "arcNumber" : "...",
    "logo" : "...",
    "logoLink" : "...",
    "afterHoursInternationalNumber" : "...",
    "tollFreeNumber" : "...",
    "phoneNumber" : "...",
    "onlineOffice" : {
      "name" : "...",
      "hours" : "...",
      "phone" : "...",
      "tollFree" : "...",
      "email" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "showTmcAppLinks" : true,
    "vipTollFree" : "...",
    "vipAfterHours" : "...",
    "cityCode" : {
      "code" : "...",
      "countryCode" : "...",
      "latitude" : 12345.0,
      "longitude" : 12345.0,
      "name" : "...",
      "stateOrCountry" : "...",
      "airportName" : "...",
      "region" : { },
      "timeZone" : { },
      "retentionOnly" : true,
      "position" : 12345,
      "unique" : true,
      "alias" : true,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "tmcHeadQuarters" : true,
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "promotionalText" : "...",
  "promotionalUrl" : "...",
  "queueErrors" : true,
  "emailErrors" : true,
  "emailOnlyLastRemark" : true,
  "storedFareOverride" : true,
  "errorCategory" : "...",
  "errorEmail" : "...",
  "ticketingErrorCategory" : "...",
  "welcomeTemplate" : {
    "subject" : "...",
    "code" : "...",
    "name" : "...",
    "htmlContent" : "...",
    "design" : {
      "header" : "...",
      "footer" : "...",
      "style" : "...",
      "includeUnsubscribeLink" : true,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "fromName" : "...",
    "fromAddress" : "...",
    "hostPort" : "...",
    "textContent" : "...",
    "smtpHost" : "...",
    "hostUser" : "...",
    "hostPassword" : "...",
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "serviceFeeVendor" : "...",
  "id" : 12345,
  "version" : 12345,
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}