Created with IntelliJ IDEA. User: nick Date: 10/1/13 Time: 2:54 PM A description of the policy for the PCC. This will hold rules that the office requires its agents to follow for booking PNRs.
| name | data type | constraints | description |
|---|---|---|---|
| office | OfficeInfo | ||
| errorQueue | Queue | The queue to send any PNRs to when an error occurs involving ticketing that should be addressed immediately. | |
| agentSupportQueue | Queue | The queue to send itineraries to if the agent support action is referenced in the approval and the agent could not be found. | |
| recheckQueue | Queue | The queue to send recheck info to. | |
| accountingSystem | AccountingSystem | ||
| supportEmail | string | ||
| queueRecheck | boolean | required boolean | Flag if recheck should be delivered to the recheck queue (see above) |
| emailRecheck | boolean | required boolean | Flag if recheck should be delivered as email |
| hotelSpecialPrintDefault | string | The default value to enter into the special print on hotels being booked by this office. | |
| virtualItinAgent | string | The agent to use as the itinerary builder agent. This will add in an override for the agent. Default is ZH. | |
| virtualItinBranch | string | The branch to add as the itinerary builder branch for this office. This will add in an override for the branch. | |
| forceOverrideEdits | boolean | required boolean | Whether or not we should be overriding edits that block ending the record after an update. |
| hotelJustificationUdid | number | The UDID to retrieve the hotel justification code from for any PNR booked in the PCC. | |
| carJustificationUdid | number | The UDID to retrieve the car justification code from for any PNR booked in the PCC. | |
| domesticCountries | array of Country | A list of countries that are considered domestic by the client. | |
| totalLowFareUdid | number | The UDID to retrieve the total low fare from for any PNR booked in the PCC. | |
| totalAirJustificationUdid | number | The UDID to retrieve the total air justification code from for any PNR booked in the PCC. | |
| totalFullFareUdid | number | The UDID to retrieve the total full fare from for any PNR booked in the PCC. | |
| guestUdid | number | The UDID to retrieve the profile status from. We expect that this UDID will be present if it is a guest booking. | |
| guestDefault | boolean | required boolean | Whether or not we should assume that PNRs are guest travelers if not indicated. |
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
{
"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" : "..."
} ]
},
"errorQueue" : {
"number" : 12345,
"category" : "...",
"pcc" : "...",
"description" : "...",
"gds" : {
"code" : "...",
"name" : "...",
"enabled" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"sorts" : [ {
"push" : { },
"onRemark" : "...",
"notOnRemark" : "...",
"onOffice" : { },
"onClient" : { },
"onDepartureCity" : { },
"onArrivalCity" : { },
"description" : "...",
"onAirVendor" : { },
"notOnOffice" : { },
"onInternational" : true,
"onTicketed" : true,
"notClient" : { },
"notTicketed" : true,
"onToday" : true,
"notToday" : true,
"onInvoice" : true,
"notInvoice" : true,
"onSegments" : true,
"notSegments" : true,
"onOpenJaw" : true,
"onCircle" : true,
"onOneWay" : true,
"onRoundTrip" : true,
"notAir" : true,
"onUser" : { },
"onHotelChange" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
}, {
"push" : { },
"onRemark" : "...",
"notOnRemark" : "...",
"onOffice" : { },
"onClient" : { },
"onDepartureCity" : { },
"onArrivalCity" : { },
"description" : "...",
"onAirVendor" : { },
"notOnOffice" : { },
"onInternational" : true,
"onTicketed" : true,
"notClient" : { },
"notTicketed" : true,
"onToday" : true,
"notToday" : true,
"onInvoice" : true,
"notInvoice" : true,
"onSegments" : true,
"notSegments" : true,
"onOpenJaw" : true,
"onCircle" : true,
"onOneWay" : true,
"onRoundTrip" : true,
"notAir" : true,
"onUser" : { },
"onHotelChange" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
} ],
"airtineraryQueue" : true,
"importQueue" : true,
"availableTimeRange" : "...",
"maximumPops" : 12345,
"overrideSortCategory" : "...",
"failureQueue" : 12345,
"failureCategory" : "...",
"agentQueue" : true,
"agent" : {
"user" : { },
"agentCode" : "...",
"office" : { },
"workEmail" : "...",
"active" : "...",
"type" : "...",
"emailList" : "...",
"category" : "...",
"directLine" : "...",
"hours" : "...",
"onlineAgent" : true,
"recheckEmails" : true,
"serviceFeesPct" : 12345.0,
"otherServiceFeesPct" : 12345.0,
"internationalAirCommissionPct" : 12345.0,
"miscCommissionPct" : 12345.0,
"airCommissionPct" : 12345.0,
"hotelCommissionPct" : 12345.0,
"carCommissionPct" : 12345.0,
"employeeType" : { },
"ticketingAgent" : true,
"supportAgent" : true,
"onsiteAgent" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"failurePcc" : "...",
"agentExclusions" : [ {
"agent" : { },
"onClient" : { },
"onOffice" : { },
"onAgent" : { },
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
}, {
"agent" : { },
"onClient" : { },
"onOffice" : { },
"onAgent" : { },
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
} ],
"ticketingQueue" : true,
"validationQueue" : true,
"type" : {
"name" : "...",
"code" : "...",
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"hplQueue" : true,
"logEnabled" : true,
"airselectQueue" : true,
"defaultQueue" : { },
"autoScheduleChange" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
},
"agentSupportQueue" : {
"number" : 12345,
"category" : "...",
"pcc" : "...",
"description" : "...",
"gds" : {
"code" : "...",
"name" : "...",
"enabled" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"sorts" : [ {
"push" : { },
"onRemark" : "...",
"notOnRemark" : "...",
"onOffice" : { },
"onClient" : { },
"onDepartureCity" : { },
"onArrivalCity" : { },
"description" : "...",
"onAirVendor" : { },
"notOnOffice" : { },
"onInternational" : true,
"onTicketed" : true,
"notClient" : { },
"notTicketed" : true,
"onToday" : true,
"notToday" : true,
"onInvoice" : true,
"notInvoice" : true,
"onSegments" : true,
"notSegments" : true,
"onOpenJaw" : true,
"onCircle" : true,
"onOneWay" : true,
"onRoundTrip" : true,
"notAir" : true,
"onUser" : { },
"onHotelChange" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
}, {
"push" : { },
"onRemark" : "...",
"notOnRemark" : "...",
"onOffice" : { },
"onClient" : { },
"onDepartureCity" : { },
"onArrivalCity" : { },
"description" : "...",
"onAirVendor" : { },
"notOnOffice" : { },
"onInternational" : true,
"onTicketed" : true,
"notClient" : { },
"notTicketed" : true,
"onToday" : true,
"notToday" : true,
"onInvoice" : true,
"notInvoice" : true,
"onSegments" : true,
"notSegments" : true,
"onOpenJaw" : true,
"onCircle" : true,
"onOneWay" : true,
"onRoundTrip" : true,
"notAir" : true,
"onUser" : { },
"onHotelChange" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
} ],
"airtineraryQueue" : true,
"importQueue" : true,
"availableTimeRange" : "...",
"maximumPops" : 12345,
"overrideSortCategory" : "...",
"failureQueue" : 12345,
"failureCategory" : "...",
"agentQueue" : true,
"agent" : {
"user" : { },
"agentCode" : "...",
"office" : { },
"workEmail" : "...",
"active" : "...",
"type" : "...",
"emailList" : "...",
"category" : "...",
"directLine" : "...",
"hours" : "...",
"onlineAgent" : true,
"recheckEmails" : true,
"serviceFeesPct" : 12345.0,
"otherServiceFeesPct" : 12345.0,
"internationalAirCommissionPct" : 12345.0,
"miscCommissionPct" : 12345.0,
"airCommissionPct" : 12345.0,
"hotelCommissionPct" : 12345.0,
"carCommissionPct" : 12345.0,
"employeeType" : { },
"ticketingAgent" : true,
"supportAgent" : true,
"onsiteAgent" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"failurePcc" : "...",
"agentExclusions" : [ {
"agent" : { },
"onClient" : { },
"onOffice" : { },
"onAgent" : { },
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
}, {
"agent" : { },
"onClient" : { },
"onOffice" : { },
"onAgent" : { },
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
} ],
"ticketingQueue" : true,
"validationQueue" : true,
"type" : {
"name" : "...",
"code" : "...",
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"hplQueue" : true,
"logEnabled" : true,
"airselectQueue" : true,
"defaultQueue" : { },
"autoScheduleChange" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
},
"recheckQueue" : {
"number" : 12345,
"category" : "...",
"pcc" : "...",
"description" : "...",
"gds" : {
"code" : "...",
"name" : "...",
"enabled" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"sorts" : [ {
"push" : { },
"onRemark" : "...",
"notOnRemark" : "...",
"onOffice" : { },
"onClient" : { },
"onDepartureCity" : { },
"onArrivalCity" : { },
"description" : "...",
"onAirVendor" : { },
"notOnOffice" : { },
"onInternational" : true,
"onTicketed" : true,
"notClient" : { },
"notTicketed" : true,
"onToday" : true,
"notToday" : true,
"onInvoice" : true,
"notInvoice" : true,
"onSegments" : true,
"notSegments" : true,
"onOpenJaw" : true,
"onCircle" : true,
"onOneWay" : true,
"onRoundTrip" : true,
"notAir" : true,
"onUser" : { },
"onHotelChange" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
}, {
"push" : { },
"onRemark" : "...",
"notOnRemark" : "...",
"onOffice" : { },
"onClient" : { },
"onDepartureCity" : { },
"onArrivalCity" : { },
"description" : "...",
"onAirVendor" : { },
"notOnOffice" : { },
"onInternational" : true,
"onTicketed" : true,
"notClient" : { },
"notTicketed" : true,
"onToday" : true,
"notToday" : true,
"onInvoice" : true,
"notInvoice" : true,
"onSegments" : true,
"notSegments" : true,
"onOpenJaw" : true,
"onCircle" : true,
"onOneWay" : true,
"onRoundTrip" : true,
"notAir" : true,
"onUser" : { },
"onHotelChange" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
} ],
"airtineraryQueue" : true,
"importQueue" : true,
"availableTimeRange" : "...",
"maximumPops" : 12345,
"overrideSortCategory" : "...",
"failureQueue" : 12345,
"failureCategory" : "...",
"agentQueue" : true,
"agent" : {
"user" : { },
"agentCode" : "...",
"office" : { },
"workEmail" : "...",
"active" : "...",
"type" : "...",
"emailList" : "...",
"category" : "...",
"directLine" : "...",
"hours" : "...",
"onlineAgent" : true,
"recheckEmails" : true,
"serviceFeesPct" : 12345.0,
"otherServiceFeesPct" : 12345.0,
"internationalAirCommissionPct" : 12345.0,
"miscCommissionPct" : 12345.0,
"airCommissionPct" : 12345.0,
"hotelCommissionPct" : 12345.0,
"carCommissionPct" : 12345.0,
"employeeType" : { },
"ticketingAgent" : true,
"supportAgent" : true,
"onsiteAgent" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"failurePcc" : "...",
"agentExclusions" : [ {
"agent" : { },
"onClient" : { },
"onOffice" : { },
"onAgent" : { },
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
}, {
"agent" : { },
"onClient" : { },
"onOffice" : { },
"onAgent" : { },
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
} ],
"ticketingQueue" : true,
"validationQueue" : true,
"type" : {
"name" : "...",
"code" : "...",
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"hplQueue" : true,
"logEnabled" : true,
"airselectQueue" : true,
"defaultQueue" : { },
"autoScheduleChange" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
},
"accountingSystem" : {
"name" : "...",
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
},
"supportEmail" : "...",
"queueRecheck" : true,
"emailRecheck" : true,
"hotelSpecialPrintDefault" : "...",
"virtualItinAgent" : "...",
"virtualItinBranch" : "...",
"forceOverrideEdits" : true,
"hotelJustificationUdid" : 12345,
"carJustificationUdid" : 12345,
"domesticCountries" : [ {
"name" : "...",
"code" : "...",
"codeAlt" : "...",
"phoneCode" : 12345,
"position" : 12345,
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
}, {
"name" : "...",
"code" : "...",
"codeAlt" : "...",
"phoneCode" : 12345,
"position" : 12345,
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
} ],
"totalLowFareUdid" : 12345,
"totalAirJustificationUdid" : 12345,
"totalFullFareUdid" : 12345,
"guestUdid" : 12345,
"guestDefault" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
}