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": "f6d8e2e4-65fe-43d1-b32f-9ae4d8ac6968",
"ProductId": "3e27c15b-f2cf-42f3-9505-56435f095154",
"PackingSize": "sample string 3",
"PackingCost": 4.0,
"UnitPrice": 5,
"UOMId": 6,
"UOMIdName": "sample string 7",
"CreatedBy": "21370268-d792-458b-8219-3d77f523b658",
"CreatedDate": "2025-12-10T21:41:41.7880487-06:00",
"EditedBy": "29309626-b519-4d43-ba3a-2e78a87d4628",
"EditedDate": "2025-12-10T21:41:41.7880487-06: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">21370268-d792-458b-8219-3d77f523b658</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:41:41.7880487-06:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">29309626-b519-4d43-ba3a-2e78a87d4628</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:41:41.7880487-06: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>f6d8e2e4-65fe-43d1-b32f-9ae4d8ac6968</ProductDetailId>
<ProductId>3e27c15b-f2cf-42f3-9505-56435f095154</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.