EncompassPurchaseLog Data Type

Created with IntelliJ IDEA. User: kstauffe Date: 9/20/13 Time: 10:21 AM To change this template use File | Settings | File Templates.

Properties
name data type constraints description
hotelSegments array of HotelSegment  
timestamp number  
plogId string required
number string required
activeFromDate number required
activeToDate number required
expireDate number required
cvc string required
creditLimit number required
bufferPercent number required
canceled boolean required
canceledTimestamp number  
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

{
  "hotelSegments" : [ {
    "confirmationNumber" : "...",
    "frequentGuestNumber" : "...",
    "corporateDiscountNumber" : "...",
    "guestName" : "...",
    "travelerName" : "...",
    "numberOfRooms" : 12345,
    "notes" : "...",
    "checkIn" : "...",
    "checkOut" : "...",
    "roomDescription" : "...",
    "roomType" : "...",
    "cancellationNumber" : "...",
    "cancellationPolicy" : "...",
    "guaranteeRequirements" : "...",
    "guaranteeInformation" : "...",
    "checkOutPenalty" : "...",
    "numberOfGuests" : 12345,
    "numberOfChildren" : 12345,
    "hotel" : {
      "address1" : "...",
      "address2" : "...",
      "phone1" : "...",
      "phone2" : "...",
      "fax" : "...",
      "zip" : "...",
      "city" : { },
      "vendor" : { },
      "latitude" : 12345.0,
      "longitude" : 12345.0,
      "propertyName" : "...",
      "propertyCodes" : [ { }, { } ],
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "rateInfo" : "...",
    "rateDesc" : "...",
    "totalAmount" : 12345.0,
    "taxRate" : 12345.0,
    "taxCharge" : 12345.0,
    "addCharge" : 12345.0,
    "specialPrint" : "...",
    "commissionAmount" : 12345.0,
    "inGds" : true,
    "utcCheckIn" : 12345,
    "utcCheckOut" : 12345,
    "number" : 12345,
    "status" : {
      "code" : "...",
      "description" : "...",
      "accepted" : true,
      "confirmed" : true,
      "virtual" : true,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "startDate" : "...",
    "endDate" : "...",
    "UTCStartDate" : 12345,
    "UTCEndDate" : 12345,
    "startTimeZoneName" : "...",
    "endTimeZoneName" : "...",
    "startCity" : {
      "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" : [ { }, { } ]
    },
    "endCity" : {
      "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" : [ { }, { } ]
    },
    "domestic" : true,
    "postTravel" : true,
    "itinerary" : {
      "recordLocator" : "...",
      "agentName" : "...",
      "client" : { },
      "office" : { },
      "departureDate" : 12345,
      "completionDate" : 12345,
      "importDate" : 12345,
      "gds" : { },
      "hide" : true,
      "citySummary" : "...",
      "departureCity" : { },
      "arrivalCity" : { },
      "arrivalDate" : 12345,
      "utcArrivalDate" : 12345,
      "startDate" : 12345,
      "endDate" : 12345,
      "purpose" : "...",
      "explanation" : "...",
      "authorizationCode" : "...",
      "costCenterCode" : "...",
      "departmentCode" : "...",
      "clientCode" : "...",
      "regionCode" : "...",
      "billable" : "...",
      "travelerCode" : "...",
      "managerCode" : "...",
      "projectCode" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  }, {
    "confirmationNumber" : "...",
    "frequentGuestNumber" : "...",
    "corporateDiscountNumber" : "...",
    "guestName" : "...",
    "travelerName" : "...",
    "numberOfRooms" : 12345,
    "notes" : "...",
    "checkIn" : "...",
    "checkOut" : "...",
    "roomDescription" : "...",
    "roomType" : "...",
    "cancellationNumber" : "...",
    "cancellationPolicy" : "...",
    "guaranteeRequirements" : "...",
    "guaranteeInformation" : "...",
    "checkOutPenalty" : "...",
    "numberOfGuests" : 12345,
    "numberOfChildren" : 12345,
    "hotel" : {
      "address1" : "...",
      "address2" : "...",
      "phone1" : "...",
      "phone2" : "...",
      "fax" : "...",
      "zip" : "...",
      "city" : { },
      "vendor" : { },
      "latitude" : 12345.0,
      "longitude" : 12345.0,
      "propertyName" : "...",
      "propertyCodes" : [ { }, { } ],
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "rateInfo" : "...",
    "rateDesc" : "...",
    "totalAmount" : 12345.0,
    "taxRate" : 12345.0,
    "taxCharge" : 12345.0,
    "addCharge" : 12345.0,
    "specialPrint" : "...",
    "commissionAmount" : 12345.0,
    "inGds" : true,
    "utcCheckIn" : 12345,
    "utcCheckOut" : 12345,
    "number" : 12345,
    "status" : {
      "code" : "...",
      "description" : "...",
      "accepted" : true,
      "confirmed" : true,
      "virtual" : true,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "startDate" : "...",
    "endDate" : "...",
    "UTCStartDate" : 12345,
    "UTCEndDate" : 12345,
    "startTimeZoneName" : "...",
    "endTimeZoneName" : "...",
    "startCity" : {
      "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" : [ { }, { } ]
    },
    "endCity" : {
      "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" : [ { }, { } ]
    },
    "domestic" : true,
    "postTravel" : true,
    "itinerary" : {
      "recordLocator" : "...",
      "agentName" : "...",
      "client" : { },
      "office" : { },
      "departureDate" : 12345,
      "completionDate" : 12345,
      "importDate" : 12345,
      "gds" : { },
      "hide" : true,
      "citySummary" : "...",
      "departureCity" : { },
      "arrivalCity" : { },
      "arrivalDate" : 12345,
      "utcArrivalDate" : 12345,
      "startDate" : 12345,
      "endDate" : 12345,
      "purpose" : "...",
      "explanation" : "...",
      "authorizationCode" : "...",
      "costCenterCode" : "...",
      "departmentCode" : "...",
      "clientCode" : "...",
      "regionCode" : "...",
      "billable" : "...",
      "travelerCode" : "...",
      "managerCode" : "...",
      "projectCode" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  } ],
  "timestamp" : 12345,
  "plogId" : "...",
  "number" : "...",
  "activeFromDate" : 12345,
  "activeToDate" : 12345,
  "expireDate" : 12345,
  "cvc" : "...",
  "creditLimit" : 12345,
  "bufferPercent" : 12345,
  "canceled" : true,
  "canceledTimestamp" : 12345,
  "id" : 12345,
  "version" : 12345,
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}