The most basic entity type in our domain. We require that there is a location open to enter violations, so that this information can be returned to the client.
| name | data type | constraints | description |
|---|---|---|---|
| ticketNumber | string | ||
| creditCardNum | string | ||
| totalFare | number | ||
| departDate | number | ||
| issueDate | number | ||
| carrierNum | string | ||
| passengerName | string | ||
| udidList | array of UdidInfo | ||
| lowFare | number | ||
| flightSummary | string | ||
| invoiceNumber | string | ||
| airlineCode | string | ||
| highFare | number | ||
| recordLocator | string | ||
| mealServiceCode | string | ||
| fareCode | string | ||
| international | boolean | required boolean | |
| baseFare | number | ||
| totalTax | number | ||
| accountId | string | ||
Properties inherited from BaseEntity |
|||
| violations | array of SimpleViolation | A list of constraint violations, if any, that this object has. | |
Example
{
"ticketNumber" : "...",
"creditCardNum" : "...",
"totalFare" : 12345.0,
"departDate" : 12345,
"issueDate" : 12345,
"carrierNum" : "...",
"passengerName" : "...",
"udidList" : [ {
"udidNum" : 12345,
"udidValue" : "...",
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
}, {
"udidNum" : 12345,
"udidValue" : "...",
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
} ],
"lowFare" : 12345.0,
"flightSummary" : "...",
"invoiceNumber" : "...",
"airlineCode" : "...",
"highFare" : 12345.0,
"recordLocator" : "...",
"mealServiceCode" : "...",
"fareCode" : "...",
"international" : true,
"baseFare" : 12345.0,
"totalTax" : 12345.0,
"accountId" : "...",
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
}