Share via


Update-MgBookingBusinessService

Update the properties of a bookingService object in the specified bookingBusiness. The following are some examples you can customize for a service:- Price- Typical length of an appointment- Reminders- Any time buffer to set up before or finish up after the service- Scheduling policy parameters, such as minimum notice to book or cancel, and whether customers can select specific staff members for an appointment.

Note

To view the beta release of this cmdlet, view Update-MgBetaBookingBusinessService

Syntax

UpdateExpanded (Default)

Update-MgBookingBusinessService
    -BookingBusinessId <String>
    -BookingServiceId <String>
    [-ResponseHeadersVariable <String>]
    [-AdditionalInformation <String>]
    [-AdditionalProperties <Hashtable>]
    [-CreatedDateTime <DateTime>]
    [-CustomQuestions <IMicrosoftGraphBookingQuestionAssignment[]>]
    [-DefaultDuration <TimeSpan>]
    [-DefaultLocation <IMicrosoftGraphLocation>]
    [-DefaultPrice <Double>]
    [-DefaultPriceType <BookingPriceType>]
    [-DefaultReminders <IMicrosoftGraphBookingReminder[]>]
    [-Description <String>]
    [-DisplayName <String>]
    [-Id <String>]
    [-IsAnonymousJoinEnabled]
    [-IsCustomerAllowedToManageBooking]
    [-IsHiddenFromCustomers]
    [-IsLocationOnline]
    [-LanguageTag <String>]
    [-LastUpdatedDateTime <DateTime>]
    [-MaximumAttendeesCount <Int32>]
    [-Notes <String>]
    [-PostBuffer <TimeSpan>]
    [-PreBuffer <TimeSpan>]
    [-SchedulingPolicy <IMicrosoftGraphBookingSchedulingPolicy>]
    [-SmsNotificationsEnabled]
    [-StaffMemberIds <String[]>]
    [-Headers <IDictionary>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Update

Update-MgBookingBusinessService
    -BookingBusinessId <String>
    -BookingServiceId <String>
    -BodyParameter <IMicrosoftGraphBookingService>
    [-ResponseHeadersVariable <String>]
    [-Headers <IDictionary>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

UpdateViaIdentityExpanded

Update-MgBookingBusinessService
    -InputObject <IBookingsIdentity>
    [-ResponseHeadersVariable <String>]
    [-AdditionalInformation <String>]
    [-AdditionalProperties <Hashtable>]
    [-CreatedDateTime <DateTime>]
    [-CustomQuestions <IMicrosoftGraphBookingQuestionAssignment[]>]
    [-DefaultDuration <TimeSpan>]
    [-DefaultLocation <IMicrosoftGraphLocation>]
    [-DefaultPrice <Double>]
    [-DefaultPriceType <BookingPriceType>]
    [-DefaultReminders <IMicrosoftGraphBookingReminder[]>]
    [-Description <String>]
    [-DisplayName <String>]
    [-Id <String>]
    [-IsAnonymousJoinEnabled]
    [-IsCustomerAllowedToManageBooking]
    [-IsHiddenFromCustomers]
    [-IsLocationOnline]
    [-LanguageTag <String>]
    [-LastUpdatedDateTime <DateTime>]
    [-MaximumAttendeesCount <Int32>]
    [-Notes <String>]
    [-PostBuffer <TimeSpan>]
    [-PreBuffer <TimeSpan>]
    [-SchedulingPolicy <IMicrosoftGraphBookingSchedulingPolicy>]
    [-SmsNotificationsEnabled]
    [-StaffMemberIds <String[]>]
    [-Headers <IDictionary>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

UpdateViaIdentity

Update-MgBookingBusinessService
    -InputObject <IBookingsIdentity>
    -BodyParameter <IMicrosoftGraphBookingService>
    [-ResponseHeadersVariable <String>]
    [-Headers <IDictionary>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

Update the properties of a bookingService object in the specified bookingBusiness. The following are some examples you can customize for a service:- Price- Typical length of an appointment- Reminders- Any time buffer to set up before or finish up after the service- Scheduling policy parameters, such as minimum notice to book or cancel, and whether customers can select specific staff members for an appointment.

Permissions

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Bookings.ReadWrite.All, Bookings.Manage.All,
Delegated (personal Microsoft account) Not supported
Application Bookings.ReadWrite.All, Bookings.Manage.All,

Parameters

-AdditionalInformation

Additional information that is sent to the customer when an appointment is confirmed.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AdditionalProperties

Additional Parameters

Parameter properties

Type:Hashtable
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-BodyParameter

Represents a particular service offered by a booking business. To construct, see NOTES section for BODYPARAMETER properties and create a hash table.

Parameter properties

Type:IMicrosoftGraphBookingService
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Update
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentity
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-BookingBusinessId

The unique identifier of bookingBusiness

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
Update
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-BookingServiceId

The unique identifier of bookingService

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
Update
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-CreatedDateTime

The date, time, and time zone when the service was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.

Parameter properties

Type:DateTime
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-CustomQuestions

Contains the set of custom questions associated with a particular service. To construct, see NOTES section for CUSTOMQUESTIONS properties and create a hash table.

Parameter properties

Type:

IMicrosoftGraphBookingQuestionAssignment[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DefaultDuration

The default length of the service, represented in numbers of days, hours, minutes, and seconds. For example, P11D23H59M59.999999999999S.

Parameter properties

Type:TimeSpan
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DefaultLocation

location To construct, see NOTES section for DEFAULTLOCATION properties and create a hash table.

Parameter properties

Type:IMicrosoftGraphLocation
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DefaultPrice

The default monetary price for the service.

Parameter properties

Type:Double
Default value:0
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DefaultPriceType

Represents the type of pricing of a booking service.

Parameter properties

Type:BookingPriceType
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DefaultReminders

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. To construct, see NOTES section for DEFAULTREMINDERS properties and create a hash table.

Parameter properties

Type:

IMicrosoftGraphBookingReminder[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Description

A text description for the service.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-DisplayName

A service name.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Headers

Optional headers that will be added to the request.

Parameter properties

Type:IDictionary
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-Id

The unique identifier for an entity. Read-only.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Parameter properties

Type:IBookingsIdentity
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateViaIdentityExpanded
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentity
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-IsAnonymousJoinEnabled

Indicates if an anonymousJoinWebUrl(webrtcUrl) is generated for the appointment booked for this service. The default value is false.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-IsCustomerAllowedToManageBooking

Indicates that the customer can manage bookings created by the staff. The default value is false.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-IsHiddenFromCustomers

True indicates that this service isn't available to customers for booking.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-IsLocationOnline

Indicates that the appointments for the service are held online. The default value is false.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LanguageTag

The language of the self-service booking page.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LastUpdatedDateTime

The date, time, and time zone when the service was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.

Parameter properties

Type:DateTime
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-MaximumAttendeesCount

The maximum number of customers allowed in a service. If maximumAttendeesCount of the service is greater than 1, pass valid customer IDs while creating or updating an appointment. To create a customer, use the Create bookingCustomer operation.

Parameter properties

Type:Int32
Default value:0
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Notes

Additional information about this service.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-PostBuffer

The time to buffer after an appointment for this service ends, and before the next customer appointment can be booked.

Parameter properties

Type:TimeSpan
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-PreBuffer

The time to buffer before an appointment for this service can start.

Parameter properties

Type:TimeSpan
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResponseHeadersVariable

Optional Response Headers Variable.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:RHV

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SchedulingPolicy

This type represents the set of policies that dictate how bookings can be created in a Booking Calendar. To construct, see NOTES section for SCHEDULINGPOLICY properties and create a hash table.

Parameter properties

Type:IMicrosoftGraphBookingSchedulingPolicy
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SmsNotificationsEnabled

True indicates SMS notifications can be sent to the customers for the appointment of the service. Default value is false.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-StaffMemberIds

Represents those staff members who provide this service.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

UpdateExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
UpdateViaIdentityExpanded
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

Microsoft.Graph.PowerShell.Models.IBookingsIdentity

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingService

System.Collections.IDictionary

Outputs

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingService

Notes

COMPLEX PARAMETER PROPERTIES

To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.

BODYPARAMETER <IMicrosoftGraphBookingService>: Represents a particular service offered by a booking business.

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Id <String>]: The unique identifier for an entity. Read-only.
  • [AdditionalInformation <String>]: Additional information that is sent to the customer when an appointment is confirmed.
  • [CreatedDateTime <DateTime?>]: The date, time, and time zone when the service was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
  • [CustomQuestions <IMicrosoftGraphBookingQuestionAssignment- []>]: Contains the set of custom questions associated with a particular service.
    • [IsRequired <Boolean?>]: Indicates whether it's mandatory to answer the custom question.
    • [QuestionId <String>]: The ID of the custom question.
  • [DefaultDuration <TimeSpan?>]: The default length of the service, represented in numbers of days, hours, minutes, and seconds. For example, P11D23H59M59.999999999999S.
  • [DefaultLocation <IMicrosoftGraphLocation>]: location
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Address <IMicrosoftGraphPhysicalAddress>]: physicalAddress
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [City <String>]: The city.
      • [CountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'.
      • [PostalCode <String>]: The postal code.
      • [State <String>]: The state.
      • [Street <String>]: The street.
    • [Coordinates <IMicrosoftGraphOutlookGeoCoordinates>]: outlookGeoCoordinates
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [Accuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters.
      • [Altitude <Double?>]: The altitude of the location.
      • [AltitudeAccuracy <Double?>]: The accuracy of the altitude.
      • [Latitude <Double?>]: The latitude of the location.
      • [Longitude <Double?>]: The longitude of the location.
    • [DisplayName <String>]: The name associated with the location.
    • [LocationEmailAddress <String>]: Optional email address of the location.
    • [LocationType <String>]: locationType
    • [LocationUri <String>]: Optional URI representing the location.
    • [UniqueId <String>]: For internal use only.
    • [UniqueIdType <String>]: locationUniqueIdType
  • [DefaultPrice <Double?>]: The default monetary price for the service.
  • [DefaultPriceType <BookingPriceType?>]: Represents the type of pricing of a booking service.
  • [DefaultReminders <IMicrosoftGraphBookingReminder- []>]: 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.
    • [Message <String>]: The message in the reminder.
    • [Offset <TimeSpan?>]: The amount of time before the start of an appointment that the reminder should be sent. It's denoted in ISO 8601 format.
    • [Recipients <String>]: bookingReminderRecipients
  • [Description <String>]: A text description for the service.
  • [DisplayName <String>]: A service name.
  • [IsAnonymousJoinEnabled <Boolean?>]: Indicates if an anonymousJoinWebUrl(webrtcUrl) is generated for the appointment booked for this service. The default value is false.
  • [IsCustomerAllowedToManageBooking <Boolean?>]: Indicates that the customer can manage bookings created by the staff. The default value is false.
  • [IsHiddenFromCustomers <Boolean?>]: True indicates that this service isn't available to customers for booking.
  • [IsLocationOnline <Boolean?>]: Indicates that the appointments for the service are held online. The default value is false.
  • [LanguageTag <String>]: The language of the self-service booking page.
  • [LastUpdatedDateTime <DateTime?>]: The date, time, and time zone when the service was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
  • [MaximumAttendeesCount <Int32?>]: The maximum number of customers allowed in a service. If maximumAttendeesCount of the service is greater than 1, pass valid customer IDs while creating or updating an appointment. To create a customer, use the Create bookingCustomer operation.
  • [Notes <String>]: Additional information about this service.
  • [PostBuffer <TimeSpan?>]: The time to buffer after an appointment for this service ends, and before the next customer appointment can be booked.
  • [PreBuffer <TimeSpan?>]: The time to buffer before an appointment for this service can start.
  • [SchedulingPolicy <IMicrosoftGraphBookingSchedulingPolicy>]: This type represents the set of policies that dictate how bookings can be created in a Booking Calendar.
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [AllowStaffSelection <Boolean?>]: True to allow customers to choose a specific person for the booking.
    • [CustomAvailabilities <IMicrosoftGraphBookingsAvailabilityWindow- []>]: Custom availability of the service in a given time frame.
      • [AvailabilityType <String>]: bookingsServiceAvailabilityType
      • [BusinessHours <IMicrosoftGraphBookingWorkHours- []>]: The hours of operation in a week. The business hours value is set to null if the availability type isn't customWeeklyHours.
        • [Day <String>]: dayOfWeek
        • [TimeSlots <IMicrosoftGraphBookingWorkTimeSlot- []>]: A list of start/end times during a day.
          • [EndTime <String>]: The time of the day when work stops. For example, 17:00:00.0000000.
          • [StartTime <String>]: The time of the day when work starts. For example, 08:00:00.0000000.
      • [EndDate <DateTime?>]: End date of the availability window.
      • [StartDate <DateTime?>]: Start date of the availability window.
    • [GeneralAvailability <IMicrosoftGraphBookingsAvailability>]: bookingsAvailability
      • [(Any) <Object>]: This indicates any property can be added to this object.
      • [AvailabilityType <String>]: bookingsServiceAvailabilityType
      • [BusinessHours <IMicrosoftGraphBookingWorkHours- []>]: The hours of operation in a week. The business hours value is set to null if the availability type isn't customWeeklyHours.
    • [IsMeetingInviteToCustomersEnabled <Boolean?>]: Indicates whether the meeting invite is sent to the customers. The default value is false.
    • [MaximumAdvance <TimeSpan?>]: Maximum number of days in advance that a booking can be made. It follows the ISO 8601 format.
    • [MinimumLeadTime <TimeSpan?>]: 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 <TimeSpan?>]: Duration of each time slot, denoted in ISO 8601 format.
  • [SmsNotificationsEnabled <Boolean?>]: True indicates SMS notifications can be sent to the customers for the appointment of the service. Default value is false.
  • [StaffMemberIds <String- []>]: Represents those staff members who provide this service.

CUSTOMQUESTIONS <IMicrosoftGraphBookingQuestionAssignment- []>: Contains the set of custom questions associated with a particular service.

  • [IsRequired <Boolean?>]: Indicates whether it's mandatory to answer the custom question.
  • [QuestionId <String>]: The ID of the custom question.

DEFAULTLOCATION <IMicrosoftGraphLocation>: location

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [Address <IMicrosoftGraphPhysicalAddress>]: physicalAddress
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [City <String>]: The city.
    • [CountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'.
    • [PostalCode <String>]: The postal code.
    • [State <String>]: The state.
    • [Street <String>]: The street.
  • [Coordinates <IMicrosoftGraphOutlookGeoCoordinates>]: outlookGeoCoordinates
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [Accuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters.
    • [Altitude <Double?>]: The altitude of the location.
    • [AltitudeAccuracy <Double?>]: The accuracy of the altitude.
    • [Latitude <Double?>]: The latitude of the location.
    • [Longitude <Double?>]: The longitude of the location.
  • [DisplayName <String>]: The name associated with the location.
  • [LocationEmailAddress <String>]: Optional email address of the location.
  • [LocationType <String>]: locationType
  • [LocationUri <String>]: Optional URI representing the location.
  • [UniqueId <String>]: For internal use only.
  • [UniqueIdType <String>]: locationUniqueIdType

DEFAULTREMINDERS <IMicrosoftGraphBookingReminder- []>: 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.

  • [Message <String>]: The message in the reminder.
  • [Offset <TimeSpan?>]: The amount of time before the start of an appointment that the reminder should be sent. It's denoted in ISO 8601 format.
  • [Recipients <String>]: bookingReminderRecipients

INPUTOBJECT <IBookingsIdentity>: Identity Parameter

  • [AttendanceRecordId <String>]: The unique identifier of attendanceRecord
  • [BookingAppointmentId <String>]: The unique identifier of bookingAppointment
  • [BookingBusinessId <String>]: The unique identifier of bookingBusiness
  • [BookingCurrencyId <String>]: The unique identifier of bookingCurrency
  • [BookingCustomQuestionId <String>]: The unique identifier of bookingCustomQuestion
  • [BookingCustomerBaseId <String>]: The unique identifier of bookingCustomerBase
  • [BookingServiceId <String>]: The unique identifier of bookingService
  • [BookingStaffMemberBaseId <String>]: The unique identifier of bookingStaffMemberBase
  • [Email <String>]: Alternate key of virtualEventRegistration
  • [MeetingAttendanceReportId <String>]: The unique identifier of meetingAttendanceReport
  • [Role <String>]: Usage: role='{role}'
  • [UserId <String>]: Usage: userId='{userId}'
  • [VirtualEventId <String>]: The unique identifier of virtualEvent
  • [VirtualEventPresenterId <String>]: The unique identifier of virtualEventPresenter
  • [VirtualEventRegistrationId <String>]: The unique identifier of virtualEventRegistration
  • [VirtualEventRegistrationQuestionBaseId <String>]: The unique identifier of virtualEventRegistrationQuestionBase
  • [VirtualEventSessionId <String>]: The unique identifier of virtualEventSession
  • [VirtualEventTownhallId <String>]: The unique identifier of virtualEventTownhall
  • [VirtualEventWebinarId <String>]: The unique identifier of virtualEventWebinar

SCHEDULINGPOLICY <IMicrosoftGraphBookingSchedulingPolicy>: This type represents the set of policies that dictate how bookings can be created in a Booking Calendar.

  • [(Any) <Object>]: This indicates any property can be added to this object.
  • [AllowStaffSelection <Boolean?>]: True to allow customers to choose a specific person for the booking.
  • [CustomAvailabilities <IMicrosoftGraphBookingsAvailabilityWindow- []>]: Custom availability of the service in a given time frame.
    • [AvailabilityType <String>]: bookingsServiceAvailabilityType
    • [BusinessHours <IMicrosoftGraphBookingWorkHours- []>]: The hours of operation in a week. The business hours value is set to null if the availability type isn't customWeeklyHours.
      • [Day <String>]: dayOfWeek
      • [TimeSlots <IMicrosoftGraphBookingWorkTimeSlot- []>]: A list of start/end times during a day.
        • [EndTime <String>]: The time of the day when work stops. For example, 17:00:00.0000000.
        • [StartTime <String>]: The time of the day when work starts. For example, 08:00:00.0000000.
    • [EndDate <DateTime?>]: End date of the availability window.
    • [StartDate <DateTime?>]: Start date of the availability window.
  • [GeneralAvailability <IMicrosoftGraphBookingsAvailability>]: bookingsAvailability
    • [(Any) <Object>]: This indicates any property can be added to this object.
    • [AvailabilityType <String>]: bookingsServiceAvailabilityType
    • [BusinessHours <IMicrosoftGraphBookingWorkHours- []>]: The hours of operation in a week. The business hours value is set to null if the availability type isn't customWeeklyHours.
  • [IsMeetingInviteToCustomersEnabled <Boolean?>]: Indicates whether the meeting invite is sent to the customers. The default value is false.
  • [MaximumAdvance <TimeSpan?>]: Maximum number of days in advance that a booking can be made. It follows the ISO 8601 format.
  • [MinimumLeadTime <TimeSpan?>]: 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 <TimeSpan?>]: Duration of each time slot, denoted in ISO 8601 format.