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": "63cc0f29-f22e-4eff-86a0-5969627339ed",
"StoreNameId": "ee98d518-4aac-47de-8198-66099e90c97a",
"DemandDate": "2026-03-23T11:23:01.9821744-05:00",
"DemandDetailList": [
{
"DemandDetailId": "a92d083e-b081-4118-aa60-8ab35ca4ef6e",
"DemandId": "43401d72-5140-46f6-b157-fd9183aa288e",
"ProductNameId": "90078295-c5bc-40e5-bff4-c413d6aed25b",
"PackingSizeId": "00476825-49b9-4c6e-a2b6-c96bbb4fef02",
"Quantity": 5,
"PackingSizeName": "sample string 6",
"ProductName": "sample string 7",
"CreatedBy": "340c4c0d-ea40-4f45-bdf0-b50c8065b3b3",
"CreatedDate": "2026-03-23T11:23:01.9821744-05:00",
"EditedBy": "5bb2ad60-fbc9-464a-ab98-4d2b24ef711e",
"EditedDate": "2026-03-23T11:23:01.9821744-05:00",
"IsActive": true,
"IsDelete": true
},
{
"DemandDetailId": "a92d083e-b081-4118-aa60-8ab35ca4ef6e",
"DemandId": "43401d72-5140-46f6-b157-fd9183aa288e",
"ProductNameId": "90078295-c5bc-40e5-bff4-c413d6aed25b",
"PackingSizeId": "00476825-49b9-4c6e-a2b6-c96bbb4fef02",
"Quantity": 5,
"PackingSizeName": "sample string 6",
"ProductName": "sample string 7",
"CreatedBy": "340c4c0d-ea40-4f45-bdf0-b50c8065b3b3",
"CreatedDate": "2026-03-23T11:23:01.9821744-05:00",
"EditedBy": "5bb2ad60-fbc9-464a-ab98-4d2b24ef711e",
"EditedDate": "2026-03-23T11:23:01.9821744-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": "a950cdc4-8d15-4d96-9897-217d9979b6e1",
"CreatedDate": "2026-03-23T11:23:01.9821744-05:00",
"EditedBy": "772ceaf9-daf1-48f4-92c5-22d64a800a4c",
"EditedDate": "2026-03-23T11:23:01.9821744-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">a950cdc4-8d15-4d96-9897-217d9979b6e1</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-03-23T11:23:01.9821744-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">772ceaf9-daf1-48f4-92c5-22d64a800a4c</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-03-23T11:23:01.9821744-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-03-23T11:23:01.9821744-05:00</DemandDate>
<DemandDetailList>
<DemandDetail>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">340c4c0d-ea40-4f45-bdf0-b50c8065b3b3</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-03-23T11:23:01.9821744-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">5bb2ad60-fbc9-464a-ab98-4d2b24ef711e</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-03-23T11:23:01.9821744-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>a92d083e-b081-4118-aa60-8ab35ca4ef6e</DemandDetailId>
<DemandId>43401d72-5140-46f6-b157-fd9183aa288e</DemandId>
<PackingSizeId>00476825-49b9-4c6e-a2b6-c96bbb4fef02</PackingSizeId>
<PackingSizeName>sample string 6</PackingSizeName>
<ProductName>sample string 7</ProductName>
<ProductNameId>90078295-c5bc-40e5-bff4-c413d6aed25b</ProductNameId>
<Quantity>5</Quantity>
</DemandDetail>
<DemandDetail>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">340c4c0d-ea40-4f45-bdf0-b50c8065b3b3</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-03-23T11:23:01.9821744-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">5bb2ad60-fbc9-464a-ab98-4d2b24ef711e</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-03-23T11:23:01.9821744-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>a92d083e-b081-4118-aa60-8ab35ca4ef6e</DemandDetailId>
<DemandId>43401d72-5140-46f6-b157-fd9183aa288e</DemandId>
<PackingSizeId>00476825-49b9-4c6e-a2b6-c96bbb4fef02</PackingSizeId>
<PackingSizeName>sample string 6</PackingSizeName>
<ProductName>sample string 7</ProductName>
<ProductNameId>90078295-c5bc-40e5-bff4-c413d6aed25b</ProductNameId>
<Quantity>5</Quantity>
</DemandDetail>
</DemandDetailList>
<DemandId>63cc0f29-f22e-4eff-86a0-5969627339ed</DemandId>
<StoreAreaId>sample string 6</StoreAreaId>
<StoreAreaName>sample string 5</StoreAreaName>
<StoreName>sample string 4</StoreName>
<StoreNameId>ee98d518-4aac-47de-8198-66099e90c97a</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.