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": "acf5682a-ea6d-41ad-8025-f6a1c44282fc",
"ProductId": "0ccfd612-46df-4d68-90eb-98c7004ea5a4",
"PackingSize": "sample string 3",
"PackingCost": 4.0,
"UnitPrice": 5,
"UOMId": 6,
"UOMIdName": "sample string 7",
"CreatedBy": "7119bb65-069e-4b78-9ce9-992cf399ec12",
"CreatedDate": "2026-03-23T11:27:48.8713334-05:00",
"EditedBy": "a68cf924-417f-43d7-b5a0-b6ca34333495",
"EditedDate": "2026-03-23T11:27:48.8713334-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">7119bb65-069e-4b78-9ce9-992cf399ec12</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-03-23T11:27:48.8713334-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">a68cf924-417f-43d7-b5a0-b6ca34333495</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-03-23T11:27:48.8713334-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>acf5682a-ea6d-41ad-8025-f6a1c44282fc</ProductDetailId>
<ProductId>0ccfd612-46df-4d68-90eb-98c7004ea5a4</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.