GroUdid Data Type

A GRO UDID is a configuration that allows us to map UDIDs to specific columns in the GRO Report that we send to BCD. Created by nick on 2/1/16.

Properties
name data type description
groColumn number The ID of the column in the GRO Report to use. This will match with static values in the GroProvider.
udid ClientUdid The UDID that this column in the GRO Report will match to.
info GroReportInfo The GRO Report that this udid column configuration belongs to.
defaultValue string A default value to add into this field when empty.
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

{
  "groColumn" : 12345,
  "udid" : {
    "client" : {
      "status" : { },
      "parentClient" : { },
      "accountNumber" : "...",
      "name" : "...",
      "type" : { },
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "name" : "...",
    "number" : 12345,
    "example" : "...",
    "notes" : "...",
    "complexNotes" : "...",
    "linkageType" : 12345,
    "code" : {
      "name" : "...",
      "code" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "office" : {
      "pcc" : "...",
      "name" : "...",
      "address1" : "...",
      "address2" : "...",
      "address3" : "...",
      "city" : "...",
      "state" : "...",
      "zip" : "...",
      "parentCompany" : { },
      "active" : "...",
      "branch" : "...",
      "clientPrefix" : "...",
      "profileSettings" : { },
      "afterHoursNumber" : "...",
      "collectVoidLogs" : true,
      "gds" : { },
      "arcNumber" : "...",
      "logo" : "...",
      "logoLink" : "...",
      "afterHoursInternationalNumber" : "...",
      "tollFreeNumber" : "...",
      "phoneNumber" : "...",
      "onlineOffice" : { },
      "showTmcAppLinks" : true,
      "vipTollFree" : "...",
      "vipAfterHours" : "...",
      "cityCode" : { },
      "tmcHeadQuarters" : true,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "tmc" : {
      "status" : { },
      "parentClient" : { },
      "accountNumber" : "...",
      "name" : "...",
      "type" : { },
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "policyRules" : [ {
      "value" : "...",
      "moveToClient" : { },
      "description" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    }, {
      "value" : "...",
      "moveToClient" : { },
      "description" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    } ],
    "required" : true,
    "guestInstructions" : "...",
    "list" : true,
    "maximum" : 12345,
    "minimum" : 12345,
    "reportField" : 12345,
    "datatype" : 12345,
    "complex" : true,
    "inApproval" : true,
    "priority" : 12345,
    "enabled" : true,
    "guest" : true,
    "profiled" : true,
    "traveler" : true,
    "trip" : true,
    "approver" : true,
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "info" : {
    "client" : {
      "status" : { },
      "parentClient" : { },
      "accountNumber" : "...",
      "name" : "...",
      "type" : { },
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "currency" : "...",
    "vatInclusion" : "...",
    "vatAmount" : 12345.0,
    "supplierCode" : "...",
    "countryCode" : "...",
    "iataOfficeCode" : "...",
    "hotelVoucherType" : "...",
    "bcdNumber" : "...",
    "supplierCity" : {
      "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" : [ { }, { } ]
    },
    "udidConfigs" : [ {
      "groColumn" : 12345,
      "udid" : { },
      "info" : { },
      "defaultValue" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    }, {
      "groColumn" : 12345,
      "udid" : { },
      "info" : { },
      "defaultValue" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    } ],
    "refundedFareColumn" : 12345,
    "refundedCurrencyColumn" : 12345,
    "maskCreditCards" : true,
    "fileNameSuffix" : "...",
    "filterUdid" : {
      "client" : { },
      "name" : "...",
      "number" : 12345,
      "example" : "...",
      "notes" : "...",
      "complexNotes" : "...",
      "linkageType" : 12345,
      "code" : { },
      "office" : { },
      "tmc" : { },
      "policyRules" : [ { }, { } ],
      "required" : true,
      "guestInstructions" : "...",
      "list" : true,
      "maximum" : 12345,
      "minimum" : 12345,
      "reportField" : 12345,
      "datatype" : 12345,
      "complex" : true,
      "inApproval" : true,
      "priority" : 12345,
      "enabled" : true,
      "guest" : true,
      "profiled" : true,
      "traveler" : true,
      "trip" : true,
      "approver" : true,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "filterUdidValue" : "...",
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "defaultValue" : "...",
  "id" : 12345,
  "version" : 12345,
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}