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": "7d913b30-8d2c-475f-951d-eab5d5f69531",
"StoreNameId": "5634038a-9391-4074-87a7-433c435e4ee6",
"DemandDate": "2026-05-17T05:47:05.0830779-05:00",
"DemandDetailList": [
{
"DemandDetailId": "c2fc5d28-ec3b-407e-9cff-44b083fdeb24",
"DemandId": "78d92513-70f3-4190-96c3-9a7baba80316",
"ProductNameId": "0e2193c1-0441-4d8c-9b15-11b2ab6ab217",
"PackingSizeId": "d276d3d5-67ca-412d-a0bf-6ceec3ff71dc",
"Quantity": 5,
"PackingSizeName": "sample string 6",
"ProductName": "sample string 7",
"CreatedBy": "6d5bd9e1-c967-4f7c-b45d-9600f9751564",
"CreatedDate": "2026-05-17T05:47:05.0840799-05:00",
"EditedBy": "53478194-1ba4-42bf-afe0-f4465935c288",
"EditedDate": "2026-05-17T05:47:05.0840799-05:00",
"IsActive": true,
"IsDelete": true
},
{
"DemandDetailId": "c2fc5d28-ec3b-407e-9cff-44b083fdeb24",
"DemandId": "78d92513-70f3-4190-96c3-9a7baba80316",
"ProductNameId": "0e2193c1-0441-4d8c-9b15-11b2ab6ab217",
"PackingSizeId": "d276d3d5-67ca-412d-a0bf-6ceec3ff71dc",
"Quantity": 5,
"PackingSizeName": "sample string 6",
"ProductName": "sample string 7",
"CreatedBy": "6d5bd9e1-c967-4f7c-b45d-9600f9751564",
"CreatedDate": "2026-05-17T05:47:05.0840799-05:00",
"EditedBy": "53478194-1ba4-42bf-afe0-f4465935c288",
"EditedDate": "2026-05-17T05:47:05.0840799-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": "ddf01a30-fb6f-463f-b110-65965b833f8d",
"CreatedDate": "2026-05-17T05:47:05.0840799-05:00",
"EditedBy": "599975f7-8079-4830-8a09-ab22aea15c47",
"EditedDate": "2026-05-17T05:47:05.0840799-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">ddf01a30-fb6f-463f-b110-65965b833f8d</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-05-17T05:47:05.0840799-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">599975f7-8079-4830-8a09-ab22aea15c47</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-05-17T05:47:05.0840799-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-05-17T05:47:05.0830779-05:00</DemandDate>
<DemandDetailList>
<DemandDetail>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">6d5bd9e1-c967-4f7c-b45d-9600f9751564</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-05-17T05:47:05.0840799-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">53478194-1ba4-42bf-afe0-f4465935c288</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-05-17T05:47:05.0840799-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>c2fc5d28-ec3b-407e-9cff-44b083fdeb24</DemandDetailId>
<DemandId>78d92513-70f3-4190-96c3-9a7baba80316</DemandId>
<PackingSizeId>d276d3d5-67ca-412d-a0bf-6ceec3ff71dc</PackingSizeId>
<PackingSizeName>sample string 6</PackingSizeName>
<ProductName>sample string 7</ProductName>
<ProductNameId>0e2193c1-0441-4d8c-9b15-11b2ab6ab217</ProductNameId>
<Quantity>5</Quantity>
</DemandDetail>
<DemandDetail>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">6d5bd9e1-c967-4f7c-b45d-9600f9751564</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-05-17T05:47:05.0840799-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">53478194-1ba4-42bf-afe0-f4465935c288</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-05-17T05:47:05.0840799-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>c2fc5d28-ec3b-407e-9cff-44b083fdeb24</DemandDetailId>
<DemandId>78d92513-70f3-4190-96c3-9a7baba80316</DemandId>
<PackingSizeId>d276d3d5-67ca-412d-a0bf-6ceec3ff71dc</PackingSizeId>
<PackingSizeName>sample string 6</PackingSizeName>
<ProductName>sample string 7</ProductName>
<ProductNameId>0e2193c1-0441-4d8c-9b15-11b2ab6ab217</ProductNameId>
<Quantity>5</Quantity>
</DemandDetail>
</DemandDetailList>
<DemandId>7d913b30-8d2c-475f-951d-eab5d5f69531</DemandId>
<StoreAreaId>sample string 6</StoreAreaId>
<StoreAreaName>sample string 5</StoreAreaName>
<StoreName>sample string 4</StoreName>
<StoreNameId>5634038a-9391-4074-87a7-433c435e4ee6</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.