Note: The response object shown here might be shortened for readability. The following example shows the response. Result = await graph_team_id('team-id').(request_configuration = request_configuration)įor details about how to add the SDK to your project and create an authProvider instance, see the SDK documentation. Request_configuration = ShiftsRequestBuilder.ShiftsRequestBuilderGetRequestConfiguration( Query_params = ShiftsRequestBuilder.ShiftsRequestBuilderGetQueryParameters(įilter = "sharedShift/startDateTime ge T00:00:00.000Z and sharedShift/endDateTime le T00:00:00.000Z and draftShift/startDateTime ge T00:00:00.000Z and draftShift/endDateTime le T00:00:00.000Z", Graph_client = GraphServiceClient(credentials, scopes) Get-MgTeamScheduleShift -TeamId $teamId -Filter "sharedShift/startDateTime ge T00:00:00.000Z and sharedShift/endDateTime le T00:00:00.000Z and draftShift/startDateTime ge T00:00:00.000Z and draftShift/endDateTime le T00:00:00.000Z" $result = $graphServiceClient->teams()->byTeamId('team-id')->schedule()->shifts()->get($requestConfiguration)->wait() $requestConfiguration->queryParameters = $queryParameters filter('sharedShift/startDateTime ge T00:00:00.000Z and sharedShift/endDateTime le T00:00:00.000Z and draftShift/startDateTime ge T00:00:00.000Z and draftShift/endDateTime le T00:00:00.000Z')įor details about how to add the SDK to your project and create an authProvider instance, see the SDK documentation.įilter = "sharedShift/startDateTime ge T00:00:00.000Z and sharedShift/endDateTime le T00:00:00.000Z and draftShift/startDateTime ge T00:00:00.000Z and draftShift/endDateTime le T00:00:00.000Z" HTTP request GET /teams//schedule/shifts') Global admins can access groups that they are not a member of. Note: This API supports admin permissions. To learn more about these permissions, see the permissions reference. For details about delegated and application permissions, see Permission types. Use a higher privileged permission or permissions only if your app requires it. Global serviceĬhoose the permission or permissions marked as least privileged for this API. This API is available in the following national cloud deployments. Get the list of shift instances in a schedule.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |