POST api/WarehouseDCReturns/SaveWarehouseDCReturnsDetails

Request Information

URI Parameters

None.

Body Parameters

WarehouseDCReturnsModel
NameDescriptionTypeAdditional information
DCR_Id

integer

None.

DCR_Code

string

None.

DCR_DC_Id_FK

integer

None.

DCR_Date

date

None.

DCR_UserId_FK

integer

None.

DCR_TS

date

None.

DCR_Inactive

character

None.

DCR_TS_LastEdited

date

None.

DCR_TS_Edited_Uid_FK

integer

None.

DCR_WH_Id_FK

integer

None.

FromAddress

string

None.

ToAddress

string

None.

ReturnedTotalAmount

decimal number

None.

WarehouseDCReturnDetails

Collection of DeliveryChallanDetailsModels

None.

WarehouseDCReturnsDetailsDetails

Collection of WarehouseDCReturnDetailsModel

None.

DC_Number

string

None.

DCR_Id_Encyt

string

None.

DC_Date

date

None.

DC_Id_Encyt

string

None.

DC_TotalAmount

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "DCR_Id": 1,
  "DCR_Code": "sample string 2",
  "DCR_DC_Id_FK": 3,
  "DCR_Date": "2019-10-23T04:01:22.7995027+05:30",
  "DCR_UserId_FK": 5,
  "DCR_TS": "2019-10-23T04:01:22.7995027+05:30",
  "DCR_Inactive": "A",
  "DCR_TS_LastEdited": "2019-10-23T04:01:22.7995027+05:30",
  "DCR_TS_Edited_Uid_FK": 9,
  "DCR_WH_Id_FK": 10,
  "FromAddress": "sample string 11",
  "ToAddress": "sample string 12",
  "ReturnedTotalAmount": 13.0,
  "WarehouseDCReturnDetails": [
    {
      "DCD_Id": 1,
      "DCD_DC_Id_FK": 2,
      "DCD_P_Id_FK": 3,
      "DCD_PA_Id_FK": 4,
      "DCD_ProductCode": "sample string 5",
      "DCD_ProductName": "sample string 6",
      "DCD_Size": "sample string 7",
      "DCD_UOM": "sample string 8",
      "DCD_Type": "sample string 9",
      "DCD_Quantity": 10,
      "DCD_QuantityForComparision": 11,
      "DCD_Price": 12.0,
      "DCD_TaxRate": 13.0,
      "DCD_DisplayOrder": 1,
      "DCD_BoxNo": 1,
      "ManufacturedDatesList": [
        {
          "ManufacturedDate": "2019-10-23T04:01:22.7995027+05:30",
          "Quantity": 2.0,
          "QuantityForComparision": 3.0
        },
        {
          "ManufacturedDate": "2019-10-23T04:01:22.7995027+05:30",
          "Quantity": 2.0,
          "QuantityForComparision": 3.0
        }
      ]
    },
    {
      "DCD_Id": 1,
      "DCD_DC_Id_FK": 2,
      "DCD_P_Id_FK": 3,
      "DCD_PA_Id_FK": 4,
      "DCD_ProductCode": "sample string 5",
      "DCD_ProductName": "sample string 6",
      "DCD_Size": "sample string 7",
      "DCD_UOM": "sample string 8",
      "DCD_Type": "sample string 9",
      "DCD_Quantity": 10,
      "DCD_QuantityForComparision": 11,
      "DCD_Price": 12.0,
      "DCD_TaxRate": 13.0,
      "DCD_DisplayOrder": 1,
      "DCD_BoxNo": 1,
      "ManufacturedDatesList": [
        {
          "ManufacturedDate": "2019-10-23T04:01:22.7995027+05:30",
          "Quantity": 2.0,
          "QuantityForComparision": 3.0
        },
        {
          "ManufacturedDate": "2019-10-23T04:01:22.7995027+05:30",
          "Quantity": 2.0,
          "QuantityForComparision": 3.0
        }
      ]
    }
  ],
  "WarehouseDCReturnsDetailsDetails": [
    {
      "DCRD_Id": 1,
      "DCRD_R_Id_FK": 2,
      "DCRD_P_Id_FK": 3,
      "DCRD_PA_Id_FK": 4,
      "DCRD_Qty": 5.0,
      "DCRD_Price": 6.0,
      "DCRD_TaxRate": 7.0,
      "DCRD_TS": "2019-10-23T04:01:22.7995027+05:30",
      "DCRD_Inactive": "A",
      "DCRD_TS_LastEdited": "2019-10-23T04:01:22.7995027+05:30",
      "DCRD_TS_Edited_Uid_FK": 11,
      "DCRD_UserId_FK": 12,
      "DCR_DC_Id_FK": 13,
      "P_Name": "sample string 14",
      "PA_Size": "sample string 15",
      "PA_PackUOM": "sample string 16",
      "PA_PackType": "sample string 17",
      "PA_Packsize_Code": "sample string 18"
    },
    {
      "DCRD_Id": 1,
      "DCRD_R_Id_FK": 2,
      "DCRD_P_Id_FK": 3,
      "DCRD_PA_Id_FK": 4,
      "DCRD_Qty": 5.0,
      "DCRD_Price": 6.0,
      "DCRD_TaxRate": 7.0,
      "DCRD_TS": "2019-10-23T04:01:22.7995027+05:30",
      "DCRD_Inactive": "A",
      "DCRD_TS_LastEdited": "2019-10-23T04:01:22.7995027+05:30",
      "DCRD_TS_Edited_Uid_FK": 11,
      "DCRD_UserId_FK": 12,
      "DCR_DC_Id_FK": 13,
      "P_Name": "sample string 14",
      "PA_Size": "sample string 15",
      "PA_PackUOM": "sample string 16",
      "PA_PackType": "sample string 17",
      "PA_Packsize_Code": "sample string 18"
    }
  ],
  "DC_Number": "sample string 14",
  "DCR_Id_Encyt": "sample string 15",
  "DC_Date": "2019-10-23T04:01:22.7995027+05:30",
  "DC_Id_Encyt": "sample string 17",
  "DC_TotalAmount": 18.0
}

application/xml, text/xml

Sample:
<WarehouseDCReturnsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <DCR_Code>sample string 2</DCR_Code>
  <DCR_DC_Id_FK>3</DCR_DC_Id_FK>
  <DCR_Date>2019-10-23T04:01:22.7995027+05:30</DCR_Date>
  <DCR_Id>1</DCR_Id>
  <DCR_Id_Encyt>sample string 15</DCR_Id_Encyt>
  <DCR_Inactive>65</DCR_Inactive>
  <DCR_TS>2019-10-23T04:01:22.7995027+05:30</DCR_TS>
  <DCR_TS_Edited_Uid_FK>9</DCR_TS_Edited_Uid_FK>
  <DCR_TS_LastEdited>2019-10-23T04:01:22.7995027+05:30</DCR_TS_LastEdited>
  <DCR_UserId_FK>5</DCR_UserId_FK>
  <DCR_WH_Id_FK>10</DCR_WH_Id_FK>
  <DC_Date>2019-10-23T04:01:22.7995027+05:30</DC_Date>
  <DC_Id_Encyt>sample string 17</DC_Id_Encyt>
  <DC_Number>sample string 14</DC_Number>
  <DC_TotalAmount>18</DC_TotalAmount>
  <FromAddress>sample string 11</FromAddress>
  <ReturnedTotalAmount>13</ReturnedTotalAmount>
  <ToAddress>sample string 12</ToAddress>
  <WarehouseDCReturnDetails>
    <DeliveryChallanDetailsModels>
      <DCD_BoxNo>1</DCD_BoxNo>
      <DCD_DC_Id_FK>2</DCD_DC_Id_FK>
      <DCD_DisplayOrder>1</DCD_DisplayOrder>
      <DCD_Id>1</DCD_Id>
      <DCD_PA_Id_FK>4</DCD_PA_Id_FK>
      <DCD_P_Id_FK>3</DCD_P_Id_FK>
      <DCD_Price>12</DCD_Price>
      <DCD_ProductCode>sample string 5</DCD_ProductCode>
      <DCD_ProductName>sample string 6</DCD_ProductName>
      <DCD_Quantity>10</DCD_Quantity>
      <DCD_QuantityForComparision>11</DCD_QuantityForComparision>
      <DCD_Size>sample string 7</DCD_Size>
      <DCD_TaxRate>13</DCD_TaxRate>
      <DCD_Type>sample string 9</DCD_Type>
      <DCD_UOM>sample string 8</DCD_UOM>
      <ManufacturedDatesList>
        <SalesManufacturedDateModels>
          <ManufacturedDate>2019-10-23T04:01:22.7995027+05:30</ManufacturedDate>
          <Quantity>2</Quantity>
          <QuantityForComparision>3</QuantityForComparision>
        </SalesManufacturedDateModels>
        <SalesManufacturedDateModels>
          <ManufacturedDate>2019-10-23T04:01:22.7995027+05:30</ManufacturedDate>
          <Quantity>2</Quantity>
          <QuantityForComparision>3</QuantityForComparision>
        </SalesManufacturedDateModels>
      </ManufacturedDatesList>
    </DeliveryChallanDetailsModels>
    <DeliveryChallanDetailsModels>
      <DCD_BoxNo>1</DCD_BoxNo>
      <DCD_DC_Id_FK>2</DCD_DC_Id_FK>
      <DCD_DisplayOrder>1</DCD_DisplayOrder>
      <DCD_Id>1</DCD_Id>
      <DCD_PA_Id_FK>4</DCD_PA_Id_FK>
      <DCD_P_Id_FK>3</DCD_P_Id_FK>
      <DCD_Price>12</DCD_Price>
      <DCD_ProductCode>sample string 5</DCD_ProductCode>
      <DCD_ProductName>sample string 6</DCD_ProductName>
      <DCD_Quantity>10</DCD_Quantity>
      <DCD_QuantityForComparision>11</DCD_QuantityForComparision>
      <DCD_Size>sample string 7</DCD_Size>
      <DCD_TaxRate>13</DCD_TaxRate>
      <DCD_Type>sample string 9</DCD_Type>
      <DCD_UOM>sample string 8</DCD_UOM>
      <ManufacturedDatesList>
        <SalesManufacturedDateModels>
          <ManufacturedDate>2019-10-23T04:01:22.7995027+05:30</ManufacturedDate>
          <Quantity>2</Quantity>
          <QuantityForComparision>3</QuantityForComparision>
        </SalesManufacturedDateModels>
        <SalesManufacturedDateModels>
          <ManufacturedDate>2019-10-23T04:01:22.7995027+05:30</ManufacturedDate>
          <Quantity>2</Quantity>
          <QuantityForComparision>3</QuantityForComparision>
        </SalesManufacturedDateModels>
      </ManufacturedDatesList>
    </DeliveryChallanDetailsModels>
  </WarehouseDCReturnDetails>
  <WarehouseDCReturnsDetailsDetails>
    <WarehouseDCReturnDetailsModel>
      <DCRD_Id>1</DCRD_Id>
      <DCRD_Inactive>65</DCRD_Inactive>
      <DCRD_PA_Id_FK>4</DCRD_PA_Id_FK>
      <DCRD_P_Id_FK>3</DCRD_P_Id_FK>
      <DCRD_Price>6</DCRD_Price>
      <DCRD_Qty>5</DCRD_Qty>
      <DCRD_R_Id_FK>2</DCRD_R_Id_FK>
      <DCRD_TS>2019-10-23T04:01:22.7995027+05:30</DCRD_TS>
      <DCRD_TS_Edited_Uid_FK>11</DCRD_TS_Edited_Uid_FK>
      <DCRD_TS_LastEdited>2019-10-23T04:01:22.7995027+05:30</DCRD_TS_LastEdited>
      <DCRD_TaxRate>7</DCRD_TaxRate>
      <DCRD_UserId_FK>12</DCRD_UserId_FK>
      <DCR_DC_Id_FK>13</DCR_DC_Id_FK>
      <PA_PackType>sample string 17</PA_PackType>
      <PA_PackUOM>sample string 16</PA_PackUOM>
      <PA_Packsize_Code>sample string 18</PA_Packsize_Code>
      <PA_Size>sample string 15</PA_Size>
      <P_Name>sample string 14</P_Name>
    </WarehouseDCReturnDetailsModel>
    <WarehouseDCReturnDetailsModel>
      <DCRD_Id>1</DCRD_Id>
      <DCRD_Inactive>65</DCRD_Inactive>
      <DCRD_PA_Id_FK>4</DCRD_PA_Id_FK>
      <DCRD_P_Id_FK>3</DCRD_P_Id_FK>
      <DCRD_Price>6</DCRD_Price>
      <DCRD_Qty>5</DCRD_Qty>
      <DCRD_R_Id_FK>2</DCRD_R_Id_FK>
      <DCRD_TS>2019-10-23T04:01:22.7995027+05:30</DCRD_TS>
      <DCRD_TS_Edited_Uid_FK>11</DCRD_TS_Edited_Uid_FK>
      <DCRD_TS_LastEdited>2019-10-23T04:01:22.7995027+05:30</DCRD_TS_LastEdited>
      <DCRD_TaxRate>7</DCRD_TaxRate>
      <DCRD_UserId_FK>12</DCRD_UserId_FK>
      <DCR_DC_Id_FK>13</DCR_DC_Id_FK>
      <PA_PackType>sample string 17</PA_PackType>
      <PA_PackUOM>sample string 16</PA_PackUOM>
      <PA_Packsize_Code>sample string 18</PA_Packsize_Code>
      <PA_Size>sample string 15</PA_Size>
      <P_Name>sample string 14</P_Name>
    </WarehouseDCReturnDetailsModel>
  </WarehouseDCReturnsDetailsDetails>
</WarehouseDCReturnsModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.