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!
paymentStatuses: [PaymentStatus!]!
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:
offsetmust be a non-negative integer (defaults to0).limitmust be a positive integer from1to2000(defaults to100).
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.paymentStatuses ● [PaymentStatus!]! non-null enum
A list of valid payment statuses for this 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