Skip to content

Commit fad8ed0

Browse files
committed
Fixes request body and response status code
1 parent b62bcea commit fad8ed0

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

api-reference/beta/api/workbookapplication-calculate.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ In the request body, provide a JSON object with the following parameters.
4646

4747
## Response
4848

49-
If successful, this method returns a `200 OK` response code. It doesn't return anything in the response body.
49+
If successful, this method returns a `204 No Content` response code. It doesn't return anything in the response body.
5050

5151
## Example
5252

5353
### Request
54-
The following example shows a request.
54+
The following example forces a full calculation of the data and rebuilds the dependencies.
5555

5656
# [HTTP](#tab/http)
5757
<!-- {
@@ -63,7 +63,7 @@ POST https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/application/c
6363
Content-type: application/json
6464
6565
{
66-
"calculationType": "calculationType-value"
66+
"calculationType": "FullRebuild"
6767
}
6868
```
6969

@@ -101,7 +101,7 @@ The following example shows the response.
101101
} -->
102102

103103
```http
104-
HTTP/1.1 200 OK
104+
HTTP/1.1 204 No Content
105105
```
106106

107107
<!-- uuid: 8fcb5dbc-d5aa-4681-8e31-b001d5168d79

api-reference/beta/api/workbookapplication-get.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ HTTP/1.1 200 OK
9797
Content-type: application/json
9898
9999
{
100-
"calculationMode": "calculationMode-value"
100+
"calculationMode": "Automatic"
101101
}
102102
```
103103

api-reference/v1.0/api/workbookapplication-calculate.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ In the request body, provide a JSON object with the following parameters.
4444

4545
## Response
4646

47-
If successful, this method returns a `200 OK` response code. It doesn't return anything in the response body.
47+
If successful, this method returns a `204 No Content` response code. It doesn't return anything in the response body.
4848

4949
## Example
5050
Here is an example of how to call this API.
51-
### Request
52-
The following example shows a request.
5351

52+
### Request
53+
The following example forces a full calculation of the data and rebuilds the dependencies.
5454

5555
# [HTTP](#tab/http)
5656
<!-- {
@@ -62,7 +62,7 @@ POST https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/application/c
6262
Content-type: application/json
6363
6464
{
65-
"calculationType": "calculationType-value"
65+
"calculationType": "FullRebuild"
6666
}
6767
```
6868

@@ -100,7 +100,7 @@ The following example shows the response.
100100
} -->
101101

102102
```http
103-
HTTP/1.1 200 OK
103+
HTTP/1.1 204 No Content
104104
```
105105

106106
<!-- uuid: 8fcb5dbc-d5aa-4681-8e31-b001d5168d79

api-reference/v1.0/api/workbookapplication-get.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ HTTP/1.1 200 OK
9595
Content-type: application/json
9696
9797
{
98-
"calculationMode": "calculationMode-value"
98+
"calculationMode": "Automatic"
9999
}
100100
```
101101

0 commit comments

Comments
 (0)