Get-MgBetaBookingBusinessStaffAvailability
Get the availability information of staff members of a Microsoft Bookings calendar.
Note
To view the v1.0 release of this cmdlet, view Get-MgBookingBusinessStaffAvailability
Syntax
Get-MgBetaBookingBusinessStaffAvailability
-BookingBusinessId <String>
[-ResponseHeadersVariable <String>]
[-AdditionalProperties <Hashtable>]
[-EndDateTime <IMicrosoftGraphDateTimeZone>]
[-StaffIds <String[]>]
[-StartDateTime <IMicrosoftGraphDateTimeZone>]
[-Headers <IDictionary>]
[-ProgressAction <ActionPreference>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Get-MgBetaBookingBusinessStaffAvailability
-BookingBusinessId <String>
-BodyParameter <IPaths1U5Iok1SolutionsBookingbusinessesBookingbusinessIdMicrosoftGraphGetstaffavailabilityPostRequestbodyContentApplicationJsonSchema>
[-ResponseHeadersVariable <String>]
[-Headers <IDictionary>]
[-ProgressAction <ActionPreference>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Get-MgBetaBookingBusinessStaffAvailability
-InputObject <IBookingsIdentity>
[-ResponseHeadersVariable <String>]
[-AdditionalProperties <Hashtable>]
[-EndDateTime <IMicrosoftGraphDateTimeZone>]
[-StaffIds <String[]>]
[-StartDateTime <IMicrosoftGraphDateTimeZone>]
[-Headers <IDictionary>]
[-ProgressAction <ActionPreference>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Get-MgBetaBookingBusinessStaffAvailability
-InputObject <IBookingsIdentity>
-BodyParameter <IPaths1U5Iok1SolutionsBookingbusinessesBookingbusinessIdMicrosoftGraphGetstaffavailabilityPostRequestbodyContentApplicationJsonSchema>
[-ResponseHeadersVariable <String>]
[-Headers <IDictionary>]
[-ProgressAction <ActionPreference>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Get the availability information of staff members of a Microsoft Bookings calendar.
Examples
Example 1: Code snippet
Import-Module Microsoft.Graph.Beta.Bookings
$params = @{
staffIds = @(
"311a5454-08b2-4560-ba1c-f715e938cb79"
)
startDateTime = @{
dateTime = "2022-01-25T00:00:00"
timeZone = "India Standard Time"
}
endDateTime = @{
dateTime = "2022-01-26T17:00:00"
timeZone = "Pacific Standard Time"
}
}
Get-MgBetaBookingBusinessStaffAvailability -BookingBusinessId $bookingBusinessId -BodyParameter $params
This example shows how to use the Get-MgBetaBookingBusinessStaffAvailability Cmdlet.
Parameters
-AdditionalProperties
Additional Parameters
Type: | Hashtable |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BodyParameter
. To construct, see NOTES section for BODYPARAMETER properties and create a hash table.
Type: | IPaths1U5Iok1SolutionsBookingbusinessesBookingbusinessIdMicrosoftGraphGetstaffavailabilityPostRequestbodyContentApplicationJsonSchema |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-BookingBusinessId
The unique identifier of bookingBusiness
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-EndDateTime
dateTimeTimeZone To construct, see NOTES section for ENDDATETIME properties and create a hash table.
Type: | IMicrosoftGraphDateTimeZone |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Headers
Optional headers that will be added to the request.
Type: | IDictionary |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: | IBookingsIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-ProgressAction
{{ Fill ProgressAction Description }}
Type: | ActionPreference |
Aliases: | proga |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResponseHeadersVariable
Optional Response Headers Variable.
Type: | String |
Aliases: | RHV |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-StaffIds
.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-StartDateTime
dateTimeTimeZone To construct, see NOTES section for STARTDATETIME properties and create a hash table.
Type: | IMicrosoftGraphDateTimeZone |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Microsoft.Graph.Beta.PowerShell.Models.IBookingsIdentity
Microsoft.Graph.Beta.PowerShell.Models.IPaths1U5Iok1SolutionsBookingbusinessesBookingbusinessIdMicrosoftGraphGetstaffavailabilityPostRequestbodyContentApplicationJsonSchema
System.Collections.IDictionary
Outputs
Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphStaffAvailabilityItem
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 <IPaths1U5Iok1SolutionsBookingbusinessesBookingbusinessIdMicrosoftGraphGetstaffavailabilityPostRequestbodyContentApplicationJsonSchema>
: .
[(Any) <Object>]
: This indicates any property can be added to this object.[EndDateTime <IMicrosoftGraphDateTimeZone>]
: dateTimeTimeZone[(Any) <Object>]
: This indicates any property can be added to this object.[DateTime <String>]
: A single point of time in a combined date and time representation ({date}T{time}). For example, '2019-04-16T09:00:00'.[TimeZone <String>]
: Represents a time zone, for example, 'Pacific Standard Time'. See below for possible values.
[StaffIds <String-
[]>]
:[StartDateTime <IMicrosoftGraphDateTimeZone>]
: dateTimeTimeZone
ENDDATETIME <IMicrosoftGraphDateTimeZone>
: dateTimeTimeZone
[(Any) <Object>]
: This indicates any property can be added to this object.[DateTime <String>]
: A single point of time in a combined date and time representation ({date}T{time}). For example, '2019-04-16T09:00:00'.[TimeZone <String>]
: Represents a time zone, for example, 'Pacific Standard Time'. See below for possible values.
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[BookingCustomerId <String>]
: The unique identifier of bookingCustomer[BookingServiceId <String>]
: The unique identifier of bookingService[BookingStaffMemberId <String>]
: The unique identifier of bookingStaffMember[BusinessScenarioId <String>]
: The unique identifier of businessScenario[BusinessScenarioTaskId <String>]
: The unique identifier of businessScenarioTask[Email <String>]
: Alternate key of virtualEventRegistration[JoinWebUrl <String>]
: Alternate key of virtualEventSession[MeetingAttendanceReportId <String>]
: The unique identifier of meetingAttendanceReport[PlannerPlanConfigurationLocalizationId <String>]
: The unique identifier of plannerPlanConfigurationLocalization[Role <String>]
: Usage: role='{role}'[UniqueName <String>]
: Alternate key of businessScenario[UserId <String>]
: Alternate key of virtualEventRegistration[VirtualEventId <String>]
: The unique identifier of virtualEvent[VirtualEventPresenterId <String>]
: The unique identifier of virtualEventPresenter[VirtualEventRegistrationId <String>]
: The unique identifier of virtualEventRegistration[VirtualEventSessionId <String>]
: The unique identifier of virtualEventSession[VirtualEventTownhallId <String>]
: The unique identifier of virtualEventTownhall[VirtualEventWebinarId <String>]
: The unique identifier of virtualEventWebinar
STARTDATETIME <IMicrosoftGraphDateTimeZone>
: dateTimeTimeZone
[(Any) <Object>]
: This indicates any property can be added to this object.[DateTime <String>]
: A single point of time in a combined date and time representation ({date}T{time}). For example, '2019-04-16T09:00:00'.[TimeZone <String>]
: Represents a time zone, for example, 'Pacific Standard Time'. See below for possible values.