An object defining the basic abilities we want all of our hibernate objects to have.
| name | data type | description |
|---|---|---|
| travelManagementCorp | Client | |
| template | EmailTemplate | |
| notificationTemplate | EmailTemplate | |
| promotionalText | string | |
| promotionalUrl | string | |
| welcomeTemplate | EmailTemplate | |
| passwordTemplate | EmailTemplate | |
| travelRequestTemplate | EmailTemplate | |
| pvstmcid | string | A key used with PVSGlobal to identify the TMC. |
| pvstransid | string | A key used with PVSGlobal to identify the TMC. |
| wt0Template | EmailTemplate | |
| unusedTicketTemplate | EmailTemplate | |
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
{
"travelManagementCorp" : {
"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" : "..."
} ]
},
"template" : {
"subject" : "...",
"code" : "...",
"name" : "...",
"htmlContent" : "...",
"design" : {
"header" : "...",
"footer" : "...",
"style" : "...",
"includeUnsubscribeLink" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"fromName" : "...",
"fromAddress" : "...",
"hostPort" : "...",
"textContent" : "...",
"smtpHost" : "...",
"hostUser" : "...",
"hostPassword" : "...",
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
},
"notificationTemplate" : {
"subject" : "...",
"code" : "...",
"name" : "...",
"htmlContent" : "...",
"design" : {
"header" : "...",
"footer" : "...",
"style" : "...",
"includeUnsubscribeLink" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"fromName" : "...",
"fromAddress" : "...",
"hostPort" : "...",
"textContent" : "...",
"smtpHost" : "...",
"hostUser" : "...",
"hostPassword" : "...",
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
},
"promotionalText" : "...",
"promotionalUrl" : "...",
"welcomeTemplate" : {
"subject" : "...",
"code" : "...",
"name" : "...",
"htmlContent" : "...",
"design" : {
"header" : "...",
"footer" : "...",
"style" : "...",
"includeUnsubscribeLink" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"fromName" : "...",
"fromAddress" : "...",
"hostPort" : "...",
"textContent" : "...",
"smtpHost" : "...",
"hostUser" : "...",
"hostPassword" : "...",
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
},
"passwordTemplate" : {
"subject" : "...",
"code" : "...",
"name" : "...",
"htmlContent" : "...",
"design" : {
"header" : "...",
"footer" : "...",
"style" : "...",
"includeUnsubscribeLink" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"fromName" : "...",
"fromAddress" : "...",
"hostPort" : "...",
"textContent" : "...",
"smtpHost" : "...",
"hostUser" : "...",
"hostPassword" : "...",
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
},
"travelRequestTemplate" : {
"subject" : "...",
"code" : "...",
"name" : "...",
"htmlContent" : "...",
"design" : {
"header" : "...",
"footer" : "...",
"style" : "...",
"includeUnsubscribeLink" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"fromName" : "...",
"fromAddress" : "...",
"hostPort" : "...",
"textContent" : "...",
"smtpHost" : "...",
"hostUser" : "...",
"hostPassword" : "...",
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
},
"pvstmcid" : "...",
"pvstransid" : "...",
"wt0Template" : {
"subject" : "...",
"code" : "...",
"name" : "...",
"htmlContent" : "...",
"design" : {
"header" : "...",
"footer" : "...",
"style" : "...",
"includeUnsubscribeLink" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"fromName" : "...",
"fromAddress" : "...",
"hostPort" : "...",
"textContent" : "...",
"smtpHost" : "...",
"hostUser" : "...",
"hostPassword" : "...",
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
},
"unusedTicketTemplate" : {
"subject" : "...",
"code" : "...",
"name" : "...",
"htmlContent" : "...",
"design" : {
"header" : "...",
"footer" : "...",
"style" : "...",
"includeUnsubscribeLink" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"fromName" : "...",
"fromAddress" : "...",
"hostPort" : "...",
"textContent" : "...",
"smtpHost" : "...",
"hostUser" : "...",
"hostPassword" : "...",
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
},
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
}