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": "6ed1a04c-bdac-4e86-b03b-d247d1703473",
"ProductId": "e8c35eae-727c-4238-8681-90c3842b5740",
"PackingSize": "sample string 3",
"PackingCost": 4.0,
"UnitPrice": 5,
"UOMId": 6,
"UOMIdName": "sample string 7",
"CreatedBy": "11b7ee0b-8c70-4b7f-af0b-3c4324b00d4c",
"CreatedDate": "2026-02-01T10:34:09.114472-06:00",
"EditedBy": "f9a46c21-c391-46d5-af70-d9dc6d94241c",
"EditedDate": "2026-02-01T10:34:09.114472-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">11b7ee0b-8c70-4b7f-af0b-3c4324b00d4c</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-02-01T10:34:09.114472-06:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">f9a46c21-c391-46d5-af70-d9dc6d94241c</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-02-01T10:34:09.114472-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>6ed1a04c-bdac-4e86-b03b-d247d1703473</ProductDetailId>
<ProductId>e8c35eae-727c-4238-8681-90c3842b5740</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.