Skip to main content

Hotel

Represents a hotel.

type Hotel {
address: HotelAddress
createdAt: DateTime!
createdBy: String
customFields(
input: CustomFieldSearchFilterInput! = [object Object]
limit: PaginationLimit! = 100
offset: NonNegativeInt! = 0
): [CustomField!]!
id: ID!
lastModifiedAt: DateTime!
lastModifiedBy: String
name: String!
roomTypes: [RoomType!]!
standardCheckInTime: LocalTime
standardCheckOutTime: LocalTime
uniqueCode: String
}

Fields

Hotel.address ● HotelAddress object

The address of the hotel. Optional.

Hotel.createdAt ● DateTime! non-null scalar

The date and time the record was created.

Hotel.createdBy ● String scalar

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

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

A list of custom field values associated with this hotel.

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).
Hotel.customFields.input ● CustomFieldSearchFilterInput! non-null input
Hotel.customFields.limit ● PaginationLimit! non-null scalar
Hotel.customFields.offset ● NonNegativeInt! non-null scalar

Hotel.id ● ID! non-null scalar

The unique identifier for the hotel.

Hotel.lastModifiedAt ● DateTime! non-null scalar

The date and time the record was last modified.

Hotel.lastModifiedBy ● String scalar

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

Hotel.name ● String! non-null scalar

A UTF-8 string representing the name of the hotel.

Hotel.roomTypes ● [RoomType!]! non-null object

The different types of rooms available in the hotel.

Hotel.standardCheckInTime ● LocalTime scalar

The standard check-in time for bookings made at this hotel. Optional.

Hotel.standardCheckOutTime ● LocalTime scalar

The standard check-out time for bookings made at this hotel. Optional.

Hotel.uniqueCode ● String scalar

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

The value must be unique across all hotels for an event.

Member Of

AccommodationSetup object ● HotelBooking object ● RoomType object