bookingSchedulingPolicy resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents the set of policies that determine how appointments should be created in a Microsoft Bookings calendar.

Note

If the Default Scheduling Policy is enabled at the service level, the values of this resource are limited to those defined in the policy in the List services API response. In this case, the client must fall back to the Default Scheduling Policy for the business.

Properties

Property Type Description
allowStaffSelection Boolean True if to allow customers to choose a specific person for the booking.
customAvailabilities bookingsAvailabilityWindow collection Custom availability of the service in a given time frame of the service.
generalAvailability bookingsAvailability General availability of the service defined by the scheduling policy.
isMeetingInviteToCustomersEnabled Boolean Indicates if the meeting invite is sent to the customers. The default value is false
maximumAdvance Duration Maximum number of days in advance that a booking can be made. It follows the ISO 8601 format.
minimumLeadTime Duration The minimum amount of time before which bookings and cancellations must be made. It follows the ISO 8601 format.
sendConfirmationsToOwner Boolean True to notify the business via email when a booking is created or changed. Use the email address specified in the email property of the bookingBusiness entity for the business.
timeSlotInterval Duration Duration of each time slot, denoted in ISO 8601 format.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "allowStaffSelection": true,
  "maximumAdvance": "String (timestamp)",
  "minimumLeadTime": "String (timestamp)",
  "sendConfirmationsToOwner": true,
  "timeSlotInterval": "String (timestamp)",
  "isMeetingInviteToCustomersEnabled": "Boolean",
  "generalAvailability": {
    "@odata.type": "microsoft.graph.bookingsAvailability"
  },
  "customAvailabilities": [
    {
      "@odata.type": "microsoft.graph.bookingsAvailabilityWindow"
    }
  ]
}