Udids to validate whether they exist or whether they have a certain value before allowing the PNR to be ticketed. Created by nick on 5/6/14.
| name | data type | description |
|---|---|---|
| value | string | The value to watch for. |
| moveToClient | Client | The client to move the itinerary to if it matches the value given in this rule. |
| description | string | A short description on what this rule or value means. |
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
{
"value" : "...",
"moveToClient" : {
"status" : {
"name" : "...",
"active" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"parentClient" : { },
"accountNumber" : "...",
"name" : "...",
"type" : {
"name" : "...",
"hide" : true,
"level" : 12345,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
},
"description" : "...",
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
}