POST api/Demand/Create

Request Information

URI Parameters

None.

Body Parameters

Demand
NameDescriptionTypeAdditional 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": "ef7b884d-9190-4654-9867-9e0cb33e9631",
  "StoreNameId": "c7d12883-0308-4d1c-a7ec-9fc5cd03a4a4",
  "DemandDate": "2025-12-10T21:37:23.0444866-06:00",
  "DemandDetailList": [
    {
      "DemandDetailId": "3d28a3ba-d7ef-42a9-b226-12fc7e1e8b05",
      "DemandId": "6d9193d0-9740-41d7-8859-8b6209a98b1f",
      "ProductNameId": "a3db4fc6-d202-4df5-b141-35c8edc2c076",
      "PackingSizeId": "03accb16-3090-4dac-a92f-eff130abd05e",
      "Quantity": 5,
      "PackingSizeName": "sample string 6",
      "ProductName": "sample string 7",
      "CreatedBy": "272a4e21-450d-482d-b1da-5185f221d31b",
      "CreatedDate": "2025-12-10T21:37:23.0444866-06:00",
      "EditedBy": "24028fba-55a4-4a6c-a515-a7b5d63faab4",
      "EditedDate": "2025-12-10T21:37:23.0444866-06:00",
      "IsActive": true,
      "IsDelete": true
    },
    {
      "DemandDetailId": "3d28a3ba-d7ef-42a9-b226-12fc7e1e8b05",
      "DemandId": "6d9193d0-9740-41d7-8859-8b6209a98b1f",
      "ProductNameId": "a3db4fc6-d202-4df5-b141-35c8edc2c076",
      "PackingSizeId": "03accb16-3090-4dac-a92f-eff130abd05e",
      "Quantity": 5,
      "PackingSizeName": "sample string 6",
      "ProductName": "sample string 7",
      "CreatedBy": "272a4e21-450d-482d-b1da-5185f221d31b",
      "CreatedDate": "2025-12-10T21:37:23.0444866-06:00",
      "EditedBy": "24028fba-55a4-4a6c-a515-a7b5d63faab4",
      "EditedDate": "2025-12-10T21:37:23.0444866-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": "991f9272-c020-42d9-a603-b1aadd44cc69",
  "CreatedDate": "2025-12-10T21:37:23.0444866-06:00",
  "EditedBy": "5092c50b-99c9-41b0-a40c-52c240f2bf74",
  "EditedDate": "2025-12-10T21:37:23.0444866-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">991f9272-c020-42d9-a603-b1aadd44cc69</CreatedBy>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:37:23.0444866-06:00</CreatedDate>
  <EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">5092c50b-99c9-41b0-a40c-52c240f2bf74</EditedBy>
  <EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:37:23.0444866-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>2025-12-10T21:37:23.0444866-06:00</DemandDate>
  <DemandDetailList>
    <DemandDetail>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">272a4e21-450d-482d-b1da-5185f221d31b</CreatedBy>
      <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:37:23.0444866-06:00</CreatedDate>
      <EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">24028fba-55a4-4a6c-a515-a7b5d63faab4</EditedBy>
      <EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:37:23.0444866-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>3d28a3ba-d7ef-42a9-b226-12fc7e1e8b05</DemandDetailId>
      <DemandId>6d9193d0-9740-41d7-8859-8b6209a98b1f</DemandId>
      <PackingSizeId>03accb16-3090-4dac-a92f-eff130abd05e</PackingSizeId>
      <PackingSizeName>sample string 6</PackingSizeName>
      <ProductName>sample string 7</ProductName>
      <ProductNameId>a3db4fc6-d202-4df5-b141-35c8edc2c076</ProductNameId>
      <Quantity>5</Quantity>
    </DemandDetail>
    <DemandDetail>
      <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">272a4e21-450d-482d-b1da-5185f221d31b</CreatedBy>
      <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:37:23.0444866-06:00</CreatedDate>
      <EditedBy xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">24028fba-55a4-4a6c-a515-a7b5d63faab4</EditedBy>
      <EditedDate xmlns="http://schemas.datacontract.org/2004/07/BlazeFarm.Core.Model">2025-12-10T21:37:23.0444866-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>3d28a3ba-d7ef-42a9-b226-12fc7e1e8b05</DemandDetailId>
      <DemandId>6d9193d0-9740-41d7-8859-8b6209a98b1f</DemandId>
      <PackingSizeId>03accb16-3090-4dac-a92f-eff130abd05e</PackingSizeId>
      <PackingSizeName>sample string 6</PackingSizeName>
      <ProductName>sample string 7</ProductName>
      <ProductNameId>a3db4fc6-d202-4df5-b141-35c8edc2c076</ProductNameId>
      <Quantity>5</Quantity>
    </DemandDetail>
  </DemandDetailList>
  <DemandId>ef7b884d-9190-4654-9867-9e0cb33e9631</DemandId>
  <StoreAreaId>sample string 6</StoreAreaId>
  <StoreAreaName>sample string 5</StoreAreaName>
  <StoreName>sample string 4</StoreName>
  <StoreNameId>c7d12883-0308-4d1c-a7ec-9fc5cd03a4a4</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

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.