POST 360/CaseReport/aggregate
Gets a collection of case related aggregates
Request Information
URI Parameters
None.
Body Parameters
SMG.SMG360.Contracts.Reporting.Filters.DateRangeFilterRequest Formats
application/json, text/json
Sample:
{
"Keys": [
"StartDate",
"EndDate",
"BenchmarkStartDate",
"BenchmarkEndDate",
"PeriodTypeId",
"AppliedByUser"
],
"StartDate": "2025-11-21T05:25:34.0057145-06:00",
"EndDate": "2025-11-21T05:25:34.0057145-06:00",
"BenchmarkStartDate": "2025-11-21T05:25:34.0057145-06:00",
"BenchmarkEndDate": "2025-11-21T05:25:34.0057145-06:00",
"PeriodTypeId": 1,
"AppliedByUser": true
}
application/xml, text/xml
Sample:
<DateRangeFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMG.SMG360.Contracts.Reporting.Filters"> <AppliedByUser>true</AppliedByUser> <BenchmarkEndDate>2025-11-21T05:25:34.0057145-06:00</BenchmarkEndDate> <BenchmarkStartDate>2025-11-21T05:25:34.0057145-06:00</BenchmarkStartDate> <EndDate>2025-11-21T05:25:34.0057145-06:00</EndDate> <PeriodTypeId>1</PeriodTypeId> <StartDate>2025-11-21T05:25:34.0057145-06:00</StartDate> </DateRangeFilter>
Response Information
Resource Description
IEnumerable of CaseAggregate
Collection of SMG.SMG360.Contracts.Reporting.Case.CaseAggregateResponse Formats
application/json, text/json
Sample:
[
{
"CaseTypeKey": "sample string 1",
"CaseTypeDisplayText": "sample string 2",
"ResolutionTimeGoal": 3,
"TotalCount": 4,
"UnresolvedCount": 5,
"InProgressCount": 6,
"ResolvedCount": 7,
"EscalatedCount": 8,
"TimeStatistics": {
"CurrentAverageResolutionTime": 1.1,
"LastPeriodAverageResolutionTime": 2.1
}
},
{
"CaseTypeKey": "sample string 1",
"CaseTypeDisplayText": "sample string 2",
"ResolutionTimeGoal": 3,
"TotalCount": 4,
"UnresolvedCount": 5,
"InProgressCount": 6,
"ResolvedCount": 7,
"EscalatedCount": 8,
"TimeStatistics": {
"CurrentAverageResolutionTime": 1.1,
"LastPeriodAverageResolutionTime": 2.1
}
}
]
application/xml, text/xml
Sample:
<ArrayOfCaseAggregate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMG.SMG360.Contracts.Reporting.Case">
<CaseAggregate>
<CaseTypeDisplayText>sample string 2</CaseTypeDisplayText>
<CaseTypeKey>sample string 1</CaseTypeKey>
<EscalatedCount>8</EscalatedCount>
<InProgressCount>6</InProgressCount>
<ResolutionTimeGoal>3</ResolutionTimeGoal>
<ResolvedCount>7</ResolvedCount>
<TimeStatistics>
<CurrentAverageResolutionTime>1.1</CurrentAverageResolutionTime>
<LastPeriodAverageResolutionTime>2.1</LastPeriodAverageResolutionTime>
</TimeStatistics>
<TotalCount>4</TotalCount>
<UnresolvedCount>5</UnresolvedCount>
</CaseAggregate>
<CaseAggregate>
<CaseTypeDisplayText>sample string 2</CaseTypeDisplayText>
<CaseTypeKey>sample string 1</CaseTypeKey>
<EscalatedCount>8</EscalatedCount>
<InProgressCount>6</InProgressCount>
<ResolutionTimeGoal>3</ResolutionTimeGoal>
<ResolvedCount>7</ResolvedCount>
<TimeStatistics>
<CurrentAverageResolutionTime>1.1</CurrentAverageResolutionTime>
<LastPeriodAverageResolutionTime>2.1</LastPeriodAverageResolutionTime>
</TimeStatistics>
<TotalCount>4</TotalCount>
<UnresolvedCount>5</UnresolvedCount>
</CaseAggregate>
</ArrayOfCaseAggregate>