DELETE api/SubCategories/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
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-06T10:00:40.3719054+05:30",
"UpdatedBy": 1,
"UpdatedDate": "2025-12-06T10:00:40.3719054+05:30"
}
application/xml, text/xml
Sample:
<SubCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GNGroup.Models"> <CategoryId>1</CategoryId> <CreatedBy>1</CreatedBy> <CreatedDate>2025-12-06T10:00:40.3719054+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-06T10:00:40.3719054+05:30</UpdatedDate> </SubCategory>