編輯

共用方式為


bookingSchedulingPolicy resource type

Namespace: microsoft.graph

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 to allow customers to choose a specific person for the booking.
customAvailabilities bookingsAvailabilityWindow collection Custom availability of the service in a given time frame.
generalAvailability bookingsAvailability General availability of the service defined by the scheduling policy.
isMeetingInviteToCustomersEnabled Boolean Indicates whether 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": "Boolean",
  "customAvailabilities": [{"@odata.type": "microsoft.graph.bookingsAvailabilityWindow"}],
  "generalAvailability": {"@odata.type": "microsoft.graph.bookingsAvailability"},
  "isMeetingInviteToCustomersEnabled": "Boolean",
  "maximumAdvance": "String (timestamp)",
  "minimumLeadTime": "String (timestamp)",
  "sendConfirmationsToOwner": "Boolean",
  "timeSlotInterval": "String (timestamp)"
}