API Reference
Scalars
Roles
Common objects
Slots
Projects
Services
Bookings
Spaces
Locations
Assets
Team
Reviews
Reminders
Webhooks
Denylist
Schema
JS SDK
Timerise © 2022
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!
}
Field name | Value type | Non-null | Description |
---|---|---|---|
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
}