bookingStaffMember resource type
Namespace: microsoft.graph
Represents a staff member who provides services in a bookingBusiness.
Staff members can be part of the Microsoft 365 tenant where the booking business is configured, or they can use email services from other email providers.
When booking appointments, the Bookings API considers the following settings to determine a staff member's availability:
- By default, the hours of operation of the business (the businessHours property of the bookingBusiness entity) represents the general availability of the staff member.
- If useBusinessHours is false, then the staff member's specific work hours (workingHours property of the bookingStaffmember entity) represents that member's general availability.
- If availabilityIsAffectedByPersonalCalendar is true, then the Bookings API would first look at the staff member's generally available hours (as determined by either #1 or #2), and verify availability during those hours in the staff member's personal calendar, before making a booking.
Inherits from bookingStaffMemberBase.
Microsoft Bookings supports a maximum of 100 staff members in a booking calendar.
Methods
Method | Return Type | Description |
---|---|---|
List staff members | bookingStaffMember collection | Get a list of bookingStaffMember objects in the specified bookingBusiness. |
Create bookingStaff | bookingStaffMember collection | Create a new bookingStaffMember in the specified bookingBusiness. |
Get bookingStaffMember | bookingStaffMember | Get the properties and relationships of a bookingStaffMember in the specified bookingBusiness. |
Update | None | Update the properties of a bookingStaffMember in the specified bookingBusiness. |
Delete | None | Delete a staff member in the specified bookingBusiness. |
Properties
Property | Type | Description |
---|---|---|
availabilityIsAffectedByPersonalCalendar | Boolean | True means that if the staff member is a Microsoft 365 user, the Bookings API would verify the staff member's availability in their personal calendar in Microsoft 365, before making a booking. |
displayName | String | The name of the staff member, as displayed to customers. Required. |
emailAddress | String | The email address of the staff member. This can be in the same Microsoft 365 tenant as the business, or in a different email domain. This email address can be used if the sendConfirmationsToOwner property is set to true in the scheduling policy of the business. Required. |
id | String | The ID of the staff member, in a GUID format. Read-only. |
isEmailNotificationEnabled | Boolean | True indicates that a staff member will be notified via email when a booking assigned to them is created or changed. |
role | bookingStaffRole | The role of the staff member in the business. Possible values are: guest , administrator , viewer , externalGuest , unknownFutureValue , scheduler , teamMember . Note that you must use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: scheduler , teamMember . Required. |
timeZone | String | The time zone of the staff member. For a list of possible values, see dateTimeTimeZone. |
useBusinessHours | Boolean | True means the staff member's availability is as specified in the businessHours property of the business. False means the availability is determined by the staff member's workingHours property setting. |
workingHours | bookingWorkHours collection | The range of hours each day of the week that the staff member is available for booking. By default, they are initialized to be the same as the businessHours property of the business. |
Relationships
None.
JSON representation
The following is a JSON representation of the resource.
{
"availabilityIsAffectedByPersonalCalendar": "Boolean",
"displayName": "String",
"emailAddress": "String",
"id": "String (identifier)",
"isEmailNotificationEnabled": "Boolean",
"role": {"@odata.type": "microsoft.graph.bookingStaffRole"},
"timeZone": "String",
"useBusinessHours": "Boolean",
"workingHours": [{"@odata.type": "microsoft.graph.bookingWorkHours"}]
}
Feedback
Submit and view feedback for