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": "ed93b415-52f8-41dd-bf29-aa4d8a5a7a92",
"StoreNameId": "edb3eb42-c037-4817-9d0a-e6879ed4422b",
"DemandDate": "2026-09-14T05:50:57.8761818-05:00",
"DemandDetailList": [
{
"DemandDetailId": "283ecdd5-f559-4712-bfa0-1b4b35d1579e",
"DemandId": "74859d88-a77f-438f-9d4f-868334da09a4",
"ProductNameId": "6203f662-b552-4a2e-9e93-8613eb95f8e2",
"PackingSizeId": "92ba0b2d-4ae2-4342-aaa9-ca4047160236",
"Quantity": 5,
"PackingSizeName": "sample string 6",
"ProductName": "sample string 7",
"CreatedBy": "8835686d-0e03-4452-8972-8fb2bd221161",
"CreatedDate": "2026-09-14T05:50:57.8761818-05:00",
"EditedBy": "ac6b47a2-e9da-43cb-a51a-e4da0d7eae34",
"EditedDate": "2026-09-14T05:50:57.8761818-05:00",
"IsActive": true,
"IsDelete": true
},
{
"DemandDetailId": "283ecdd5-f559-4712-bfa0-1b4b35d1579e",
"DemandId": "74859d88-a77f-438f-9d4f-868334da09a4",
"ProductNameId": "6203f662-b552-4a2e-9e93-8613eb95f8e2",
"PackingSizeId": "92ba0b2d-4ae2-4342-aaa9-ca4047160236",
"Quantity": 5,
"PackingSizeName": "sample string 6",
"ProductName": "sample string 7",
"CreatedBy": "8835686d-0e03-4452-8972-8fb2bd221161",
"CreatedDate": "2026-09-14T05:50:57.8761818-05:00",
"EditedBy": "ac6b47a2-e9da-43cb-a51a-e4da0d7eae34",
"EditedDate": "2026-09-14T05:50:57.8761818-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": "fd33b9e0-5a2b-4c53-b8f7-e198fd4e69cd",
"CreatedDate": "2026-09-14T05:50:57.8761818-05:00",
"EditedBy": "e1f76293-63ad-44b2-8685-4d81be02832e",
"EditedDate": "2026-09-14T05:50:57.8761818-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">fd33b9e0-5a2b-4c53-b8f7-e198fd4e69cd</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-09-14T05:50:57.8761818-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">e1f76293-63ad-44b2-8685-4d81be02832e</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-09-14T05:50:57.8761818-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-09-14T05:50:57.8761818-05:00</DemandDate>
<DemandDetailList>
<DemandDetail>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">8835686d-0e03-4452-8972-8fb2bd221161</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-09-14T05:50:57.8761818-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">ac6b47a2-e9da-43cb-a51a-e4da0d7eae34</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-09-14T05:50:57.8761818-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>283ecdd5-f559-4712-bfa0-1b4b35d1579e</DemandDetailId>
<DemandId>74859d88-a77f-438f-9d4f-868334da09a4</DemandId>
<PackingSizeId>92ba0b2d-4ae2-4342-aaa9-ca4047160236</PackingSizeId>
<PackingSizeName>sample string 6</PackingSizeName>
<ProductName>sample string 7</ProductName>
<ProductNameId>6203f662-b552-4a2e-9e93-8613eb95f8e2</ProductNameId>
<Quantity>5</Quantity>
</DemandDetail>
<DemandDetail>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">8835686d-0e03-4452-8972-8fb2bd221161</CreatedBy>
<CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-09-14T05:50:57.8761818-05:00</CreatedDate>
<EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">ac6b47a2-e9da-43cb-a51a-e4da0d7eae34</EditedBy>
<EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2026-09-14T05:50:57.8761818-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>283ecdd5-f559-4712-bfa0-1b4b35d1579e</DemandDetailId>
<DemandId>74859d88-a77f-438f-9d4f-868334da09a4</DemandId>
<PackingSizeId>92ba0b2d-4ae2-4342-aaa9-ca4047160236</PackingSizeId>
<PackingSizeName>sample string 6</PackingSizeName>
<ProductName>sample string 7</ProductName>
<ProductNameId>6203f662-b552-4a2e-9e93-8613eb95f8e2</ProductNameId>
<Quantity>5</Quantity>
</DemandDetail>
</DemandDetailList>
<DemandId>ed93b415-52f8-41dd-bf29-aa4d8a5a7a92</DemandId>
<StoreAreaId>sample string 6</StoreAreaId>
<StoreAreaName>sample string 5</StoreAreaName>
<StoreName>sample string 4</StoreName>
<StoreNameId>edb3eb42-c037-4817-9d0a-e6879ed4422b</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.