Slots

Slots overview

A slot is a single unit of time that the service is available for execution. It is possible to set slots of unavailability so that they are not visible to users on booking sites.

Object types

Slot

type Slot {
	slotId: ID!
	slotGroupId: ID!
	slotType: SlotType!
	quantity: NonNegativeInt!
	dateTimeFrom: DateTime
	dateTimeTo: DateTime
	duration: Duration
	title: NonEmptyString
	createdAt: DateTime!
	updatedAt: DateTime!
}

Slot fields

Field nameValue typeNon-nullDescription
slotId
ID
true
A globally-unique identifier.
slotGroupId
ID
true
A globally-unique identifier.
slotType
SlotType
true
A globally-unique identifier.
quantity
NonNegativeInt
true
dateTimeFrom
DateTime
false
dateTimeTo
DateTime
false
duration
Duration
false
title
String
false
createdAt
DateTime
true
The date and time when a slot was created.
updatedAt
DateTime
true
The date and time when a slot was updated.

Enums

SlotType

enum SlotType {
	AVAILABLE
	UNAVAILABLE
} 

SlotType valid values

Valid valueDescription
AVAILABLE
UNAVAILABLE