HotelBooking
The details of a hotel booking for a contact.
type HotelBooking {
checkInDate: LocalDate!
checkInEstimatedTime: LocalTime
checkOutDate: LocalDate!
checkOutEstimatedTime: LocalTime
contact: Contact!
createdAt: DateTime!
createdBy: String
customFields(
input: CustomFieldSearchFilterInput! = [object Object]
limit: PaginationLimit! = 100
offset: NonNegativeInt! = 0
): [CustomField!]!
hotel: Hotel!
id: ID!
lastModifiedAt: DateTime!
lastModifiedBy: String
paymentStatus: PaymentStatus!
roomType: RoomType!
sharingWith: String
}
Fields
HotelBooking.checkInDate
● LocalDate!
non-null scalar
The check-in date of the hotel booking.
HotelBooking.checkInEstimatedTime
● LocalTime
scalar
The estimated check-in time of the hotel booking. Optional.
HotelBooking.checkOutDate
● LocalDate!
non-null scalar
The check-out date of the hotel booking.
HotelBooking.checkOutEstimatedTime
● LocalTime
scalar
The estimated check-out time of the hotel booking. Optional.
HotelBooking.contact
● Contact!
non-null object
The contact who the booking is made for.
HotelBooking.createdAt
● DateTime!
non-null scalar
The date and time the record was created.
HotelBooking.createdBy
● String
scalar
UTF-8 string value that represents the username of the user who created the record. Optional.
HotelBooking.customFields
● [CustomField!]!
non-null object
A list of custom field values associated with this hotel booking.
CustomField
s and CustomFieldDefinition
s 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 to0
).limit
must be a positive integer from1
to2000
(defaults to100
).
HotelBooking.customFields.input
● CustomFieldSearchFilterInput!
non-null input
HotelBooking.customFields.limit
● PaginationLimit!
non-null scalar
HotelBooking.customFields.offset
● NonNegativeInt!
non-null scalar
HotelBooking.hotel
● Hotel!
non-null object
The hotel in which the booking is made.
HotelBooking.id
● ID!
non-null scalar
The unique identifier for the hotel booking.
HotelBooking.lastModifiedAt
● DateTime!
non-null scalar
The date and time the record was last modified.
HotelBooking.lastModifiedBy
● String
scalar
UTF-8 string value that represents the username of the user who last modified the record. Optional.
HotelBooking.paymentStatus
● PaymentStatus!
non-null enum
The payment status of the hotel booking.
HotelBooking.roomType
● RoomType!
non-null object
The room type against which the booking is made.
HotelBooking.sharingWith
● String
scalar
The name(s) of the person/people the contact is sharing this hotel booking with. Optional.