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.
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 |
Fields
The fields in this section list which values can be retrieved when querying Reservation records.
Account
)
The account this record belongs to.
ConfigurationItem
)
The asset that is being reserved.
ISO8601Timestamp
)
The date and time at which the record was created.
Person
)
The person who created this reservation.
String
)
Full description of the reservation.
Int
)
The Duration field is used to specify the length of time for which the configuration item has been reserved.
ISO8601Timestamp
)
The End field is used to specify the moment at which the reservation ends.
ID!
)
Unique identifier of the record.
String
)
A short description of the reservation.
Boolean
)
true
when this single occurrence of a recurrent reservation is altered.
Person
)
The person for whom this reservation was created.
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
)
Recurrency for the reservation.
Request
)
The link to the request for reservation.
ReservationOffering
)
The link to the reservation offering that was related to the request template used to request the reservation.
String
)
An identifier for the client application submitting the resource or the name of an external system.
String
)
The unique identifier of the resource in an external system.
ISO8601Timestamp
)
The Start field is used to specify the moment at which the reservation begins.
ReservationStatus
)
The status of the reservation.
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.
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.