Get addLargeGalleryViewOperation
Article
03/02/2023
2 contributors
Feedback
In this article
Namespace: microsoft.graph
Get the status of an operation that adds the large gallery view to a call.
Permissions
One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions .
Permission type
Permissions (from least to most privileged)
Delegated (work or school account)
Not supported.
Delegated (personal Microsoft account)
Not supported.
Application
None.
HTTP request
GET /app/calls/{callId}/operations/{id}
GET /communications/calls/{callId}/operations/{id}
Note: The /app
path is deprecated. Going forward, use the /communications
path.
Name
Description
Authorization
Bearer {token}. Required.
Request body
Do not supply a request body for this method.
Response
If successful, this method returns a 200 OK
response code and an addLargeGalleryViewOperation object in the response body.
Example
Request
The following is an example of a request.
GET https://graph.microsoft.com/v1.0/communications/calls/57dab8b1-894c-409a-b240-bd8beae78896/operations/e33176d4-836a-4fd7-b95a-d11bda52811d
// Code snippets are only available for the latest version. Current version is 5.x
var graphClient = new GraphServiceClient(requestAdapter);
var result = await graphClient.Communications.Calls["{call-id}"].Operations["{commsOperation-id}"].GetAsync();
For details about how to add the SDK to your project and create an authProvider instance, see the SDK documentation .
import (
"context"
msgraphsdk "github.com/microsoftgraph/msgraph-sdk-go"
//other-imports
)
graphClient := msgraphsdk.NewGraphServiceClientWithCredentials(cred, scopes)
result, err := graphClient.Communications().Calls().ByCallId("call-id").Operations().ByOperationId("commsOperation-id").Get(context.Background(), nil)
For details about how to add the SDK to your project and create an authProvider instance, see the SDK documentation .
GraphServiceClient graphClient = GraphServiceClient.builder().authenticationProvider( authProvider ).buildClient();
CommsOperation commsOperation = graphClient.communications().calls("57dab8b1-894c-409a-b240-bd8beae78896").operations("e33176d4-836a-4fd7-b95a-d11bda52811d")
.buildRequest()
.get();
For details about how to add the SDK to your project and create an authProvider instance, see the SDK documentation .
const options = {
authProvider,
};
const client = Client.init(options);
let commsOperation = await client.api('/communications/calls/57dab8b1-894c-409a-b240-bd8beae78896/operations/e33176d4-836a-4fd7-b95a-d11bda52811d')
.get();
For details about how to add the SDK to your project and create an authProvider instance, see the SDK documentation .
<?php
// THIS SNIPPET IS A PREVIEW FOR THE KIOTA BASED SDK. NON-PRODUCTION USE ONLY
$graphServiceClient = new GraphServiceClient($requestAdapter);
$result = $graphServiceClient->communications()->calls()->byCallId('call-id')->operations()->byOperationId('commsOperation-id')->get();
For details about how to add the SDK to your project and create an authProvider instance, see the SDK documentation .
Import-Module Microsoft.Graph.CloudCommunications
Get-MgCommunicationCallOperation -CallId $callId -CommsOperationId $commsOperationId
For details about how to add the SDK to your project and create an authProvider instance, see the SDK documentation .
Response
The following is an example of the response.
Note: The response object shown here might be shortened for readability.
HTTP/1.1 200 OK
{
"@odata.type": "#microsoft.graph.addLargeGalleryViewOperation",
"clientContext": "785f4929-92ca-497b-863f-c778c77c9758",
"id": "e33176d4-836a-4fd7-b95a-d11bda52811d",
"resultInfo": null,
"status": "completed"
}