Get workbookComment
Namespace: microsoft.graph
Retrieve the properties and relationships of a workbookComment object.
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) | Files.ReadWrite |
Delegated (personal Microsoft account) | Not supported. |
Application | Not supported. |
HTTP request
GET /me/drive/items/{id}/workbook/comments/{id}
Request headers
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 the requested workbookComment object in the response body.
Examples
Request
The following is an example of the request.
GET https://graph.microsoft.com/v1.0/drive/items/{id}/workbook/comments/{id}
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
Content-type: application/json
{
"content": "This is my comment.",
"contentType": "plain",
"id": "{97A21473-8339-4BF0-BCB6-F55E4909FFB8}"
}
Feedback
Submit and view feedback for