POST v1/Statistics/CountByCategory
Gets the number of records for each main entity type
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
List of category counts
Collection of CategoryCountDTOName | Description | Type | Additional information |
---|---|---|---|
Category | string |
None. |
|
Count | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Category": "sample string 1", "Count": 2 }, { "Category": "sample string 1", "Count": 2 } ]
application/xml, text/xml
Sample:
<ArrayOfCategoryCountDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects"> <CategoryCountDTO> <Category>sample string 1</Category> <Count>2</Count> </CategoryCountDTO> <CategoryCountDTO> <Category>sample string 1</Category> <Count>2</Count> </CategoryCountDTO> </ArrayOfCategoryCountDTO>