reservationCreate Mutation
Bu içerik henüz dilinizde mevcut değil.
Creates a new reservation.
Input Argument
Заголовок раздела «Input Argument»reservationCreate accepts a single
input
argument, an
input type
,
which contains the values it uses.
The fields inside
input
are:
clientMutationId (
String
)
A unique identifier for the client performing the mutation.
configurationItemId (
ID!
)
Identifier of the asset that is being reserved.
createdById (
ID
)
Identifier of the person who created this reservation.
description (
String
)
Full description of the reservation
descriptionAttachments (
AttachmentInput
)
The attachments used in the
description
field.
duration (
Int
)
The duration of the reservation during the calendar hours of the reservation offering.
endAt (
ISO8601Timestamp
)
Used to specify the end date and time of the reservation.
name (
String!
)
A short description of the reservation
personId (
ID!
)
Identifier of 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 (
ReservationRecurrenceInput
)
Recurrence for the reservation.
requestId (
ID
)
Identifier of the request for reservation.
reservationOfferingId (
ID!
)
Identifier of the reservation offering that was used to create this 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!
)
Used to specify the start date and time of the reservation.
status (
ReservationStatus
)
The status of the reservation.
Return Fields
Заголовок раздела «Return Fields»clientMutationId (
String
)
A unique identifier for the client performing the mutation.
errors (
ValidationError
)
Errors encountered during the mutation.
reservation (
Reservation
)
Record after mutation.