Reservation Object

Root Connection

All Reservation objects of an account are accessible by a query on the root connection reservations. Such a query will return a ReservationConnection!, which contains the Reservation objects in its nodes field.

reservations (ReservationConnection!)

Root connection for retrieving Reservation records.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

filter ReservationFilter

Filter to determine which Reservation records are returned.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

order [ReservationOrder!]

Order of the Reservation records returned.

view ReservationView

View name.

The default value is current_account.

Fields

The fields in this section list which values can be retrieved when querying Reservation records.

account (Account)

The account this record belongs to.

configurationItem (ConfigurationItem)

The asset that is being reserved.

createdAt (ISO8601Timestamp)

The date and time at which the record was created.

createdBy (Person)

The person who created this reservation.

description (String)

Full description of the reservation.

duration (Int)

The Duration field is used to specify the length of time for which the configuration item has been reserved.

endAt (ISO8601Timestamp)

The End field is used to specify the moment at which the reservation ends.

id (ID!)

Unique identifier of the record.

name (String)

A short description of the reservation.

onlyThisOccurrence (Boolean)

true when this single occurrence of a recurrent reservation is altered.

person (Person)

The person for whom this reservation was created.

preparationStartAt (ISO8601Timestamp)

The start date and time of the preparation of the asset for the reservation. Only present in case the reservation offering specifies a preparation duration.

recurrence (Recurrence)

Recurrency for the reservation.

request (Request)

The link to the request for reservation.

reservationOffering (ReservationOffering)

The link to the reservation offering that was related to the request template used to request the reservation.

source (String)

An identifier for the client application submitting the resource or the name of an external system.

sourceID (String)

The unique identifier of the resource in an external system.

startAt (ISO8601Timestamp)

The Start field is used to specify the moment at which the reservation begins.

status (ReservationStatus)

The status of the reservation.

updatedAt (ISO8601Timestamp)

The date and time of the last update of the record. If the record has no updates it contains the createdAt value.

Connections

The connection fields in this section allow (paged) access to objects related to a specific Reservation record. The actual objects will be in the nodes field of the connection.

descriptionAttachments (AttachmentConnection)

Inline images linked to the Description field.

Argument Type Description
after String

Returns the elements in the list that come after the specified cursor.

before String

Returns the elements in the list that come before the specified cursor.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

Implements

Reservation implements the following interfaces. This means that fragments defined on these interfaces may be used in queries returning a Reservation.