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": "68e66552-c5ab-4f4c-bf13-822ff2eff7ee",
"StoreNameId": "ca21c944-4fd6-43a3-962f-9e2f8d91bc4d",
"DemandDate": "2026-02-01T08:55:40.5909586-06:00",
"DemandDetailList": [
{
"DemandDetailId": "92e76c0e-b27e-4cc8-bfa4-edc2e881fc00",
"DemandId": "5a0c39c8-ea05-438a-ac22-2b71bc2d77a2",
"ProductNameId": "30400f8f-a784-4600-b53e-c6b263857688",
"PackingSizeId": "796ea699-4e7b-4294-8ee4-f34dc2d3bcc2",
"Quantity": 5,
"PackingSizeName": "sample string 6",
"ProductName": "sample string 7",
"CreatedBy": "2239fca7-7501-4307-861a-b812b0fe5d6c",
"CreatedDate": "2026-02-01T08:55:40.5909586-06:00",
"EditedBy": "63632909-86f5-4d08-8a47-ca5f34952f5a",
"EditedDate": "2026-02-01T08:55:40.5909586-06:00",
"IsActive": true,
"IsDelete": true
},
{
"DemandDetailId": "92e76c0e-b27e-4cc8-bfa4-edc2e881fc00",
"DemandId": "5a0c39c8-ea05-438a-ac22-2b71bc2d77a2",
"ProductNameId": "30400f8f-a784-4600-b53e-c6b263857688",
"PackingSizeId": "796ea699-4e7b-4294-8ee4-f34dc2d3bcc2",
"Quantity": 5,
"PackingSizeName": "sample string 6",
"ProductName": "sample string 7",
"CreatedBy": "2239fca7-7501-4307-861a-b812b0fe5d6c",
"CreatedDate": "2026-02-01T08:55:40.5909586-06:00",
"EditedBy": "63632909-86f5-4d08-8a47-ca5f34952f5a",
"EditedDate": "2026-02-01T08:55:40.5909586-06: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": "c04d9db2-b4e2-4004-9f99-074373304a58",
"CreatedDate": "2026-02-01T08:55:40.5909586-06:00",
"EditedBy": "c8a29ff8-d73c-495f-946f-db7761725823",
"EditedDate": "2026-02-01T08:55:40.5909586-06: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">c04d9db2-b4e2-4004-9f99-074373304a58</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-02-01T08:55:40.5909586-06:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">c8a29ff8-d73c-495f-946f-db7761725823</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-02-01T08:55:40.5909586-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>
<DemandDate>2026-02-01T08:55:40.5909586-06:00</DemandDate>
<DemandDetailList>
<DemandDetail>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2239fca7-7501-4307-861a-b812b0fe5d6c</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-02-01T08:55:40.5909586-06:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">63632909-86f5-4d08-8a47-ca5f34952f5a</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-02-01T08:55:40.5909586-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>
<DemandDetailId>92e76c0e-b27e-4cc8-bfa4-edc2e881fc00</DemandDetailId>
<DemandId>5a0c39c8-ea05-438a-ac22-2b71bc2d77a2</DemandId>
<PackingSizeId>796ea699-4e7b-4294-8ee4-f34dc2d3bcc2</PackingSizeId>
<PackingSizeName>sample string 6</PackingSizeName>
<ProductName>sample string 7</ProductName>
<ProductNameId>30400f8f-a784-4600-b53e-c6b263857688</ProductNameId>
<Quantity>5</Quantity>
</DemandDetail>
<DemandDetail>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2239fca7-7501-4307-861a-b812b0fe5d6c</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-02-01T08:55:40.5909586-06:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">63632909-86f5-4d08-8a47-ca5f34952f5a</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-02-01T08:55:40.5909586-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>
<DemandDetailId>92e76c0e-b27e-4cc8-bfa4-edc2e881fc00</DemandDetailId>
<DemandId>5a0c39c8-ea05-438a-ac22-2b71bc2d77a2</DemandId>
<PackingSizeId>796ea699-4e7b-4294-8ee4-f34dc2d3bcc2</PackingSizeId>
<PackingSizeName>sample string 6</PackingSizeName>
<ProductName>sample string 7</ProductName>
<ProductNameId>30400f8f-a784-4600-b53e-c6b263857688</ProductNameId>
<Quantity>5</Quantity>
</DemandDetail>
</DemandDetailList>
<DemandId>68e66552-c5ab-4f4c-bf13-822ff2eff7ee</DemandId>
<StoreAreaId>sample string 6</StoreAreaId>
<StoreAreaName>sample string 5</StoreAreaName>
<StoreName>sample string 4</StoreName>
<StoreNameId>ca21c944-4fd6-43a3-962f-9e2f8d91bc4d</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.