Перейти к содержимому
R-Service R-Service
Руководство разработчика RR Tech Service Management

reservationOfferingCreate Mutation

Эта документация пока недоступна на вашем языке, поэтому показана английская версия.

Creates a new reservation offering.

reservationOfferingCreate accepts a single input argument, an input type , which contains the values it uses.

The fields inside input are:

allowRepeat ( Boolean )

Whether it is allowed to create recurrent reservations for this offering.

calendarId ( ID! )

Calendar that defines the hours in which reservations may start and end.

clientMutationId ( String )

A unique identifier for the client performing the mutation.

configurationItemIds ( ID )

Identifiers of the configuration items that may be reserved using this offering.

disabled ( Boolean )

Whether the reservation offering may not be used to register requests for reservation.

filters ( String )

The filters of the reservation offering.

initialStatus ( ReservationStatus )

The initial status of the reservation.

maxAdvanceDuration ( Int )

The maximum duration between the creation time of a request for reservation and the requested start of the reservation.

maxDuration ( Int! )

The maximum duration of the reservation within the hours of the calendar.

minAdvanceDuration ( Int )

The minimum duration between the creation time of a request for reservation and the requested start of the reservation.

minDuration ( Int! )

The minimum duration of the reservation within the hours of the calendar.

multiDay ( Boolean )

Whether or not the reservation may span over multiple calendar days.

name ( String! )

A short description of the reservation offering

preparationDuration ( Int )

The duration required to prepare the asset before the reservation starts.

privateReservations ( Boolean )

Reservations of this reservation offering are private and can not be viewed by other end users.

serviceInstanceId ( ID )

Identifier of the service instance for which the reservations may be requested.

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.

stepDuration ( Int! )

The increments with which the reservation may be prolonged.

timeZone ( TimeZone! )

The time zone that applies to the selected calendar.

clientMutationId ( String )

A unique identifier for the client performing the mutation.

errors ( ValidationError )

Errors encountered during the mutation.

reservationOffering ( ReservationOffering )

Record after mutation.