POST api/Request/AddRequest

Request Information

URI Parameters

None.

Body Parameters

AddRequestCommandDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

RequestDate

date

None.

RequestTypeId

globally unique identifier

None.

ProductSegmentId

globally unique identifier

None.

BusinessUnit

string

None.

Manufacturing

string

None.

RequestDetails

Collection of RequestDetails

None.

UserId

string

None.

Remark

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "148d5247-484f-42e1-8f9a-44ee3ffdd0fd",
  "RequestDate": "2026-04-17T17:02:18.8805968+05:30",
  "RequestTypeId": "654c9443-a673-4ccc-9cd5-65b2b9e2c918",
  "ProductSegmentId": "48d37af4-c368-4e47-b998-752c39bcd4cb",
  "BusinessUnit": "sample string 3",
  "Manufacturing": "sample string 4",
  "RequestDetails": [
    {
      "SkuDescription": "sample string 1",
      "ColourId": "4082d40f-8941-4f5e-94bd-ad45f0ace541",
      "ProductFamilyId": "e7c32161-6514-4cf7-af80-767b7ec56663",
      "PackSizeId": "956963a4-e1e5-461b-b585-5e528ae9a4dd",
      "PackSize": "sample string 5",
      "UOMId": "9ab2fc8f-8197-4bbc-84f7-5ff77ed9db87",
      "BRANDId": "36b5a683-3c96-4796-adf1-c14a0e1f1eea",
      "IdentifierId": "c0107b96-730e-44f0-9512-b946dcb41a94",
      "Currency": "sample string 9",
      "MRP": 10.0,
      "DPL": 11.0,
      "RMC": 12.0,
      "SHELFLIFE": 13.0,
      "WeightofCanandCarton": 14.0,
      "SpecificGarvity": 15.0,
      "RemarkPerRequest": "sample string 16",
      "SellingPrice": 17.0
    },
    {
      "SkuDescription": "sample string 1",
      "ColourId": "4082d40f-8941-4f5e-94bd-ad45f0ace541",
      "ProductFamilyId": "e7c32161-6514-4cf7-af80-767b7ec56663",
      "PackSizeId": "956963a4-e1e5-461b-b585-5e528ae9a4dd",
      "PackSize": "sample string 5",
      "UOMId": "9ab2fc8f-8197-4bbc-84f7-5ff77ed9db87",
      "BRANDId": "36b5a683-3c96-4796-adf1-c14a0e1f1eea",
      "IdentifierId": "c0107b96-730e-44f0-9512-b946dcb41a94",
      "Currency": "sample string 9",
      "MRP": 10.0,
      "DPL": 11.0,
      "RMC": 12.0,
      "SHELFLIFE": 13.0,
      "WeightofCanandCarton": 14.0,
      "SpecificGarvity": 15.0,
      "RemarkPerRequest": "sample string 16",
      "SellingPrice": 17.0
    }
  ],
  "UserId": "sample string 5",
  "Remark": "sample string 6"
}

application/xml, text/xml

Sample:
<AddRequestCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.RequestModule.Model">
  <BusinessUnit>sample string 3</BusinessUnit>
  <Id>148d5247-484f-42e1-8f9a-44ee3ffdd0fd</Id>
  <Manufacturing>sample string 4</Manufacturing>
  <ProductSegmentId>48d37af4-c368-4e47-b998-752c39bcd4cb</ProductSegmentId>
  <Remark>sample string 6</Remark>
  <RequestDate>2026-04-17T17:02:18.8805968+05:30</RequestDate>
  <RequestDetails>
    <RequestDetails>
      <BRANDId>36b5a683-3c96-4796-adf1-c14a0e1f1eea</BRANDId>
      <ColourId>4082d40f-8941-4f5e-94bd-ad45f0ace541</ColourId>
      <Currency>sample string 9</Currency>
      <DPL>11</DPL>
      <IdentifierId>c0107b96-730e-44f0-9512-b946dcb41a94</IdentifierId>
      <MRP>10</MRP>
      <PackSize>sample string 5</PackSize>
      <PackSizeId>956963a4-e1e5-461b-b585-5e528ae9a4dd</PackSizeId>
      <ProductFamilyId>e7c32161-6514-4cf7-af80-767b7ec56663</ProductFamilyId>
      <RMC>12</RMC>
      <RemarkPerRequest>sample string 16</RemarkPerRequest>
      <SHELFLIFE>13</SHELFLIFE>
      <SellingPrice>17</SellingPrice>
      <SkuDescription>sample string 1</SkuDescription>
      <SpecificGarvity>15</SpecificGarvity>
      <UOMId>9ab2fc8f-8197-4bbc-84f7-5ff77ed9db87</UOMId>
      <WeightofCanandCarton>14</WeightofCanandCarton>
    </RequestDetails>
    <RequestDetails>
      <BRANDId>36b5a683-3c96-4796-adf1-c14a0e1f1eea</BRANDId>
      <ColourId>4082d40f-8941-4f5e-94bd-ad45f0ace541</ColourId>
      <Currency>sample string 9</Currency>
      <DPL>11</DPL>
      <IdentifierId>c0107b96-730e-44f0-9512-b946dcb41a94</IdentifierId>
      <MRP>10</MRP>
      <PackSize>sample string 5</PackSize>
      <PackSizeId>956963a4-e1e5-461b-b585-5e528ae9a4dd</PackSizeId>
      <ProductFamilyId>e7c32161-6514-4cf7-af80-767b7ec56663</ProductFamilyId>
      <RMC>12</RMC>
      <RemarkPerRequest>sample string 16</RemarkPerRequest>
      <SHELFLIFE>13</SHELFLIFE>
      <SellingPrice>17</SellingPrice>
      <SkuDescription>sample string 1</SkuDescription>
      <SpecificGarvity>15</SpecificGarvity>
      <UOMId>9ab2fc8f-8197-4bbc-84f7-5ff77ed9db87</UOMId>
      <WeightofCanandCarton>14</WeightofCanandCarton>
    </RequestDetails>
  </RequestDetails>
  <RequestTypeId>654c9443-a673-4ccc-9cd5-65b2b9e2c918</RequestTypeId>
  <UserId>sample string 5</UserId>
</AddRequestCommandDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AddRequestCommandDto'.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Status

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 0,
  "Message": "sample string 1"
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Utilities.Common">
  <Message>sample string 1</Message>
  <Status>Failed</Status>
</Response>