POST api/ProductDetail/Edit
Request Information
URI Parameters
None.
Body Parameters
ProductDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductDetailId | globally unique identifier |
None. |
|
| ProductId | globally unique identifier |
None. |
|
| PackingSize | string |
Max length: 255 |
|
| PackingCost | decimal number |
None. |
|
| UnitPrice | integer |
None. |
|
| UOMId | integer |
None. |
|
| UOMIdName | string |
None. |
|
| CreatedBy | globally unique identifier |
None. |
|
| CreatedDate | date |
None. |
|
| EditedBy | globally unique identifier |
None. |
|
| EditedDate | date |
None. |
|
| IsActive | boolean |
None. |
|
| IsDelete | boolean |
None. |
|
| response | Response |
None. |
Request Formats
application/json, text/json
Sample:
{
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
},
"ProductDetailId": "deb57a9f-d890-4dd0-aa9d-c1abe44058ae",
"ProductId": "7fa01d03-0d64-457c-92fd-4a05efdc4567",
"PackingSize": "sample string 3",
"PackingCost": 4.0,
"UnitPrice": 5,
"UOMId": 6,
"UOMIdName": "sample string 7",
"CreatedBy": "5ff82668-2552-40e2-80c6-dd2f13fc2d6a",
"CreatedDate": "2026-05-17T05:54:03.7371545-05:00",
"EditedBy": "bfb692b6-df19-44f4-a999-28df830acb76",
"EditedDate": "2026-05-17T05:54:03.7371545-05:00",
"IsActive": true,
"IsDelete": true
}
application/xml, text/xml
Sample:
<ProductDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core2.Model">
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">5ff82668-2552-40e2-80c6-dd2f13fc2d6a</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-05-17T05:54:03.7371545-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">bfb692b6-df19-44f4-a999-28df830acb76</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-05-17T05:54:03.7371545-05:00</EditedDate>
<IsActive xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">true</IsActive>
<IsDelete xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">true</IsDelete>
<PackingCost>4</PackingCost>
<PackingSize>sample string 3</PackingSize>
<ProductDetailId>deb57a9f-d890-4dd0-aa9d-c1abe44058ae</ProductDetailId>
<ProductId>7fa01d03-0d64-457c-92fd-4a05efdc4567</ProductId>
<UOMId>6</UOMId>
<UOMIdName>sample string 7</UOMIdName>
<UnitPrice>5</UnitPrice>
<response xmlns:d2p1="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">
<d2p1:Error>sample string 1</d2p1:Error>
<d2p1:Success>sample string 2</d2p1:Success>
</response>
</ProductDetail>
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.