Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 831 Bytes

File metadata and controls

18 lines (12 loc) · 831 Bytes
description Automatically generated file. DO NOT MODIFY
// Code snippets are only available for the latest version. Current version is 6.x

GraphServiceClient graphClient = new GraphServiceClient(requestAdapter);

com.microsoft.graph.users.item.onenote.sections.item.copytosectiongroup.CopyToSectionGroupPostRequestBody copyToSectionGroupPostRequestBody = new com.microsoft.graph.users.item.onenote.sections.item.copytosectiongroup.CopyToSectionGroupPostRequestBody();
copyToSectionGroupPostRequestBody.setId("id-value");
copyToSectionGroupPostRequestBody.setGroupId("groupId-value");
copyToSectionGroupPostRequestBody.setRenameAs("renameAs-value");
var result = graphClient.me().onenote().sections().byOnenoteSectionId("{onenoteSection-id}").copyToSectionGroup().post(copyToSectionGroupPostRequestBody);