POST api/Category/Edit
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": "c91b25a3-9f87-4aab-a569-57cf54f53d77",
"CreatedDate": "2025-12-10T21:43:24.3502574-06:00",
"EditedBy": "2a890b20-aaeb-4c26-aa4c-b68739b48b6c",
"EditedDate": "2025-12-10T21:43:24.3502574-06: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>c91b25a3-9f87-4aab-a569-57cf54f53d77</CreatedBy>
<CreatedDate>2025-12-10T21:43:24.3502574-06:00</CreatedDate>
<EditedBy>2a890b20-aaeb-4c26-aa4c-b68739b48b6c</EditedBy>
<EditedDate>2025-12-10T21:43:24.3502574-06: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.