Conversations aggregates query .NET sample code

Sorry, I'm not a developer.

Do you know how to get the sample code of the following function?

/api/v2/analytics/conversations/aggregates/query

{

"interval": "2015-11-10T00:00:00.000Z/2015-11-11T00:00:00.000Z",

"granularity": "PT30M",

"groupBy": [

"queueId"

],

"metrics": [

"nOffered"

],

"filter": {

"type": "or",

"predicates": [

  {

    "dimension": "queueId",

    "value": "82688551-8d75-45ee-8cfb-822e0e0b9ef2"

  },

  {

    "dimension": "mediaType",

    "value": "voice"

  }

]

}

}

How do I plug in the above json data into PureCloudPlatform.Client.V2?

You're asking us to tell you how to land a plane without you knowing what any of the buttons and levers are.
You can't just paste the JSON into notepad and this work.

You have to have to have visual studio installed and set up correctly, have the libraries installed, write an application to authenticate and then translate that JSON into the appropriate objects to model the query you're trying to create.

There are examples in the SDK but you're going to have to put in some effort to understanding and learning. This isn't something anyone can do for you and just telling you the translation is;

			string IntervalRange = "2015-11-10T00:00:00.000Z/2015-11-11T00:00:00.000Z";
			ConversationAggregateQueryPredicate p1 = new(ConversationAggregateQueryPredicate.TypeEnum.Dimension, ConversationAggregateQueryPredicate.DimensionEnum.Queueid, ConversationAggregateQueryPredicate.OperatorEnum.Matches, "82688551-8d75-45ee-8cfb-822e0e0b9ef2");
			ConversationAggregateQueryPredicate p2 = new(ConversationAggregateQueryPredicate.TypeEnum.Dimension, ConversationAggregateQueryPredicate.DimensionEnum.Mediatype, ConversationAggregateQueryPredicate.OperatorEnum.Matches, "voice");
			ConversationAggregateQueryClause clauses = new(ConversationAggregateQueryClause.TypeEnum.And, new List<ConversationAggregateQueryPredicate> { p1, p2 });
			ConversationAggregateQueryFilter _filter = new(ConversationAggregateQueryFilter.TypeEnum.And, new List<ConversationAggregateQueryClause> { c });
			ConversationAggregationQuery query = new ConversationAggregationQuery(Interval:
									IntervalRange,
									Granularity:  "PT30M"
									, GroupBy: new List<GroupByEnum>() { GroupByEnum.Queueid  };
									, Metrics: new List<ConversationAggregationQuery.MetricsEnum> { Noffered}
									, Filter: _filter

									);
			ApiResponse<ConversationAggregateQueryResponse> response = analyticsApi.PostAnalyticsConversationsAggregatesQueryWithHttpInfo(query);

Probably won't get you too far.

*Note that code uses "and" not "or" because assuming you don't actually want every single voice call plus any media type that went to that queue and actually mean "all calls going to that queue"

Thanks for your reply.
I want to know the offered amount of the day, the answer amount of the day, the answer rate of the day, the abandon amount of the day and the immediate waiting number, but the customer needs the sample code of.NET, but I have no development experience, so I don't know how to take out these values.