HotelJustification Data Type

Different codes that represent the justification of why a hotel was not booked or why the preferred hotel was not chosen. Created by nick on 5/22/15.

Properties
name data type constraints description
code string   The code for this justification.
description string   The description of the justification.
allowsHotelAttachment boolean required boolean Whether or not a hotel attachment reminder should be sent if this justification is entered.
bcdCode string   The BCD version of this code.
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

{
  "code" : "...",
  "description" : "...",
  "allowsHotelAttachment" : true,
  "bcdCode" : "...",
  "id" : 12345,
  "version" : 12345,
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}