bookingService resource type

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported.

Represents information about a particular service provided by a bookingBusiness, such as the service name, price, and the staff that usually provides such service.

Methods

Method Return Type Description
List services bookingService collection Get a list of bookingService objects in the specified bookingbusiness.
Create bookingService bookingService Create a bookingService for the specified bookingbusiness.
Get bookingService bookingService Get the properties and relationships of a bookingService object in the specified bookingbusiness.
Update bookingService Update a bookingService object in the specified bookingbusiness.
Delete None Delete a bookingService object in the specified bookingbusiness.

Properties

Property Type Description
defaultDuration Duration The default length of the service, represented in numbers of days, hours, minutes, and seconds. For example, P11D23H59M59.999999999999S.
defaultLocation location The default physical location for the service.
defaultPrice Double The default monetary price for the service.
defaultPriceType string The default way the service is charged. Possible values are: undefined, fixedPrice, startingAt, hourly, free, priceVaries, callUs, notSet.
defaultReminders bookingReminder collection The default set of reminders for an appointment of this service. The value of this property is available only when reading this bookingService by its ID.
description String A text description for the service.
displayName String A service name.
emailAddress String An email address
id String The ID of that service, in a GUID format. Read-only.
isHiddenFromCustomers Boolean True means this service is not available to customers for booking.
notes String Additional information about this service.
postBuffer Duration The time to buffer after an appointment for this service ends, and before the next customer appointment can be booked.
preBuffer Duration The time to buffer before an appointment for this service can start.
schedulingPolicy bookingSchedulingPolicy The set of policies that determine how appointments for this type of service should be created and managed.
staffMemberIds String collection Represents those staff members who provide this service.

Relationships

None

JSON representation

The following is a JSON representation of the resource.

{
  "defaultDuration": "String (timestamp)",
  "defaultLocation": {"@odata.type": "microsoft.graph.location"},
  "defaultPrice": 1024,
  "defaultPriceType": "string",
  "defaultReminders": [{"@odata.type": "microsoft.graph.bookingReminder"}],
  "description": "String",
  "displayName": "String",
  "emailAddress": "String",
  "id": "String (identifier)",
  "isHiddenFromCustomers": true,
  "notes": "String",
  "postBuffer": "String (timestamp)",
  "preBuffer": "String (timestamp)",
  "schedulingPolicy": {"@odata.type": "microsoft.graph.bookingSchedulingPolicy"},
  "staffMemberIds": ["String"]
}