TripitSetting Data Type

Tripit Settings contain both the authentication information for each site as well as any information that should be included in the itinerary on Tripit's site.

Properties
name data type constraints description
key string   The promotional key that Tripit uses to identify the TMC.
secret string   The TMC's password to Tripit.
siteUrl string   The site URL to show on the booking.
siteName string   The name of the TMC to show on the booking.
sitePhone string   The phone numbers to show on the booking.
tmc TravelManagementCompany required The TMC that has a Tripit account.
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

{
  "key" : "...",
  "secret" : "...",
  "siteUrl" : "...",
  "siteName" : "...",
  "sitePhone" : "...",
  "tmc" : {
    "name" : "...",
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "id" : 12345,
  "version" : 12345,
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}