Updates from: 01/16/2021 04:11:20
Service Microsoft Docs article Related commit history on GitHub Change details
v1.0 https://docs.microsoft.com/en-us/graph/api/channel-post-members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/channel-post-members.md
@@ -64,6 +64,14 @@ If successful, this method returns a `201 Created` response code and a [conversa
} --> ```http POST https://graph.microsoft.com/beta/teams/ece6f0a1-7ca4-498b-be79-edf6c8fc4d82/channels/19%3A56eb04e133944cf69e603c5dac2d292e%40thread.skype/members
+Content-type: application/json
+Content-length: 100
+
+{
+ "@odata.type": "#microsoft.graph.aadUserConversationMember",
+ "roles": ["owner"],
+ "user@odata.bind": "https://graph.microsoft.com/beta/users('8b081ef6-4792-4def-b2c9-c363a1bf41d5')"
+}
``` # [C#](#tab/csharp) [!INCLUDE [sample-code](../includes/snippets/csharp/channel-add-member-csharp-snippets.md)]
v1.0 https://docs.microsoft.com/en-us/graph/api/planner-post-plans https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/planner-post-plans.md
@@ -13,7 +13,7 @@ Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Use this API to create a new **plannerPlan**.
+Create a new **plannerPlan**.
## Permissions
@@ -37,13 +37,14 @@ POST /planner/plans
| Name | Description | | :------------ | :------------------------ | | Authorization | Bearer {token}. Required. |
+| Content-type | application/json. Required.|
## Request body In the request body, supply a JSON representation of [plannerPlan](../resources/plannerplan.md) object.
-The **plannerPlan** owner property must be set to an id of a [group](../resources/group.md) object.
+The **plannerPlan** container property must be set.
->**Note:** The user who is creating the plan must be a member of the group that will own the plan. When you create a new group by using [Create group](../api/group-post-groups.md), you are not added to the group as a member. After the group is created, add yourself as a member by using [group post members](../api/group-post-members.md).
+>**Note:** If the container is a Microsoft 365 group, the user who is creating the plan must be a member of the group that will contain the plan. When you create a new group by using [Create group](../api/group-post-groups.md), you are not added to the group as a member. After the group is created, add yourself as a member by using [group post members](../api/group-post-members.md).
## Response
@@ -65,10 +66,12 @@ Here is an example of the request.
``` http POST https://graph.microsoft.com/beta/planner/plans Content-type: application/json
-Content-length: 381
+Content-length: 140
{
- "owner": "ebf3b108-5234-4e22-b93d-656d7dae5874",
+ "container": {
+ "url": "https://graph.microsoft.com/beta/groups/ebf3b108-5234-4e22-b93d-656d7dae5874"
+ },
"title": "title-value" } ```
@@ -91,20 +94,20 @@ Content-length: 381
---
-In the request body, supply a JSON representation of [plannerPlan](../resources/plannerplan.md) object.
- ### Response
-Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call.
+Here is an example of the response.
+
+>**Note:** The response object shown here might be shortened for readability.
<!-- { "blockType": "response", "truncated": true, "@odata.type": "microsoft.graph.plannerPlan" } --> ``` http
-HTTP/1.1 200 OK
+HTTP/1.1 201 Created
Content-type: application/json
-Content-length: 357
+Content-length: 544
{ "createdBy": {
@@ -112,11 +115,16 @@ Content-length: 357
"id": "95e27074-6c4a-447a-aa24-9d718a0b86fa" }, "user": {
- "id": "ebf3b108-5234-4e22-b93d-656d7dae5874"
+ "id": "b108ebf3-4e22-b93d-5234-dae5874656d7"
} }, "createdDateTime": "2015-03-30T18:36:49.2407981Z",
- "owner": "ebf3b108-5234-4e22-b93d-656d7dae5874",
+ "container": {
+ "@odata.type": "microsoft.graph.plannerPlanContainer",
+ "url": "https://graph.microsoft.com/beta/groups/ebf3b108-5234-4e22-b93d-656d7dae5874",
+ "containerId": "ebf3b108-5234-4e22-b93d-656d7dae5874",
+ "type": "group"
+ },
"title": "title-value", "id": "xqQg5FS2LkCp935s-FIFm2QAFkHM" }
v1.0 https://docs.microsoft.com/en-us/graph/api/plannergroup-list-plans https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannergroup-list-plans.md
@@ -97,7 +97,12 @@ Content-length: 421
} }, "createdDateTime": "2015-03-30T18:36:49.2407981Z",
- "owner": "ebf3b108-5234-4e22-b93d-656d7dae5874",
+ "container": {
+ "@odata.type": "microsoft.graph.plannerPlanContainer",
+ "url": "https://graph.microsoft.com/beta/groups/ebf3b108-5234-4e22-b93d-656d7dae5874",
+ "containerId": "ebf3b108-5234-4e22-b93d-656d7dae5874",
+ "type": "group"
+ },
"title": "title-value", "id": "xqQg5FS2LkCp935s-FIFm2QAFkHM" }
v1.0 https://docs.microsoft.com/en-us/graph/api/plannerplan-get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerplan-get.md
@@ -96,7 +96,12 @@ Content-length: 357
} }, "createdDateTime": "2015-03-30T18:36:49.2407981Z",
- "owner": "ebf3b108-5234-4e22-b93d-656d7dae5874",
+ "container": {
+ "@odata.type": "microsoft.graph.plannerPlanContainer",
+ "url": "https://graph.microsoft.com/beta/groups/ebf3b108-5234-4e22-b93d-656d7dae5874",
+ "containerId": "ebf3b108-5234-4e22-b93d-656d7dae5874",
+ "type": "group"
+ },
"title": "title-value", "id": "xqQg5FS2LkCp935s-FIFm2QAFkHM" }
v1.0 https://docs.microsoft.com/en-us/graph/api/plannerplan-update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerplan-update.md
@@ -40,11 +40,6 @@ PATCH /planner/plans/{plan-id}
## Request body In the request body, supply the values for relevant fields to update. Existing properties that are not included in the request body will maintain their previous values or be recalculated based on changes to other property values. For best performance, don't include existing values that haven't changed.
-| Property | Type |Description|
-|:---------------|:--------|:----------|
-|owner|String|[Group](../resources/group.md) `id` by which the plan is owned. A valid group must exist before this field can be set. Once set, this can only be updated by the owner.|
-|title|String|Title of the plan.|
- ## Response If successful, this method returns a `200 OK` response code and an updated [plannerPlan](../resources/plannerplan.md) object in the response body.
@@ -112,7 +107,12 @@ Content-length: 357
} }, "createdDateTime": "2015-03-30T18:36:49.2407981Z",
- "owner": "ebf3b108-5234-4e22-b93d-656d7dae5874",
+ "container": {
+ "@odata.type": "microsoft.graph.plannerPlanContainer",
+ "url": "https://graph.microsoft.com/beta/groups/ebf3b108-5234-4e22-b93d-656d7dae5874",
+ "containerId": "ebf3b108-5234-4e22-b93d-656d7dae5874",
+ "type": "group"
+ },
"title": "title-value", "id": "xqQg5FS2LkCp935s-FIFm2QAFkHM" }
v1.0 https://docs.microsoft.com/en-us/graph/api/workbookrange-columnsafter https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/workbookrange-columnsafter.md
@@ -27,7 +27,7 @@ One of the following permissions is required to call this API. To learn more, in
## HTTP request <!-- { "blockType": "ignored" } --> ```http
-POST /me/drive/root/workbook/worksheets/{id}/range/columnsAfter(count=n)
+GET /me/drive/root/workbook/worksheets/{id}/range/columnsAfter(count=n)
``` ## Function parameters
@@ -59,8 +59,8 @@ Here is an example of the request.
"blockType": "request", "name": "workbookrange_columnsafter" }-->
-```http
-POST https://graph.microsoft.com/beta/drive/root/workbook/worksheets/{id}/range/columnsAfter(count=2)
+```msgraph-interactive
+GET https://graph.microsoft.com/beta/drive/root/workbook/worksheets/{id}/range/columnsAfter(count=2)
``` # [C#](#tab/csharp) [!INCLUDE [sample-code](../includes/snippets/csharp/workbookrange-columnsafter-csharp-snippets.md)]
v1.0 https://docs.microsoft.com/en-us/graph/api/workbookrange-columnsbefore https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/workbookrange-columnsbefore.md
@@ -27,7 +27,7 @@ One of the following permissions is required to call this API. To learn more, in
## HTTP request <!-- { "blockType": "ignored" } --> ```http
-POST /me/drive/root/workbook/worksheets/{id}/range/columnsBefore(count=n)
+GET /me/drive/root/workbook/worksheets/{id}/range/columnsBefore(count=n)
```
@@ -59,8 +59,8 @@ Here is an example of the request.
"blockType": "request", "name": "workbookrange_columnsbefore" }-->
-```http
-POST https://graph.microsoft.com/beta/drive/root/workbook/worksheets/{id}/range/columnsBefore(count=2)
+```msgraph-interactive
+GET https://graph.microsoft.com/beta/drive/root/workbook/worksheets/{id}/range/columnsBefore(count=2)
``` # [C#](#tab/csharp) [!INCLUDE [sample-code](../includes/snippets/csharp/workbookrange-columnsbefore-csharp-snippets.md)]
v1.0 https://docs.microsoft.com/en-us/graph/api/workbookrange-rowsabove https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/workbookrange-rowsabove.md
@@ -27,7 +27,7 @@ One of the following permissions is required to call this API. To learn more, in
## HTTP request <!-- { "blockType": "ignored" } --> ```http
-POST /me/drive/root/workbook/worksheets/{id}/range/rowsAbove(count=n)
+GET /me/drive/root/workbook/worksheets/{id}/range/rowsAbove(count=n)
```
@@ -60,8 +60,8 @@ Here is an example of the request.
"blockType": "request", "name": "workbookrange_rowsAbove" }-->
-```http
-POST https://graph.microsoft.com/beta/drive/root/workbook/worksheets/{id}/range/rowsAbove(count=2)
+```msgraph-interactive
+GET https://graph.microsoft.com/beta/drive/root/workbook/worksheets/{id}/range/rowsAbove(count=2)
``` # [C#](#tab/csharp) [!INCLUDE [sample-code](../includes/snippets/csharp/workbookrange-rowsabove-csharp-snippets.md)]
v1.0 https://docs.microsoft.com/en-us/graph/api/workbookrange-rowsbelow https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/workbookrange-rowsbelow.md
@@ -27,7 +27,7 @@ One of the following permissions is required to call this API. To learn more, in
## HTTP request <!-- { "blockType": "ignored" } --> ```http
-POST /me/drive/root/workbook/worksheets/{id}/range/rowsBelow(count=n)
+GET /me/drive/root/workbook/worksheets/{id}/range/rowsBelow(count=n)
```
@@ -60,8 +60,8 @@ Here is an example of the request.
"blockType": "request", "name": "workbookrange_rowsBelow" }-->
-```http
-POST https://graph.microsoft.com/beta/drive/root/workbook/worksheets/{id}/range/rowsBelow(count=2)
+```msgraph-interactive
+GET https://graph.microsoft.com/beta/drive/root/workbook/worksheets/{id}/range/rowsBelow(count=2)
``` # [C#](#tab/csharp) [!INCLUDE [sample-code](../includes/snippets/csharp/workbookrange-rowsbelow-csharp-snippets.md)]
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/csharp/workbookrange-columnsafter-csharp-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/includes/snippets/csharp/workbookrange-columnsafter-csharp-snippets.md
@@ -6,10 +6,10 @@ description: "Automatically generated file. DO NOT MODIFY"
GraphServiceClient graphClient = new GraphServiceClient( authProvider );
-await graphClient.Drive.Root.Workbook.Worksheets["{id}"]
+var workbookRange = await graphClient.Drive.Root.Workbook.Worksheets["{id}"]
.Range()
- .ColumnsAfter(null)
+ .ColumnsAfter(2)
.Request()
- .PostAsync();
+ .GetAsync();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/csharp/workbookrange-columnsbefore-csharp-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/includes/snippets/csharp/workbookrange-columnsbefore-csharp-snippets.md
@@ -6,10 +6,10 @@ description: "Automatically generated file. DO NOT MODIFY"
GraphServiceClient graphClient = new GraphServiceClient( authProvider );
-await graphClient.Drive.Root.Workbook.Worksheets["{id}"]
+var workbookRange = await graphClient.Drive.Root.Workbook.Worksheets["{id}"]
.Range()
- .ColumnsBefore(null)
+ .ColumnsBefore(2)
.Request()
- .PostAsync();
+ .GetAsync();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/csharp/workbookrange-rowsabove-csharp-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/includes/snippets/csharp/workbookrange-rowsabove-csharp-snippets.md
@@ -6,10 +6,10 @@ description: "Automatically generated file. DO NOT MODIFY"
GraphServiceClient graphClient = new GraphServiceClient( authProvider );
-await graphClient.Drive.Root.Workbook.Worksheets["{id}"]
+var workbookRange = await graphClient.Drive.Root.Workbook.Worksheets["{id}"]
.Range()
- .RowsAbove(null)
+ .RowsAbove(2)
.Request()
- .PostAsync();
+ .GetAsync();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/csharp/workbookrange-rowsbelow-csharp-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/includes/snippets/csharp/workbookrange-rowsbelow-csharp-snippets.md
@@ -6,10 +6,10 @@ description: "Automatically generated file. DO NOT MODIFY"
GraphServiceClient graphClient = new GraphServiceClient( authProvider );
-await graphClient.Drive.Root.Workbook.Worksheets["{id}"]
+var workbookRange = await graphClient.Drive.Root.Workbook.Worksheets["{id}"]
.Range()
- .RowsBelow(null)
+ .RowsBelow(2)
.Request()
- .PostAsync();
+ .GetAsync();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/java/workbookrange-columnsafter-java-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/includes/snippets/java/workbookrange-columnsafter-java-snippets.md
@@ -6,10 +6,10 @@ description: "Automatically generated file. DO NOT MODIFY"
IGraphServiceClient graphClient = GraphServiceClient.builder().authenticationProvider( authProvider ).buildClient();
-graphClient.drive().root().workbook().worksheets("{id}")
+WorkbookRange workbookRange = graphClient.drive().root().workbook().worksheets("{id}")
.range()
- .columnsAfter(null)
+ .columnsAfter(2)
.buildRequest()
- .post();
+ .get();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/java/workbookrange-columnsbefore-java-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/includes/snippets/java/workbookrange-columnsbefore-java-snippets.md
@@ -6,10 +6,10 @@ description: "Automatically generated file. DO NOT MODIFY"
IGraphServiceClient graphClient = GraphServiceClient.builder().authenticationProvider( authProvider ).buildClient();
-graphClient.drive().root().workbook().worksheets("{id}")
+WorkbookRange workbookRange = graphClient.drive().root().workbook().worksheets("{id}")
.range()
- .columnsBefore(null)
+ .columnsBefore(2)
.buildRequest()
- .post();
+ .get();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/java/workbookrange-rowsabove-java-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/includes/snippets/java/workbookrange-rowsabove-java-snippets.md
@@ -6,10 +6,10 @@ description: "Automatically generated file. DO NOT MODIFY"
IGraphServiceClient graphClient = GraphServiceClient.builder().authenticationProvider( authProvider ).buildClient();
-graphClient.drive().root().workbook().worksheets("{id}")
+WorkbookRange workbookRange = graphClient.drive().root().workbook().worksheets("{id}")
.range()
- .rowsAbove(null)
+ .rowsAbove(2)
.buildRequest()
- .post();
+ .get();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/java/workbookrange-rowsbelow-java-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/includes/snippets/java/workbookrange-rowsbelow-java-snippets.md
@@ -6,10 +6,10 @@ description: "Automatically generated file. DO NOT MODIFY"
IGraphServiceClient graphClient = GraphServiceClient.builder().authenticationProvider( authProvider ).buildClient();
-graphClient.drive().root().workbook().worksheets("{id}")
+WorkbookRange workbookRange = graphClient.drive().root().workbook().worksheets("{id}")
.range()
- .rowsBelow(null)
+ .rowsBelow(2)
.buildRequest()
- .post();
+ .get();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/javascript/workbookrange-columnsafter-javascript-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/includes/snippets/javascript/workbookrange-columnsafter-javascript-snippets.md
@@ -12,6 +12,6 @@ const client = Client.init(options);
let res = await client.api('/drive/root/workbook/worksheets/{id}/range/columnsAfter(count=2)') .version('beta')
- .post();
+ .get();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/javascript/workbookrange-columnsbefore-javascript-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/includes/snippets/javascript/workbookrange-columnsbefore-javascript-snippets.md
@@ -12,6 +12,6 @@ const client = Client.init(options);
let res = await client.api('/drive/root/workbook/worksheets/{id}/range/columnsBefore(count=2)') .version('beta')
- .post();
+ .get();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/javascript/workbookrange-rowsabove-javascript-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/includes/snippets/javascript/workbookrange-rowsabove-javascript-snippets.md
@@ -12,6 +12,6 @@ const client = Client.init(options);
let res = await client.api('/drive/root/workbook/worksheets/{id}/range/rowsAbove(count=2)') .version('beta')
- .post();
+ .get();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/javascript/workbookrange-rowsbelow-javascript-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/includes/snippets/javascript/workbookrange-rowsbelow-javascript-snippets.md
@@ -12,6 +12,6 @@ const client = Client.init(options);
let res = await client.api('/drive/root/workbook/worksheets/{id}/range/rowsBelow(count=2)') .version('beta')
- .post();
+ .get();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/objc/workbookrange-columnsafter-objc-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/includes/snippets/objc/workbookrange-columnsafter-objc-snippets.md
@@ -8,12 +8,12 @@ MSHTTPClient *httpClient = [MSClientFactory createHTTPClientWithAuthenticationPr
NSString *MSGraphBaseURL = @"https://graph.microsoft.com/beta/"; NSMutableURLRequest *urlRequest = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:[MSGraphBaseURL stringByAppendingString:@"/drive/root/workbook/worksheets/{id}/range/columnsAfter(count=2)"]]];
-[urlRequest setHTTPMethod:@"POST"];
+[urlRequest setHTTPMethod:@"GET"];
MSURLSessionDataTask *meDataTask = [httpClient dataTaskWithRequest:urlRequest completionHandler: ^(NSData *data, NSURLResponse *response, NSError *nserror) {
- //Request Completed
+ MSGraphWorkbookRange *workbookRange = [[MSGraphWorkbookRange alloc] initWithData:data error:&nserror];
}];
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/objc/workbookrange-columnsbefore-objc-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/includes/snippets/objc/workbookrange-columnsbefore-objc-snippets.md
@@ -8,12 +8,12 @@ MSHTTPClient *httpClient = [MSClientFactory createHTTPClientWithAuthenticationPr
NSString *MSGraphBaseURL = @"https://graph.microsoft.com/beta/"; NSMutableURLRequest *urlRequest = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:[MSGraphBaseURL stringByAppendingString:@"/drive/root/workbook/worksheets/{id}/range/columnsBefore(count=2)"]]];
-[urlRequest setHTTPMethod:@"POST"];
+[urlRequest setHTTPMethod:@"GET"];
MSURLSessionDataTask *meDataTask = [httpClient dataTaskWithRequest:urlRequest completionHandler: ^(NSData *data, NSURLResponse *response, NSError *nserror) {
- //Request Completed
+ MSGraphWorkbookRange *workbookRange = [[MSGraphWorkbookRange alloc] initWithData:data error:&nserror];
}];
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/objc/workbookrange-rowsabove-objc-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/includes/snippets/objc/workbookrange-rowsabove-objc-snippets.md
@@ -8,12 +8,12 @@ MSHTTPClient *httpClient = [MSClientFactory createHTTPClientWithAuthenticationPr
NSString *MSGraphBaseURL = @"https://graph.microsoft.com/beta/"; NSMutableURLRequest *urlRequest = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:[MSGraphBaseURL stringByAppendingString:@"/drive/root/workbook/worksheets/{id}/range/rowsAbove(count=2)"]]];
-[urlRequest setHTTPMethod:@"POST"];
+[urlRequest setHTTPMethod:@"GET"];
MSURLSessionDataTask *meDataTask = [httpClient dataTaskWithRequest:urlRequest completionHandler: ^(NSData *data, NSURLResponse *response, NSError *nserror) {
- //Request Completed
+ MSGraphWorkbookRange *workbookRange = [[MSGraphWorkbookRange alloc] initWithData:data error:&nserror];
}];
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/objc/workbookrange-rowsbelow-objc-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/includes/snippets/objc/workbookrange-rowsbelow-objc-snippets.md
@@ -8,12 +8,12 @@ MSHTTPClient *httpClient = [MSClientFactory createHTTPClientWithAuthenticationPr
NSString *MSGraphBaseURL = @"https://graph.microsoft.com/beta/"; NSMutableURLRequest *urlRequest = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:[MSGraphBaseURL stringByAppendingString:@"/drive/root/workbook/worksheets/{id}/range/rowsBelow(count=2)"]]];
-[urlRequest setHTTPMethod:@"POST"];
+[urlRequest setHTTPMethod:@"GET"];
MSURLSessionDataTask *meDataTask = [httpClient dataTaskWithRequest:urlRequest completionHandler: ^(NSData *data, NSURLResponse *response, NSError *nserror) {
- //Request Completed
+ MSGraphWorkbookRange *workbookRange = [[MSGraphWorkbookRange alloc] initWithData:data error:&nserror];
}];
v1.0 https://docs.microsoft.com/en-us/graph/resources/enums https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/enums.md
@@ -1597,3 +1597,10 @@ Possible values for user account types (group membership), per Windows definitio
|group | 1 | Indicates that the chat is a Group chat. The roster size (of at least 2 person) can be updated for this type of chat. The members can be removed / added later on. | |meeting | 2 | Indicates that the chat is a Meeting chat, which is created as a side effect of creation of an OnlineMeeting. | |unknownFutureValue | 3 | Sentinel value to indicate future values. |+
+### plannerContainerType values
+
+|Member|
+|:---|
+|group|
+|unknownFutureValue|
\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/resources/planner-overview https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/planner-overview.md
@@ -15,18 +15,24 @@ You can use the Planner API in Microsoft Graph to create tasks and assign them t
Before you get started with the Planner API, it will be helpful to understand how the main objects relate to each other as well as to Microsoft 365 groups.
-## Microsoft 365 groups
+## Plan containers
+In Planner, plans are always contained by another resource. The containing resource determines the authoization rules of the plan and all the tasks in it, as well as the lifecycle of the plan. For example, for plans contained by Microsoft 365 groups,
+group members will be able to create, edit, resolve, and delete tasks in the plan, as well as changing some plan-level properties, such as the name of the plan or label names. Additionally, when the group is deleted, all the plans in the group are automatically deleted, or if a group is restored, all the plans will be automatically restored.
-Microsoft 365 groups are the owners of the plans in the Planner API.
+The most common type of container is a Microsoft 365 group.
+
+### Container type: Microsoft 365 groups
+
+Plans are commonly contained in Microsoft 365 groups in the Planner API.
To [get the plans owned by a group](../api/plannergroup-list-plans.md), make the following HTTP request. ``` http GET /groups/{group-id}/planner/plans ```
-When [creating a new plan](../api/planner-post-plans.md), make a group its owner by setting the `owner` property on a plan object. Plans must be owned by groups.
+When [creating a new plan](../api/planner-post-plans.md), make a group its container by setting the `container` property on a plan object. Plans must be contained by a supported resource.
->**Note:** The user who is creating the plan must be a member of the group that will own the plan. When you create a new group by using [Create group](../api/group-post-groups.md), you are not added to the group as a member. After the group is created, add yourself as a member by using [group post members](../api/group-post-members.md).
+>**Note:** The user who is creating the plan must be a member of the group that will contain the plan. When you create a new group by using [Create group](../api/group-post-groups.md), you are not added to the group as a member. After the group is created, add yourself as a member by using [group post members](../api/group-post-members.md).
## Plans
v1.0 https://docs.microsoft.com/en-us/graph/resources/plannerplan https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/plannerplan.md
@@ -29,19 +29,20 @@ The **plannerPlan** resource represents a plan in Microsoft 365. A plan can be o
## Properties | Property | Type |Description| |:---------------|:--------|:----------|
+|container|[plannerPlanContainer](../resources/plannerplancontainer.md)|Identifies the container of the plan. After it is set, this property canΓÇÖt be updated. Required.|
|createdDateTime|DateTimeOffset|Read-only. Date and time at which the plan is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: `'2014-01-01T00:00:00Z'`| |id|String| Read-only. ID of the plan. It is 28 characters long and case-sensitive. [Format validation](tasks-identifiers-disclaimer.md) is done on the service.|
-|owner|String|ID of the [Group](group.md) that owns the plan. A valid group must exist before this field can be set. After it is set, this property canΓÇÖt be updated.|
|title|String|Required. Title of the plan.| |createdBy|[identitySet](identityset.md)|Read-only. The user who created the plan.| |contexts|[plannerPlanContextCollection](plannerplancontextcollection.md)| Read-only. Additional user experiences in which this plan is used, represented as [plannerPlanContext](plannerplancontext.md) entries.|
+|owner (deprecated) |String| Use the **container** property instead. ID of the [group](group.md) that owns the plan. After it is set, this property canΓÇÖt be updated. This property will not return a valid group ID if the container of the plan is not a group.|
## Relationships | Relationship | Type |Description| |:---------------|:--------|:----------|
-|buckets|[plannerBucket](plannerbucket.md) collection| Read-only. Nullable. Collection of buckets in the plan.|
-|details|[plannerPlanDetails](plannerplandetails.md)| Read-only. Nullable. Additional details about the plan.|
-|tasks|[plannerTask](plannertask.md) collection| Read-only. Nullable. Collection of tasks in the plan.|
+|buckets|[plannerBucket](plannerbucket.md) collection| Collection of buckets in the plan. Read-only. Nullable.|
+|details|[plannerPlanDetails](plannerplandetails.md)| Additional details about the plan. Read-only. Nullable. |
+|tasks|[plannerTask](plannertask.md) collection| Collection of tasks in the plan. Read-only. Nullable. |
## JSON representation
@@ -74,7 +75,12 @@ Here is a JSON representation of the resource.
"createdBy": {"@odata.type": "microsoft.graph.identitySet"}, "createdDateTime": "String (timestamp)", "id": "String (identifier)",
- "owner": "String",
+ "container": {
+ "@odata.type": "microsoft.graph.plannerPlanContainer",
+ "url": "String",
+ "containerId": "String",
+ "type": "String"
+ },
"title": "String" }
v1.0 https://docs.microsoft.com/en-us/graph/resources/plannerplancontainer https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/plannerplancontainer.md new file mode 100644
@@ -0,0 +1,47 @@
+---
+title: "plannerPlanContainer resource type"
+description: "Represents a container for a plannerPlan. The container is a resource that specifies authorization rules and the lifetime of the plan."
+author: "TarkanSevilmis"
+localization_priority: Normal
+ms.prod: "planner"
+doc_type: resourcePageType
+---
+
+# plannerPlanContainer resource type
+
+Namespace: microsoft.graph
+
+Represents a container for a [plannerPlan](plannerPlan.md). The container is a resource that specifies authorization rules and the lifetime of the plan. This means that only the people who are authorized to work with the resource containing the plan will be able to work with the plan and the tasks within it. When the containing resource is deleted, the contained plans are also deleted. Properties of **plannerPlanContainer** cannot be changed after the plan is created.
+
+Planner currently supports the container types listed in the following table. When creating a plan, the **containerUrl** property must be specified with the path of the resource identified in the table.
+
+|Type|Description|Path to the resource|
+|----|-----------|--------------------|
+|group| Plan is contained by a group.| https://graph.microsoft.com/v1.0/groups/&lt;id&gt;|
+
+## Properties
+|Property|Type|Description|
+|:---|:---|:---|
+|containerId|String|The identifier of the resource that contains the plan.|
+|type|plannerContainerType| The type of the resource that contains the plan. See the previous table for supported types. Possible values are: `group`, `unknownFutureValue`.|
+|url|String|The full canonical URL of the container.|
+
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.plannerPlanContainer"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.plannerPlanContainer",
+ "url": "String",
+ "containerId": "String",
+ "type": "String"
+}
+```
+
v1.0 https://docs.microsoft.com/en-us/graph/resources/plannertask https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/plannertask.md
@@ -38,6 +38,7 @@ The **plannerTask** resource represents a Planner task in Microsoft 365. A Plann
|conversationThreadId|String|Thread ID of the conversation on the task. This is the ID of the conversation thread object created in the group.| |createdBy|[identitySet](identityset.md)|Identity of the user that created the task.| |createdDateTime|DateTimeOffset|Read-only. Date and time at which the task is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: `'2014-01-01T00:00:00Z'`|
+|creationSource|[plannerTaskCreation](../resources/plannertaskcreation.md)|Contains information about the origin of the task.|
|dueDateTime|DateTimeOffset|Date and time at which the task is due. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: `'2014-01-01T00:00:00Z'`| |hasDescription|Boolean|Read-only. Value is `true` if the details object of the task has a non-empty description and `false` otherwise.| |id|String|Read-only. ID of the task. It is 28 characters long and case-sensitive. [Format validation](tasks-identifiers-disclaimer.md) is done on the service.|
v1.0 https://docs.microsoft.com/en-us/graph/resources/plannertaskcreation https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/plannertaskcreation.md new file mode 100644
@@ -0,0 +1,39 @@
+---
+title: "plannerTaskCreation resource type"
+description: "Contains information about the origin of the plannerTask."
+author: "TarkanSevilmis"
+localization_priority: Normal
+ms.prod: "planner"
+doc_type: resourcePageType
+---
+
+# plannerTaskCreation resource type
+
+Namespace: microsoft.graph
+
+Contains information about the origin of the [plannerTask](plannerTask.md). This resource will either have all its properties set to `null`, or exactly one property will have a value that indicates that the task was created by the process described by that property. All properties `null` indicates this task was not created by any specialized process. Apps do not need to know the origin of the task to be able to work with it; however, some apps can use the additional information to provide specific experiences around these tasks. See the documentation for specific resources to learn more.
+
+## Properties
+|Property|Type|Description|
+|:---|:---|:---|
+|teamsPublicationInfo|[plannerTeamsPublicationInfo](../resources/plannerteamspublicationinfo.md)|Information about the publication process that created this task. `null` value indicates that the task was not created by a publication process.|
+
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.plannerTaskCreation"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.plannerTaskCreation",
+ "teamsPublicationInfo": {
+ "@odata.type": "microsoft.graph.plannerTeamsPublicationInfo"
+ }
+}
+```
+
v1.0 https://docs.microsoft.com/en-us/graph/resources/plannerteamspublicationinfo https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/plannerteamspublicationinfo.md new file mode 100644
@@ -0,0 +1,45 @@
+---
+title: "plannerTeamsPublicationInfo resource type"
+description: "Contains detailed information about the publication process that created a plannerTask."
+author: "TarkanSevilmis"
+localization_priority: Normal
+ms.prod: "planner"
+doc_type: resourcePageType
+---
+
+# plannerTeamsPublicationInfo resource type
+
+Namespace: microsoft.graph
+
+Contains detailed information about the publication process that created a [plannerTask](plannertask.md). A publication process creates copies of tasks based on a template. These tasks are created in multiple plans, and have restricted permissions for the users; for example, they cannot be deleted and users might be blocked from editing certain fields. Publication is used to distribute tasks across an organization and track their progress centrally.
+
+## Properties
+|Property|Type|Description|
+|:---|:---|:---|
+|lastModifiedDateTime|DateTimeOffset|The date and time when this task was last modified by the publication process. Read-only. |
+|publicationId|String| The identifier of the publication. Read-only.|
+|publishedToPlanId|String|The identifier of the **plannerPlan** this task was originally placed in. Read-only. |
+|publishingTeamId|String| The identifier of the [team](team.md) that initiated the publication process. Read-only.|
+|publishingTeamName|String|The display name of the team that initiated the publication process. This display name is for reference only, and might not represent the most up-to-date name of the team. Read-only. |
+
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.plannerTeamsPublicationInfo"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.plannerTeamsPublicationInfo",
+ "publicationId": "String",
+ "publishingTeamId": "String",
+ "publishingTeamName": "String",
+ "lastModifiedDateTime": "String (timestamp)",
+ "publishedToPlanId": "String"
+}
+```
+
v1.0 https://docs.microsoft.com/en-us/graph/resources/printjob https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/printjob.md
@@ -70,7 +70,6 @@ The following is a JSON representation of the resource.
"configuration": {"@odata.type": "microsoft.graph.printJobConfiguration"}, "documents": [ {"@odata.type": "microsoft.graph.printDocument"} ] }- ``` <!-- uuid: 8fcb5dbc-d5aa-4681-8e31-b001d5168d79
v1.0 https://docs.microsoft.com/en-us/graph/resources/search-api-overview https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/search-api-overview.md
@@ -34,7 +34,7 @@ Search requests run on behalf of the user. Search results are scoped to enforce
|[Use KQL in query terms](#keyword-query-language-kql-support) | **query** | |[Sort search results](#sort-search-results)| **sort** | |[Refine results using aggregations](#refine-results-using-aggregations)| **aggregations** |
-|[Search across Graph connectors](/graph/search-concept-custom-types)| **contentSources** |
+|[Search custom types imported using connectors](/graph/search-concept-custom-types)| **contentSources** |
## Scope search based on entity types
@@ -185,9 +185,12 @@ For backward compatibility, the original properties and types are accessible and
- [Search Outlook messages](/graph/search-concept-messages) - [Search calendar events](/graph/search-concept-events) - [Search content in Sharepoint and OneDrive](/graph/search-concept-files)
- - [Search external content](/graph/search-concept-custom-types)
+ - [Search custom types imported using connectors](/graph/search-concept-custom-types)
- [Sort search results](/graph/search-concept-sort) - [Refine search results](/graph/search-concept-aggregation) - Explore the search APIs in [Graph Explorer](https://developer.microsoft.com/graph/graph-explorer).-- Find out about the [latest new features and updates](/graph/whats-new-overview) for this API set.+
+## What's new
+
+Find out about the [latest new features and updates](/graph/whats-new-overview) for this API set.
v1.0 https://docs.microsoft.com/en-us/graph/resources/searchrequest https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/searchrequest.md
@@ -28,7 +28,7 @@ The JSON blob contains the types of resources expected in the response, the unde
| Property | Type | Description | |:-------------|:------------|:------------|:------------| |aggregations|[aggregationOption](aggregationOption.md) collection|Specifies aggregations (also known as refiners) to be returned alongside search results. Optional.|
-|aggregationFilters|String collection|Contains one or more filters to obtain search results aggregated and filtered to a specific value of a field. Optional.<br>Build this filter based on a prior search that aggregates by the same field. From the response of the prior search, identify the [searchBucket](searchBucket.md) that filters results to the specific value of the field, use the string in its **aggregationFilterToken** property, and build an aggregation filter string in the format **"{field}:\\"{aggregationFilterToken}\\""**. <br>For example, searching and aggregating drive items by file type returns a **searchBucket** for the file type `docx` in the response. You can conveniently use the **aggregationFilterToken** returned for this **searchBucket** in a subsequent search query and filter matches down to drive items of the `docx` file type. [Example 1](/graph/search-concept-aggregation#example-1-request-aggregations-by-string-fields) and [example 2](/graph/search-concept-aggregation#example-2-apply-an-aggregation-filter-based-on-a-previous-request) show the actual requests and responses.|
+|aggregationFilters|String collection|Contains one or more filters to obtain search results aggregated and filtered to a specific value of a field. Optional.<br>Build this filter based on a prior search that aggregates by the same field. From the response of the prior search, identify the [searchBucket](searchBucket.md) that filters results to the specific value of the field, use the string in its **aggregationFilterToken** property, and build an aggregation filter string in the format **"{field}:\\"{aggregationFilterToken}\\""**. <br>If multiple values for the same field need to be provided, use the strings in its **aggregationFilterToken** property and build an aggregation filter string in the format **"{field}:or(\\"{aggregationFilterToken1}\\",\\"{aggregationFilterToken2}\\")"**. <br>For example, searching and aggregating drive items by file type returns a **searchBucket** for the file type `docx` in the response. You can conveniently use the **aggregationFilterToken** returned for this **searchBucket** in a subsequent search query and filter matches down to drive items of the `docx` file type. [Example 1](/graph/search-concept-aggregation#example-1-request-aggregations-by-string-fields) and [example 2](/graph/search-concept-aggregation#example-2-apply-an-aggregation-filter-based-on-a-previous-request) show the actual requests and responses.|
|contentSources|String collection|Contains the connection to be targeted. <br>Respects the following format : `/external/connections/connectionid` where `connectionid` is the ConnectionId defined in the Connectors Administration. <br> Note : contentSource is only applicable when entityType=`externalItem`. Optional.| |enableTopResults|Boolean|This triggers hybrid sort for messages : the first 3 messages are the most relevant. This property is only applicable to entityType=`message`. Optional.| |entityTypes|entityType collection| One or more types of resources expected in the response. Possible values are: `list`, `site`, `listItem`, `message`, `event`, `drive`, `driveItem`, `externalItem`. See [known limitations](search-api-overview.md#known-limitations) for those combinations of two or more entity types that are supported in the same search request. Required.|
@@ -72,7 +72,7 @@ The following is a JSON representation of the resource.
- Search [mail messages](/graph/search-concept-messages) - Search [calendar events](/graph/search-concept-events) - Search content in SharePoint and OneDrive ([files, lists and sites](/graph/search-concept-files))-- Search [custom types (Graph Connectors)](/graph/search-concept-custom-types) data
+- Search [custom types imported using connectors)](/graph/search-concept-custom-types) data
- [Sort](/graph/search-concept-sort) search results - Use [aggregations](/graph/search-concept-aggregations) to refine search results
v1.0 https://docs.microsoft.com/en-us/graph/api/workbookrange-columnsafter https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/workbookrange-columnsafter.md
@@ -26,7 +26,7 @@ One of the following permissions is required to call this API. To learn more, in
<!-- { "blockType": "ignored" } --> ```http
-POST /me/drive/root/workbook/worksheets/{id}/range/columnsAfter(count=n)
+GET /me/drive/root/workbook/worksheets/{id}/range/columnsAfter(count=n)
```
@@ -60,8 +60,8 @@ Here is an example of the request.
"name": "workbookrange_columnsafter", "idempotent": true }-->
-```http
-POST https://graph.microsoft.com/v1.0/me/drive/root/workbook/worksheets/{id}/range/columnsAfter(count=2)
+```msgraph-interactive
+GET https://graph.microsoft.com/v1.0/me/drive/root/workbook/worksheets/{id}/range/columnsAfter(count=2)
``` # [C#](#tab/csharp) [!INCLUDE [sample-code](../includes/snippets/csharp/workbookrange-columnsafter-csharp-snippets.md)]
v1.0 https://docs.microsoft.com/en-us/graph/api/workbookrange-columnsbefore https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/workbookrange-columnsbefore.md
@@ -26,7 +26,7 @@ One of the following permissions is required to call this API. To learn more, in
<!-- { "blockType": "ignored" } --> ```http
-POST /me/drive/root/workbook/worksheets/{id}/range/columnsBefore(count=n)
+GET /me/drive/root/workbook/worksheets/{id}/range/columnsBefore(count=n)
```
@@ -60,8 +60,8 @@ Here is an example of the request.
"name": "workbookrange_columnsbefore", "idempotent": true }-->
-```http
-POST https://graph.microsoft.com/v1.0/me/drive/root/workbook/worksheets/{id}/range/columnsBefore(count=2)
+```msgraph-interactive
+GET https://graph.microsoft.com/v1.0/me/drive/root/workbook/worksheets/{id}/range/columnsBefore(count=2)
``` # [C#](#tab/csharp) [!INCLUDE [sample-code](../includes/snippets/csharp/workbookrange-columnsbefore-csharp-snippets.md)]
v1.0 https://docs.microsoft.com/en-us/graph/api/workbookrange-rowsabove https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/workbookrange-rowsabove.md
@@ -26,7 +26,7 @@ One of the following permissions is required to call this API. To learn more, in
<!-- { "blockType": "ignored" } --> ```http
-POST /me/drive/root/workbook/worksheets/{id}/range/rowsAbove(count=n)
+GET /me/drive/root/workbook/worksheets/{id}/range/rowsAbove(count=n)
```
@@ -60,8 +60,8 @@ Here is an example of the request.
"name": "workbookrange_rowsAbove", "idempotent": true }-->
-```http
-POST https://graph.microsoft.com/v1.0/me/drive/root/workbook/worksheets/{id}/range/rowsAbove(count=2)
+```msgraph-interactive
+GET https://graph.microsoft.com/v1.0/me/drive/root/workbook/worksheets/{id}/range/rowsAbove(count=2)
``` # [C#](#tab/csharp) [!INCLUDE [sample-code](../includes/snippets/csharp/workbookrange-rowsabove-csharp-snippets.md)]
@@ -116,8 +116,8 @@ If called without the optional `count` parameter, this function returns the sing
"name": "workbookrange_rowsAbove_nocount", "idempotent": true }-->
-```http
-POST https://graph.microsoft.com/v1.0/me/drive/root/workbook/worksheets/{id}/range/rowsAbove
+```msgraph-interactive
+GET https://graph.microsoft.com/v1.0/me/drive/root/workbook/worksheets/{id}/range/rowsAbove
``` # [C#](#tab/csharp) [!INCLUDE [sample-code](../includes/snippets/csharp/workbookrange-rowsabove-nocount-csharp-snippets.md)]
v1.0 https://docs.microsoft.com/en-us/graph/api/workbookrange-rowsbelow https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/workbookrange-rowsbelow.md
@@ -26,7 +26,7 @@ One of the following permissions is required to call this API. To learn more, in
<!-- { "blockType": "ignored" } --> ```http
-POST /me/drive/root/workbook/worksheets/{id}/range/rowsBelow(count=n)
+GET /me/drive/root/workbook/worksheets/{id}/range/rowsBelow(count=n)
```
@@ -60,8 +60,8 @@ Here is an example of the request.
"name": "workbookrange_rowsBelow", "idempotent": true }-->
-```http
-POST https://graph.microsoft.com/v1.0/me/drive/root/workbook/worksheets/{id}/range/rowsBelow(count=2)
+```msgraph-interactive
+GET https://graph.microsoft.com/v1.0/me/drive/root/workbook/worksheets/{id}/range/rowsBelow(count=2)
``` # [C#](#tab/csharp) [!INCLUDE [sample-code](../includes/snippets/csharp/workbookrange-rowsbelow-csharp-snippets.md)]
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/csharp/workbookrange-columnsafter-csharp-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/includes/snippets/csharp/workbookrange-columnsafter-csharp-snippets.md
@@ -6,10 +6,10 @@ description: "Automatically generated file. DO NOT MODIFY"
GraphServiceClient graphClient = new GraphServiceClient( authProvider );
-await graphClient.Me.Drive.Root.Workbook.Worksheets["{id}"]
+var workbookRange = await graphClient.Me.Drive.Root.Workbook.Worksheets["{id}"]
.Range()
- .ColumnsAfter(null)
+ .ColumnsAfter(2)
.Request()
- .PostAsync();
+ .GetAsync();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/csharp/workbookrange-columnsbefore-csharp-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/includes/snippets/csharp/workbookrange-columnsbefore-csharp-snippets.md
@@ -6,10 +6,10 @@ description: "Automatically generated file. DO NOT MODIFY"
GraphServiceClient graphClient = new GraphServiceClient( authProvider );
-await graphClient.Me.Drive.Root.Workbook.Worksheets["{id}"]
+var workbookRange = await graphClient.Me.Drive.Root.Workbook.Worksheets["{id}"]
.Range()
- .ColumnsBefore(null)
+ .ColumnsBefore(2)
.Request()
- .PostAsync();
+ .GetAsync();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/csharp/workbookrange-rowsabove-csharp-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/includes/snippets/csharp/workbookrange-rowsabove-csharp-snippets.md
@@ -6,10 +6,10 @@ description: "Automatically generated file. DO NOT MODIFY"
GraphServiceClient graphClient = new GraphServiceClient( authProvider );
-await graphClient.Me.Drive.Root.Workbook.Worksheets["{id}"]
+var workbookRange = await graphClient.Me.Drive.Root.Workbook.Worksheets["{id}"]
.Range()
- .RowsAbove(null)
+ .RowsAbove(2)
.Request()
- .PostAsync();
+ .GetAsync();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/csharp/workbookrange-rowsabove-nocount-csharp-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/includes/snippets/csharp/workbookrange-rowsabove-nocount-csharp-snippets.md
@@ -6,10 +6,10 @@ description: "Automatically generated file. DO NOT MODIFY"
GraphServiceClient graphClient = new GraphServiceClient( authProvider );
-await graphClient.Me.Drive.Root.Workbook.Worksheets["{id}"]
+var workbookRange = await graphClient.Me.Drive.Root.Workbook.Worksheets["{id}"]
.Range() .RowsAbove() .Request()
- .PostAsync();
+ .GetAsync();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/csharp/workbookrange-rowsbelow-csharp-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/includes/snippets/csharp/workbookrange-rowsbelow-csharp-snippets.md
@@ -6,10 +6,10 @@ description: "Automatically generated file. DO NOT MODIFY"
GraphServiceClient graphClient = new GraphServiceClient( authProvider );
-await graphClient.Me.Drive.Root.Workbook.Worksheets["{id}"]
+var workbookRange = await graphClient.Me.Drive.Root.Workbook.Worksheets["{id}"]
.Range()
- .RowsBelow(null)
+ .RowsBelow(2)
.Request()
- .PostAsync();
+ .GetAsync();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/java/workbookrange-columnsafter-java-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/includes/snippets/java/workbookrange-columnsafter-java-snippets.md
@@ -6,10 +6,10 @@ description: "Automatically generated file. DO NOT MODIFY"
IGraphServiceClient graphClient = GraphServiceClient.builder().authenticationProvider( authProvider ).buildClient();
-graphClient.me().drive().root().workbook().worksheets("{id}")
+WorkbookRange workbookRange = graphClient.me().drive().root().workbook().worksheets("{id}")
.range()
- .columnsAfter(null)
+ .columnsAfter(2)
.buildRequest()
- .post();
+ .get();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/java/workbookrange-columnsbefore-java-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/includes/snippets/java/workbookrange-columnsbefore-java-snippets.md
@@ -6,10 +6,10 @@ description: "Automatically generated file. DO NOT MODIFY"
IGraphServiceClient graphClient = GraphServiceClient.builder().authenticationProvider( authProvider ).buildClient();
-graphClient.me().drive().root().workbook().worksheets("{id}")
+WorkbookRange workbookRange = graphClient.me().drive().root().workbook().worksheets("{id}")
.range()
- .columnsBefore(null)
+ .columnsBefore(2)
.buildRequest()
- .post();
+ .get();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/java/workbookrange-rowsabove-java-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/includes/snippets/java/workbookrange-rowsabove-java-snippets.md
@@ -6,10 +6,10 @@ description: "Automatically generated file. DO NOT MODIFY"
IGraphServiceClient graphClient = GraphServiceClient.builder().authenticationProvider( authProvider ).buildClient();
-graphClient.me().drive().root().workbook().worksheets("{id}")
+WorkbookRange workbookRange = graphClient.me().drive().root().workbook().worksheets("{id}")
.range()
- .rowsAbove(null)
+ .rowsAbove(2)
.buildRequest()
- .post();
+ .get();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/java/workbookrange-rowsabove-nocount-java-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/includes/snippets/java/workbookrange-rowsabove-nocount-java-snippets.md
@@ -6,10 +6,10 @@ description: "Automatically generated file. DO NOT MODIFY"
IGraphServiceClient graphClient = GraphServiceClient.builder().authenticationProvider( authProvider ).buildClient();
-graphClient.me().drive().root().workbook().worksheets("{id}")
+WorkbookRange workbookRange = graphClient.me().drive().root().workbook().worksheets("{id}")
.range() .rowsAbove() .buildRequest()
- .post();
+ .get();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/java/workbookrange-rowsbelow-java-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/includes/snippets/java/workbookrange-rowsbelow-java-snippets.md
@@ -6,10 +6,10 @@ description: "Automatically generated file. DO NOT MODIFY"
IGraphServiceClient graphClient = GraphServiceClient.builder().authenticationProvider( authProvider ).buildClient();
-graphClient.me().drive().root().workbook().worksheets("{id}")
+WorkbookRange workbookRange = graphClient.me().drive().root().workbook().worksheets("{id}")
.range()
- .rowsBelow(null)
+ .rowsBelow(2)
.buildRequest()
- .post();
+ .get();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/javascript/workbookrange-columnsafter-javascript-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/includes/snippets/javascript/workbookrange-columnsafter-javascript-snippets.md
@@ -11,6 +11,6 @@ const options = {
const client = Client.init(options); let res = await client.api('/me/drive/root/workbook/worksheets/{id}/range/columnsAfter(count=2)')
- .post();
+ .get();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/javascript/workbookrange-columnsbefore-javascript-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/includes/snippets/javascript/workbookrange-columnsbefore-javascript-snippets.md
@@ -11,6 +11,6 @@ const options = {
const client = Client.init(options); let res = await client.api('/me/drive/root/workbook/worksheets/{id}/range/columnsBefore(count=2)')
- .post();
+ .get();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/javascript/workbookrange-rowsabove-javascript-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/includes/snippets/javascript/workbookrange-rowsabove-javascript-snippets.md
@@ -11,6 +11,6 @@ const options = {
const client = Client.init(options); let res = await client.api('/me/drive/root/workbook/worksheets/{id}/range/rowsAbove(count=2)')
- .post();
+ .get();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/javascript/workbookrange-rowsabove-nocount-javascript-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/includes/snippets/javascript/workbookrange-rowsabove-nocount-javascript-snippets.md
@@ -11,6 +11,6 @@ const options = {
const client = Client.init(options); let res = await client.api('/me/drive/root/workbook/worksheets/{id}/range/rowsAbove')
- .post();
+ .get();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/javascript/workbookrange-rowsbelow-javascript-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/includes/snippets/javascript/workbookrange-rowsbelow-javascript-snippets.md
@@ -11,6 +11,6 @@ const options = {
const client = Client.init(options); let res = await client.api('/me/drive/root/workbook/worksheets/{id}/range/rowsBelow(count=2)')
- .post();
+ .get();
```\ No newline at end of file
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/objc/workbookrange-columnsafter-objc-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/includes/snippets/objc/workbookrange-columnsafter-objc-snippets.md
@@ -8,12 +8,12 @@ MSHTTPClient *httpClient = [MSClientFactory createHTTPClientWithAuthenticationPr
NSString *MSGraphBaseURL = @"https://graph.microsoft.com/v1.0/"; NSMutableURLRequest *urlRequest = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:[MSGraphBaseURL stringByAppendingString:@"/me/drive/root/workbook/worksheets/{id}/range/columnsAfter(count=2)"]]];
-[urlRequest setHTTPMethod:@"POST"];
+[urlRequest setHTTPMethod:@"GET"];
MSURLSessionDataTask *meDataTask = [httpClient dataTaskWithRequest:urlRequest completionHandler: ^(NSData *data, NSURLResponse *response, NSError *nserror) {
- //Request Completed
+ MSGraphWorkbookRange *workbookRange = [[MSGraphWorkbookRange alloc] initWithData:data error:&nserror];
}];
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/objc/workbookrange-columnsbefore-objc-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/includes/snippets/objc/workbookrange-columnsbefore-objc-snippets.md
@@ -8,12 +8,12 @@ MSHTTPClient *httpClient = [MSClientFactory createHTTPClientWithAuthenticationPr
NSString *MSGraphBaseURL = @"https://graph.microsoft.com/v1.0/"; NSMutableURLRequest *urlRequest = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:[MSGraphBaseURL stringByAppendingString:@"/me/drive/root/workbook/worksheets/{id}/range/columnsBefore(count=2)"]]];
-[urlRequest setHTTPMethod:@"POST"];
+[urlRequest setHTTPMethod:@"GET"];
MSURLSessionDataTask *meDataTask = [httpClient dataTaskWithRequest:urlRequest completionHandler: ^(NSData *data, NSURLResponse *response, NSError *nserror) {
- //Request Completed
+ MSGraphWorkbookRange *workbookRange = [[MSGraphWorkbookRange alloc] initWithData:data error:&nserror];
}];
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/objc/workbookrange-rowsabove-nocount-objc-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/includes/snippets/objc/workbookrange-rowsabove-nocount-objc-snippets.md
@@ -8,12 +8,12 @@ MSHTTPClient *httpClient = [MSClientFactory createHTTPClientWithAuthenticationPr
NSString *MSGraphBaseURL = @"https://graph.microsoft.com/v1.0/"; NSMutableURLRequest *urlRequest = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:[MSGraphBaseURL stringByAppendingString:@"/me/drive/root/workbook/worksheets/{id}/range/rowsAbove"]]];
-[urlRequest setHTTPMethod:@"POST"];
+[urlRequest setHTTPMethod:@"GET"];
MSURLSessionDataTask *meDataTask = [httpClient dataTaskWithRequest:urlRequest completionHandler: ^(NSData *data, NSURLResponse *response, NSError *nserror) {
- //Request Completed
+ MSGraphWorkbookRange *workbookRange = [[MSGraphWorkbookRange alloc] initWithData:data error:&nserror];
}];
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/objc/workbookrange-rowsabove-objc-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/includes/snippets/objc/workbookrange-rowsabove-objc-snippets.md
@@ -8,12 +8,12 @@ MSHTTPClient *httpClient = [MSClientFactory createHTTPClientWithAuthenticationPr
NSString *MSGraphBaseURL = @"https://graph.microsoft.com/v1.0/"; NSMutableURLRequest *urlRequest = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:[MSGraphBaseURL stringByAppendingString:@"/me/drive/root/workbook/worksheets/{id}/range/rowsAbove(count=2)"]]];
-[urlRequest setHTTPMethod:@"POST"];
+[urlRequest setHTTPMethod:@"GET"];
MSURLSessionDataTask *meDataTask = [httpClient dataTaskWithRequest:urlRequest completionHandler: ^(NSData *data, NSURLResponse *response, NSError *nserror) {
- //Request Completed
+ MSGraphWorkbookRange *workbookRange = [[MSGraphWorkbookRange alloc] initWithData:data error:&nserror];
}];
v1.0 https://docs.microsoft.com/en-us/graph/includes/snippets/objc/workbookrange-rowsbelow-objc-snippets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/includes/snippets/objc/workbookrange-rowsbelow-objc-snippets.md
@@ -8,12 +8,12 @@ MSHTTPClient *httpClient = [MSClientFactory createHTTPClientWithAuthenticationPr
NSString *MSGraphBaseURL = @"https://graph.microsoft.com/v1.0/"; NSMutableURLRequest *urlRequest = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:[MSGraphBaseURL stringByAppendingString:@"/me/drive/root/workbook/worksheets/{id}/range/rowsBelow(count=2)"]]];
-[urlRequest setHTTPMethod:@"POST"];
+[urlRequest setHTTPMethod:@"GET"];
MSURLSessionDataTask *meDataTask = [httpClient dataTaskWithRequest:urlRequest completionHandler: ^(NSData *data, NSURLResponse *response, NSError *nserror) {
- //Request Completed
+ MSGraphWorkbookRange *workbookRange = [[MSGraphWorkbookRange alloc] initWithData:data error:&nserror];
}];