POST api/Demand/Create
Request Information
URI Parameters
None.
Body Parameters
Demand| Name | Description | Type | Additional information |
|---|---|---|---|
| DemandId | globally unique identifier |
None. |
|
| StoreNameId | globally unique identifier |
None. |
|
| DemandDate | date |
None. |
|
| DemandDetailList | Collection of DemandDetail |
None. |
|
| StoreName | string |
None. |
|
| StoreAreaName | string |
None. |
|
| StoreAreaId | string |
None. |
|
| response | Response |
None. |
|
| CreatedBy | globally unique identifier |
None. |
|
| CreatedDate | date |
None. |
|
| EditedBy | globally unique identifier |
None. |
|
| EditedDate | date |
None. |
|
| IsActive | boolean |
None. |
|
| IsDelete | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"DemandId": "f32d41c7-05b6-41cc-97c3-971989c37f3a",
"StoreNameId": "15807079-3b94-4ccb-a792-eb18e37c3ed1",
"DemandDate": "2026-07-16T05:57:35.1933032-05:00",
"DemandDetailList": [
{
"DemandDetailId": "0f5fb81b-b935-43e2-98f5-e9225438721c",
"DemandId": "5507c5e4-7e8d-4d83-aaf2-a1525a168c70",
"ProductNameId": "bdd9b59c-f1cb-42f1-ae76-945177922b0f",
"PackingSizeId": "3a79ec91-bd55-4c32-9430-121dabe8cc74",
"Quantity": 5,
"PackingSizeName": "sample string 6",
"ProductName": "sample string 7",
"CreatedBy": "a53b8099-6f07-440f-a2f1-6ab244e2354c",
"CreatedDate": "2026-07-16T05:57:35.1943047-05:00",
"EditedBy": "76fc9732-9877-454f-a0b8-5a8d87bf342a",
"EditedDate": "2026-07-16T05:57:35.1943047-05:00",
"IsActive": true,
"IsDelete": true
},
{
"DemandDetailId": "0f5fb81b-b935-43e2-98f5-e9225438721c",
"DemandId": "5507c5e4-7e8d-4d83-aaf2-a1525a168c70",
"ProductNameId": "bdd9b59c-f1cb-42f1-ae76-945177922b0f",
"PackingSizeId": "3a79ec91-bd55-4c32-9430-121dabe8cc74",
"Quantity": 5,
"PackingSizeName": "sample string 6",
"ProductName": "sample string 7",
"CreatedBy": "a53b8099-6f07-440f-a2f1-6ab244e2354c",
"CreatedDate": "2026-07-16T05:57:35.1943047-05:00",
"EditedBy": "76fc9732-9877-454f-a0b8-5a8d87bf342a",
"EditedDate": "2026-07-16T05:57:35.1943047-05:00",
"IsActive": true,
"IsDelete": true
}
],
"StoreName": "sample string 4",
"StoreAreaName": "sample string 5",
"StoreAreaId": "sample string 6",
"response": {
"Error": "sample string 1",
"Success": "sample string 2"
},
"CreatedBy": "29b56ad6-4286-4511-b22f-2721030575a6",
"CreatedDate": "2026-07-16T05:57:35.1943047-05:00",
"EditedBy": "45abe8bb-ac0d-4a33-aeff-af534ecaeccc",
"EditedDate": "2026-07-16T05:57:35.1943047-05:00",
"IsActive": true,
"IsDelete": true
}
application/xml, text/xml
Sample:
<Demand 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">29b56ad6-4286-4511-b22f-2721030575a6</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-07-16T05:57:35.1943047-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">45abe8bb-ac0d-4a33-aeff-af534ecaeccc</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-07-16T05:57:35.1943047-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>
<DemandDate>2026-07-16T05:57:35.1933032-05:00</DemandDate>
<DemandDetailList>
<DemandDetail>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">a53b8099-6f07-440f-a2f1-6ab244e2354c</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-07-16T05:57:35.1943047-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">76fc9732-9877-454f-a0b8-5a8d87bf342a</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-07-16T05:57:35.1943047-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>
<DemandDetailId>0f5fb81b-b935-43e2-98f5-e9225438721c</DemandDetailId>
<DemandId>5507c5e4-7e8d-4d83-aaf2-a1525a168c70</DemandId>
<PackingSizeId>3a79ec91-bd55-4c32-9430-121dabe8cc74</PackingSizeId>
<PackingSizeName>sample string 6</PackingSizeName>
<ProductName>sample string 7</ProductName>
<ProductNameId>bdd9b59c-f1cb-42f1-ae76-945177922b0f</ProductNameId>
<Quantity>5</Quantity>
</DemandDetail>
<DemandDetail>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">a53b8099-6f07-440f-a2f1-6ab244e2354c</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-07-16T05:57:35.1943047-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">76fc9732-9877-454f-a0b8-5a8d87bf342a</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-07-16T05:57:35.1943047-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>
<DemandDetailId>0f5fb81b-b935-43e2-98f5-e9225438721c</DemandDetailId>
<DemandId>5507c5e4-7e8d-4d83-aaf2-a1525a168c70</DemandId>
<PackingSizeId>3a79ec91-bd55-4c32-9430-121dabe8cc74</PackingSizeId>
<PackingSizeName>sample string 6</PackingSizeName>
<ProductName>sample string 7</ProductName>
<ProductNameId>bdd9b59c-f1cb-42f1-ae76-945177922b0f</ProductNameId>
<Quantity>5</Quantity>
</DemandDetail>
</DemandDetailList>
<DemandId>f32d41c7-05b6-41cc-97c3-971989c37f3a</DemandId>
<StoreAreaId>sample string 6</StoreAreaId>
<StoreAreaName>sample string 5</StoreAreaName>
<StoreName>sample string 4</StoreName>
<StoreNameId>15807079-3b94-4ccb-a792-eb18e37c3ed1</StoreNameId>
<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>
</Demand>
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.