GET api/SubCategories
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of SubCategory| Name | Description | Type | Additional information |
|---|---|---|---|
| SubCategoryId | integer |
None. |
|
| CategoryId | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| StatusTypeId | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| UpdatedBy | integer |
None. |
|
| UpdatedDate | date |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"SubCategoryId": 1,
"CategoryId": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"StatusTypeId": 1,
"CreatedBy": 1,
"CreatedDate": "2025-12-06T09:58:45.899649+05:30",
"UpdatedBy": 1,
"UpdatedDate": "2025-12-06T09:58:45.899649+05:30"
},
{
"SubCategoryId": 1,
"CategoryId": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"StatusTypeId": 1,
"CreatedBy": 1,
"CreatedDate": "2025-12-06T09:58:45.899649+05:30",
"UpdatedBy": 1,
"UpdatedDate": "2025-12-06T09:58:45.899649+05:30"
}
]
application/xml, text/xml
Sample:
<ArrayOfSubCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GNGroup.Models">
<SubCategory>
<CategoryId>1</CategoryId>
<CreatedBy>1</CreatedBy>
<CreatedDate>2025-12-06T09:58:45.899649+05:30</CreatedDate>
<Description>sample string 3</Description>
<Name>sample string 2</Name>
<StatusTypeId>1</StatusTypeId>
<SubCategoryId>1</SubCategoryId>
<UpdatedBy>1</UpdatedBy>
<UpdatedDate>2025-12-06T09:58:45.899649+05:30</UpdatedDate>
</SubCategory>
<SubCategory>
<CategoryId>1</CategoryId>
<CreatedBy>1</CreatedBy>
<CreatedDate>2025-12-06T09:58:45.899649+05:30</CreatedDate>
<Description>sample string 3</Description>
<Name>sample string 2</Name>
<StatusTypeId>1</StatusTypeId>
<SubCategoryId>1</SubCategoryId>
<UpdatedBy>1</UpdatedBy>
<UpdatedDate>2025-12-06T09:58:45.899649+05:30</UpdatedDate>
</SubCategory>
</ArrayOfSubCategory>