POST api/ProductDetail/Create
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": "931c30ab-bb6d-42d7-8bb3-63e918bd9fc8",
"ProductId": "8c3cb8ab-afbe-4f0c-a88f-4860daf3c350",
"PackingSize": "sample string 3",
"PackingCost": 4.0,
"UnitPrice": 5,
"UOMId": 6,
"UOMIdName": "sample string 7",
"CreatedBy": "3720a848-918f-4c35-bb7a-533f9394c5e4",
"CreatedDate": "2026-09-14T05:53:59.0110415-05:00",
"EditedBy": "9aafaed9-a206-4c7d-bd98-d554a7751ecc",
"EditedDate": "2026-09-14T05:53:59.0110415-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">3720a848-918f-4c35-bb7a-533f9394c5e4</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-09-14T05:53:59.0110415-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">9aafaed9-a206-4c7d-bd98-d554a7751ecc</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-09-14T05:53:59.0110415-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>931c30ab-bb6d-42d7-8bb3-63e918bd9fc8</ProductDetailId>
<ProductId>8c3cb8ab-afbe-4f0c-a88f-4860daf3c350</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.