Se requiere uno de los permisos siguientes para llamar a esta API. Para obtener más información, incluido cómo elegir permisos, vea Permisos.
Tipo de permiso
Permisos (de menos a más privilegiados)
Delegado (cuenta profesional o educativa)
Files.ReadWrite
Delegado (cuenta personal de Microsoft)
No admitida.
Aplicación
No admitida.
Solicitud HTTP
GET /me/drive/items/{id}/workbook/comments/{id}/replies/{id}
GET /me/drive/root:/{item-path}:/workbook/comments/{id}/replies/{id}
Encabezados de solicitud
Nombre
Descripción
Authorization
Portador {token}. Obligatorio.
Cuerpo de solicitud
No proporcione un cuerpo de solicitud para este método.
Respuesta
Si se ejecuta correctamente, este método devuelve un 200 OK código de respuesta y el objeto workbookCommentReply solicitado en el cuerpo de la respuesta.
GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/comments/{id}/replies/{id}
// Code snippets are only available for the latest version. Current version is 5.x
var graphClient = new GraphServiceClient(requestAdapter);
var result = await graphClient.Drives["{drive-id}"].Items["{driveItem-id}"].Workbook.Comments["{workbookComment-id}"].Replies["{workbookCommentReply-id}"].GetAsync();
<?php
// THIS SNIPPET IS A PREVIEW FOR THE KIOTA BASED SDK. NON-PRODUCTION USE ONLY
$graphServiceClient = new GraphServiceClient($requestAdapter);
$result = $graphServiceClient->drives()->byDriveId('drive-id')->items()->byItemId('driveItem-id')->workbook()->comments()->byCommentId('workbookComment-id')->replies()->byReplieId('workbookCommentReply-id')->get();
Nota: Se puede acortar el objeto de respuesta que se muestra aquí para mejorar la legibilidad.
HTTP/1.1 200 OK
Content-type: application/json
{
"content": "This is text of comment.",
"contentType": "Plain",
"id": "{97A21473-8339-4BF0-BCB6-F55E4909FFB8}"
}