Skip to main content

TravelType

Defines a Travel Type managed by EventsAir.

For example, a Travel Type can be for:

  • Airline travel
  • Rail travel
  • Bus travel
  • International travel
  • Domestic travel
  • Any other designation that you want to define your travel types against
type TravelType {
createdAt: DateTime!
createdBy: String
customFields(
input: CustomFieldSearchFilterInput! = [object Object]
limit: PaginationLimit! = 100
offset: NonNegativeInt! = 0
): [CustomField!]!
id: ID!
lastModifiedAt: DateTime!
lastModifiedBy: String
name: String!
uniqueCode: String
}

Fields

TravelType.createdAt ● DateTime! non-null scalar

The date and time the record was created.

TravelType.createdBy ● String scalar

UTF-8 string value that represents the username of the user who created the record. Optional.

TravelType.customFields ● [CustomField!]! non-null object

A list of custom field values associated with this travel type.

CustomFields and CustomFieldDefinitions can be matched through the definitionId and id fields, respectively.

See CustomFieldSearchFilterInput for details on how the optional input argument can be used to filter custom fields.

Optionally, the offset and limit arguments can be used to page through multiple items:

  • offset must be a non-negative integer (defaults to 0).
  • limit must be a positive integer from 1 to 2000 (defaults to 100).
TravelType.customFields.input ● CustomFieldSearchFilterInput! non-null input
TravelType.customFields.limit ● PaginationLimit! non-null scalar
TravelType.customFields.offset ● NonNegativeInt! non-null scalar

TravelType.id ● ID! non-null scalar

The unique identifier for a travel type.

TravelType.lastModifiedAt ● DateTime! non-null scalar

The date and time the record was last modified.

TravelType.lastModifiedBy ● String scalar

UTF-8 string value that represents the username of the user who last modified the record. Optional.

TravelType.name ● String! non-null scalar

A UTF-8 string representing the name of the travel type.

TravelType.uniqueCode ● String scalar

A customer supplied, UTF-8 string value that represents a unique code for the travel type. Optional.

The value must be unique across all travel types for an event.

Member Of

Sector object ● TravelBooking object ● TravelSetup object