HotelSegmentRemark Data Type

An element that represents remarks for Hotel segments.

Properties
name data type constraints description
segment HotelSegment required A segment ID for these remarks.
text string max size: 128, min size: 0 Text of the remark.
number number   The position of this remark.
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

{
  "segment" : {
    "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,
      "sertifiCode" : "...",
      "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,
      "canceled" : 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" : [ { }, { } ]
    },
    "canceled" : true,
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "text" : "...",
  "number" : 12345,
  "id" : 12345,
  "version" : 12345,
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}