POST api/Category/Create
Request Information
URI Parameters
None.
Body Parameters
Category| Name | Description | Type | Additional information |
|---|---|---|---|
| CategoryId | integer |
None. |
|
| CategoryName | string |
None. |
|
| CategoryDesc | string |
None. |
|
| ParentCategoryId | integer |
None. |
|
| IsSystemDependent | boolean |
None. |
|
| response | Response |
None. |
|
| CreatedBy | globally unique identifier |
None. |
|
| CreatedDate | date |
None. |
|
| EditedBy | globally unique identifier |
None. |
|
| EditedDate | date |
None. |
|
| IsActive | boolean |
None. |
|
| IsDelete | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"CategoryId": 1,
"CategoryName": "sample string 2",
"CategoryDesc": "sample string 3",
"ParentCategoryId": 4,
"IsSystemDependent": true,
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
},
"CreatedBy": "6f1515e5-92ba-41c4-bd9f-b09471b8fe7b",
"CreatedDate": "2026-07-16T06:01:22.5352348-05:00",
"EditedBy": "0f6a31ea-2a9d-4ff9-b6d1-2c60996e6923",
"EditedDate": "2026-07-16T06:01:22.5352348-05:00",
"IsActive": true,
"IsDelete": true
}
application/xml, text/xml
Sample:
<Category xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">
<CreatedBy>6f1515e5-92ba-41c4-bd9f-b09471b8fe7b</CreatedBy>
<CreatedDate>2026-07-16T06:01:22.5352348-05:00</CreatedDate>
<EditedBy>0f6a31ea-2a9d-4ff9-b6d1-2c60996e6923</EditedBy>
<EditedDate>2026-07-16T06:01:22.5352348-05:00</EditedDate>
<IsActive>true</IsActive>
<IsDelete>true</IsDelete>
<CategoryDesc>sample string 3</CategoryDesc>
<CategoryId>1</CategoryId>
<CategoryName>sample string 2</CategoryName>
<IsSystemDependent>true</IsSystemDependent>
<ParentCategoryId>4</ParentCategoryId>
<response>
<Error>sample string 1</Error>
<Success>sample string 2</Success>
</response>
</Category>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.