PUT api/categories/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
InventoryCategory| Name | Description | Type | Additional information |
|---|---|---|---|
| Procid | integer |
None. |
|
| CategoryId | integer |
None. |
|
| CategoryCode | string |
None. |
|
| CategoryName | string |
None. |
|
| Description | string |
None. |
|
| IsActive | boolean |
None. |
|
| UserId | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
|
| ModifiedBy | integer |
None. |
|
| ModifiedDate | date |
None. |
|
| Result | integer |
None. |
|
| Message | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Procid": 1,
"CategoryId": 1,
"CategoryCode": "sample string 1",
"CategoryName": "sample string 2",
"Description": "sample string 3",
"IsActive": true,
"UserId": 1,
"CreatedBy": 1,
"CreatedDate": "2026-12-02T18:48:31.7233082+05:30",
"ModifiedBy": 1,
"ModifiedDate": "2026-12-02T18:48:31.7233082+05:30",
"Result": 1,
"Message": "sample string 5"
}
application/xml, text/xml
Sample:
<InventoryCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KhadiInventory.Models"> <CategoryCode>sample string 1</CategoryCode> <CategoryId>1</CategoryId> <CategoryName>sample string 2</CategoryName> <CreatedBy>1</CreatedBy> <CreatedDate>2026-12-02T18:48:31.7233082+05:30</CreatedDate> <Description>sample string 3</Description> <IsActive>true</IsActive> <Message>sample string 5</Message> <ModifiedBy>1</ModifiedBy> <ModifiedDate>2026-12-02T18:48:31.7233082+05:30</ModifiedDate> <Procid>1</Procid> <Result>1</Result> <UserId>1</UserId> </InventoryCategory>
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.