Provides contact information for a client. Also should match gds information for this client.
| name | data type | constraints | description |
|---|---|---|---|
| client | Client | required | The client that this contact info is for. |
| contactName | string | Name of the person who is the clients contact. | |
| contactPhone | string | Phone number of the client's contact person. | |
| contactEmail | string | Contact email of the clients contact person. | |
| fax | string | Contact fax number for the client. | |
| address1 | string | First line of address for this client | |
| address2 | string | Second line of address for this client | |
| city | string | City of address for this client | |
| state | string | State/Country of address for this client | |
| zip | string | Postal code of address for this client | |
| phone | string | Phone number of the client. | |
| ext | string | ||
| travelManagerContactName | string | Name number of the client's travel manager contact. | |
| travelManagerContactPhone | number | Phone number of the client's travel manager contact. | |
| travelManagerContactEmail | string | Email number of the client's travel manager contact. | |
| country | Country | ||
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
{
"client" : {
"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" : "..."
} ]
},
"contactName" : "...",
"contactPhone" : "...",
"contactEmail" : "...",
"fax" : "...",
"address1" : "...",
"address2" : "...",
"city" : "...",
"state" : "...",
"zip" : "...",
"phone" : "...",
"ext" : "...",
"travelManagerContactName" : "...",
"travelManagerContactPhone" : 12345,
"travelManagerContactEmail" : "...",
"country" : {
"name" : "...",
"code" : "...",
"codeAlt" : "...",
"phoneCode" : 12345,
"position" : 12345,
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
},
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
}