// Code snippets are only available for the latest version. Current version is 5.x
// Dependencies
using Microsoft.Graph.DeviceManagement.Reports.GetDeviceManagementIntentPerSettingContributingProfiles;
var requestBody = new GetDeviceManagementIntentPerSettingContributingProfilesPostRequestBody
{
Name = "Name value",
Select = new List<string>
{
"Select value",
},
Search = "Search value",
GroupBy = new List<string>
{
"Group By value",
},
OrderBy = new List<string>
{
"Order By value",
},
Skip = 4,
Top = 3,
SessionId = "Session Id value",
Filter = "Filter value",
};
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
await graphClient.DeviceManagement.Reports.GetDeviceManagementIntentPerSettingContributingProfiles.PostAsync(requestBody);
// Code snippets are only available for the latest version. Current version is 6.x
GraphServiceClient graphClient = new GraphServiceClient(requestAdapter);
com.microsoft.graph.devicemanagement.reports.getdevicemanagementintentpersettingcontributingprofiles.GetDeviceManagementIntentPerSettingContributingProfilesPostRequestBody getDeviceManagementIntentPerSettingContributingProfilesPostRequestBody = new com.microsoft.graph.devicemanagement.reports.getdevicemanagementintentpersettingcontributingprofiles.GetDeviceManagementIntentPerSettingContributingProfilesPostRequestBody();
getDeviceManagementIntentPerSettingContributingProfilesPostRequestBody.setName("Name value");
LinkedList<String> select = new LinkedList<String>();
select.add("Select value");
getDeviceManagementIntentPerSettingContributingProfilesPostRequestBody.setSelect(select);
getDeviceManagementIntentPerSettingContributingProfilesPostRequestBody.setSearch("Search value");
LinkedList<String> groupBy = new LinkedList<String>();
groupBy.add("Group By value");
getDeviceManagementIntentPerSettingContributingProfilesPostRequestBody.setGroupBy(groupBy);
LinkedList<String> orderBy = new LinkedList<String>();
orderBy.add("Order By value");
getDeviceManagementIntentPerSettingContributingProfilesPostRequestBody.setOrderBy(orderBy);
getDeviceManagementIntentPerSettingContributingProfilesPostRequestBody.setSkip(4);
getDeviceManagementIntentPerSettingContributingProfilesPostRequestBody.setTop(3);
getDeviceManagementIntentPerSettingContributingProfilesPostRequestBody.setSessionId("Session Id value");
getDeviceManagementIntentPerSettingContributingProfilesPostRequestBody.setFilter("Filter value");
graphClient.deviceManagement().reports().getDeviceManagementIntentPerSettingContributingProfiles().post(getDeviceManagementIntentPerSettingContributingProfilesPostRequestBody);
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
from msgraph.generated.devicemanagement.reports.get_device_management_intent_per_setting_contributing_profiles.get_device_management_intent_per_setting_contributing_profiles_post_request_body import GetDeviceManagementIntentPerSettingContributingProfilesPostRequestBody
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = GetDeviceManagementIntentPerSettingContributingProfilesPostRequestBody(
name = "Name value",
select = [
"Select value",
],
search = "Search value",
group_by = [
"Group By value",
],
order_by = [
"Order By value",
],
skip = 4,
top = 3,
session_id = "Session Id value",
filter = "Filter value",
)
await graph_client.device_management.reports.get_device_management_intent_per_setting_contributing_profiles.post(request_body)
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.