POST api/Request/AcceptRejectRequest

Request Information

URI Parameters

None.

Body Parameters

AcceptRejectRequestCommandDto
NameDescriptionTypeAdditional information
Role

string

None.

RequestHeaderId

globally unique identifier

None.

ProductSegmentId

globally unique identifier

None.

RequestDetailLists

Collection of Request

None.

MainRemark

string

None.

RequestStatus

string

None.

Request

string

None.

UserId

string

None.

BusinessUnit

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Role": "sample string 1",
  "RequestHeaderId": "baee02f3-1a06-4c10-866c-ad901f41c19b",
  "ProductSegmentId": "343178ba-4e86-4419-954a-c535e6b4ae41",
  "RequestDetailLists": [
    {
      "IsChecked": true,
      "RequestDetailId": "5b3b51d7-be8c-48a9-9dbe-ac7ad9279dc9",
      "ProductName": "sample string 3",
      "PackSizeId": "5c7e6a5b-7143-41ac-b7f0-d394e01e552e",
      "IdentifierId": "034541a4-db8a-46b3-9142-994949e3c358",
      "ColourId": "e76a3b1a-103a-42a2-b843-11ab18fd8792",
      "NewProductType": "b5d9ce12-d336-4bb4-afd3-6cbdbafe5c1c",
      "MaterialGroupId": "6d06df88-4248-419b-b396-b66a546e0e27",
      "MOQ": 1,
      "MovingPrice": 1.0,
      "ZSTOPrice": 1.0,
      "UOMId": "84483ff6-24b1-4899-b4dc-2d1ff3f9cf27",
      "BrandId": "80e6ec4a-063d-45d3-8935-92cc81d0d1a3",
      "PIPId": "ce6f5824-8778-47c9-b24b-4827f6a136ab",
      "ProductCategoryId": "e84fdbc0-7028-4c9b-8d2c-5ccc620255b3",
      "DPL": 9.0,
      "MRP": 10.0,
      "SellingPrice": 11.0,
      "RMCC_onSellingPrice": 1.0,
      "Remarks": "sample string 12",
      "EAN": "sample string 13",
      "BaseQuantity": "sample string 14",
      "C_CM": 1.0,
      "ProductFamilyId": "6774ac55-4631-4548-b9a8-2ce29b68c866",
      "ConditionNumber": "sample string 16"
    },
    {
      "IsChecked": true,
      "RequestDetailId": "5b3b51d7-be8c-48a9-9dbe-ac7ad9279dc9",
      "ProductName": "sample string 3",
      "PackSizeId": "5c7e6a5b-7143-41ac-b7f0-d394e01e552e",
      "IdentifierId": "034541a4-db8a-46b3-9142-994949e3c358",
      "ColourId": "e76a3b1a-103a-42a2-b843-11ab18fd8792",
      "NewProductType": "b5d9ce12-d336-4bb4-afd3-6cbdbafe5c1c",
      "MaterialGroupId": "6d06df88-4248-419b-b396-b66a546e0e27",
      "MOQ": 1,
      "MovingPrice": 1.0,
      "ZSTOPrice": 1.0,
      "UOMId": "84483ff6-24b1-4899-b4dc-2d1ff3f9cf27",
      "BrandId": "80e6ec4a-063d-45d3-8935-92cc81d0d1a3",
      "PIPId": "ce6f5824-8778-47c9-b24b-4827f6a136ab",
      "ProductCategoryId": "e84fdbc0-7028-4c9b-8d2c-5ccc620255b3",
      "DPL": 9.0,
      "MRP": 10.0,
      "SellingPrice": 11.0,
      "RMCC_onSellingPrice": 1.0,
      "Remarks": "sample string 12",
      "EAN": "sample string 13",
      "BaseQuantity": "sample string 14",
      "C_CM": 1.0,
      "ProductFamilyId": "6774ac55-4631-4548-b9a8-2ce29b68c866",
      "ConditionNumber": "sample string 16"
    }
  ],
  "MainRemark": "sample string 4",
  "RequestStatus": "sample string 5",
  "Request": "sample string 6",
  "UserId": "sample string 7",
  "BusinessUnit": "sample string 8"
}

application/xml, text/xml

Sample:
<AcceptRejectRequestCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.RequestModule.Model">
  <BusinessUnit>sample string 8</BusinessUnit>
  <MainRemark>sample string 4</MainRemark>
  <ProductSegmentId>343178ba-4e86-4419-954a-c535e6b4ae41</ProductSegmentId>
  <Request>sample string 6</Request>
  <RequestDetailLists>
    <Request>
      <BaseQuantity>sample string 14</BaseQuantity>
      <BrandId>80e6ec4a-063d-45d3-8935-92cc81d0d1a3</BrandId>
      <C_CM>1</C_CM>
      <ColourId>e76a3b1a-103a-42a2-b843-11ab18fd8792</ColourId>
      <ConditionNumber>sample string 16</ConditionNumber>
      <DPL>9</DPL>
      <EAN>sample string 13</EAN>
      <IdentifierId>034541a4-db8a-46b3-9142-994949e3c358</IdentifierId>
      <IsChecked>true</IsChecked>
      <MOQ>1</MOQ>
      <MRP>10</MRP>
      <MaterialGroupId>6d06df88-4248-419b-b396-b66a546e0e27</MaterialGroupId>
      <MovingPrice>1</MovingPrice>
      <NewProductType>b5d9ce12-d336-4bb4-afd3-6cbdbafe5c1c</NewProductType>
      <PIPId>ce6f5824-8778-47c9-b24b-4827f6a136ab</PIPId>
      <PackSizeId>5c7e6a5b-7143-41ac-b7f0-d394e01e552e</PackSizeId>
      <ProductCategoryId>e84fdbc0-7028-4c9b-8d2c-5ccc620255b3</ProductCategoryId>
      <ProductFamilyId>6774ac55-4631-4548-b9a8-2ce29b68c866</ProductFamilyId>
      <ProductName>sample string 3</ProductName>
      <RMCC_onSellingPrice>1</RMCC_onSellingPrice>
      <Remarks>sample string 12</Remarks>
      <RequestDetailId>5b3b51d7-be8c-48a9-9dbe-ac7ad9279dc9</RequestDetailId>
      <SellingPrice>11</SellingPrice>
      <UOMId>84483ff6-24b1-4899-b4dc-2d1ff3f9cf27</UOMId>
      <ZSTOPrice>1</ZSTOPrice>
    </Request>
    <Request>
      <BaseQuantity>sample string 14</BaseQuantity>
      <BrandId>80e6ec4a-063d-45d3-8935-92cc81d0d1a3</BrandId>
      <C_CM>1</C_CM>
      <ColourId>e76a3b1a-103a-42a2-b843-11ab18fd8792</ColourId>
      <ConditionNumber>sample string 16</ConditionNumber>
      <DPL>9</DPL>
      <EAN>sample string 13</EAN>
      <IdentifierId>034541a4-db8a-46b3-9142-994949e3c358</IdentifierId>
      <IsChecked>true</IsChecked>
      <MOQ>1</MOQ>
      <MRP>10</MRP>
      <MaterialGroupId>6d06df88-4248-419b-b396-b66a546e0e27</MaterialGroupId>
      <MovingPrice>1</MovingPrice>
      <NewProductType>b5d9ce12-d336-4bb4-afd3-6cbdbafe5c1c</NewProductType>
      <PIPId>ce6f5824-8778-47c9-b24b-4827f6a136ab</PIPId>
      <PackSizeId>5c7e6a5b-7143-41ac-b7f0-d394e01e552e</PackSizeId>
      <ProductCategoryId>e84fdbc0-7028-4c9b-8d2c-5ccc620255b3</ProductCategoryId>
      <ProductFamilyId>6774ac55-4631-4548-b9a8-2ce29b68c866</ProductFamilyId>
      <ProductName>sample string 3</ProductName>
      <RMCC_onSellingPrice>1</RMCC_onSellingPrice>
      <Remarks>sample string 12</Remarks>
      <RequestDetailId>5b3b51d7-be8c-48a9-9dbe-ac7ad9279dc9</RequestDetailId>
      <SellingPrice>11</SellingPrice>
      <UOMId>84483ff6-24b1-4899-b4dc-2d1ff3f9cf27</UOMId>
      <ZSTOPrice>1</ZSTOPrice>
    </Request>
  </RequestDetailLists>
  <RequestHeaderId>baee02f3-1a06-4c10-866c-ad901f41c19b</RequestHeaderId>
  <RequestStatus>sample string 5</RequestStatus>
  <Role>sample string 1</Role>
  <UserId>sample string 7</UserId>
</AcceptRejectRequestCommandDto>

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 'AcceptRejectRequestCommandDto'.

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>