PUT api/ProductCategory/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
ProductCategoryModels| Name | Description | Type | Additional information |
|---|---|---|---|
| PC_Id | integer |
None. |
|
| PC_Category | string |
Required Max length: 50 |
|
| PC_DisplayOrder | integer |
Required |
|
| PC_UserId_FK | integer |
None. |
|
| PC_TS | date |
None. |
|
| PC_Inactive | character |
None. |
|
| PC_TS_LastEdited | date |
None. |
|
| PC_TS_Edited_Uid_FK | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PC_Id": 1,
"PC_Category": "sample string 2",
"PC_DisplayOrder": 3,
"PC_UserId_FK": 4,
"PC_TS": "2025-10-29T07:20:11.080033+05:30",
"PC_Inactive": "A",
"PC_TS_LastEdited": "2025-10-29T07:20:11.080033+05:30",
"PC_TS_Edited_Uid_FK": 8
}
application/xml, text/xml
Sample:
<ProductCategoryModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models"> <PC_Category>sample string 2</PC_Category> <PC_DisplayOrder>3</PC_DisplayOrder> <PC_Id>1</PC_Id> <PC_Inactive>65</PC_Inactive> <PC_TS>2025-10-29T07:20:11.080033+05:30</PC_TS> <PC_TS_Edited_Uid_FK>8</PC_TS_Edited_Uid_FK> <PC_TS_LastEdited>2025-10-29T07:20:11.080033+05:30</PC_TS_LastEdited> <PC_UserId_FK>4</PC_UserId_FK> </ProductCategoryModels>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.