POST api/PackingSlip/PackingSlipForBulkSalesInvoiceModels

Request Information

URI Parameters

None.

Body Parameters

PackingSlipForBulkSalesInvoiceSaveModels
NameDescriptionTypeAdditional information
PS_Id

integer

None.

PS_Id_Encyt

string

None.

PS_PackSlipNo

string

None.

PS_SIV_Id_FK

integer

Required

PS_Delivery

character

None.

PS_DeliveryDateTime

date

None.

PS_UserId_FK

integer

None.

PS_TS

date

None.

PS_Inactive

character

None.

PS_TS_LastEdited

date

None.

PS_TS_Edited_Uid_FK

integer

None.

BulkSalesDetails

Collection of BulkSalesDetailsModels

None.

Request Formats

application/json, text/json

Sample:
{
  "PS_Id": 1,
  "PS_Id_Encyt": "sample string 2",
  "PS_PackSlipNo": "sample string 3",
  "PS_SIV_Id_FK": 4,
  "PS_Delivery": "A",
  "PS_DeliveryDateTime": "2019-07-16T06:00:26.7373146+05:30",
  "PS_UserId_FK": 7,
  "PS_TS": "2019-07-16T06:00:26.7373146+05:30",
  "PS_Inactive": "A",
  "PS_TS_LastEdited": "2019-07-16T06:00:26.7373146+05:30",
  "PS_TS_Edited_Uid_FK": 11,
  "BulkSalesDetails": [
    {
      "BSD_Id": 1,
      "BSD_P_Id_FK": 2,
      "BSD_PA_Id_FK": 3,
      "BSD_Product_Code": "sample string 4",
      "BSD_Product_Name": "sample string 5",
      "BSD_Quantity": 6,
      "BSD_Customer_Price": 7.0,
      "BSD_Vat_Rate": 8.0,
      "BSD_Vat_Amount": 9.0,
      "BSD_Size": "sample string 10",
      "BSD_PackType": "sample string 11",
      "BSD_PackUOM": "sample string 12",
      "BSD_DisplayOrder": 1,
      "BSD_BoxNo": 1,
      "ManufacturerDateBulkSalesList": [
        {
          "BSD_PMD_ManufacturedDate": "2019-07-16T06:00:26.7373146+05:30",
          "PurchasedQuantity": 2.0,
          "SoldQuantity": 3.0,
          "BSD_PMD_Quantity": 4.0
        },
        {
          "BSD_PMD_ManufacturedDate": "2019-07-16T06:00:26.7373146+05:30",
          "PurchasedQuantity": 2.0,
          "SoldQuantity": 3.0,
          "BSD_PMD_Quantity": 4.0
        }
      ],
      "BS_UserId_FK": 13,
      "BS_TS": "2019-07-16T06:00:26.7528903+05:30",
      "BS_Inactive": "A",
      "BS_TS_LastEdited": "2019-07-16T06:00:26.7528903+05:30",
      "BS_TS_Edited_Uid_FK": 17,
      "BSD_MRP": 18.0
    },
    {
      "BSD_Id": 1,
      "BSD_P_Id_FK": 2,
      "BSD_PA_Id_FK": 3,
      "BSD_Product_Code": "sample string 4",
      "BSD_Product_Name": "sample string 5",
      "BSD_Quantity": 6,
      "BSD_Customer_Price": 7.0,
      "BSD_Vat_Rate": 8.0,
      "BSD_Vat_Amount": 9.0,
      "BSD_Size": "sample string 10",
      "BSD_PackType": "sample string 11",
      "BSD_PackUOM": "sample string 12",
      "BSD_DisplayOrder": 1,
      "BSD_BoxNo": 1,
      "ManufacturerDateBulkSalesList": [
        {
          "BSD_PMD_ManufacturedDate": "2019-07-16T06:00:26.7373146+05:30",
          "PurchasedQuantity": 2.0,
          "SoldQuantity": 3.0,
          "BSD_PMD_Quantity": 4.0
        },
        {
          "BSD_PMD_ManufacturedDate": "2019-07-16T06:00:26.7373146+05:30",
          "PurchasedQuantity": 2.0,
          "SoldQuantity": 3.0,
          "BSD_PMD_Quantity": 4.0
        }
      ],
      "BS_UserId_FK": 13,
      "BS_TS": "2019-07-16T06:00:26.7528903+05:30",
      "BS_Inactive": "A",
      "BS_TS_LastEdited": "2019-07-16T06:00:26.7528903+05:30",
      "BS_TS_Edited_Uid_FK": 17,
      "BSD_MRP": 18.0
    }
  ]
}

application/xml, text/xml

Sample:
<PackingSlipForBulkSalesInvoiceSaveModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/eDairyWebAPI.Models">
  <BulkSalesDetails>
    <BulkSalesDetailsModels>
      <BSD_BoxNo>1</BSD_BoxNo>
      <BSD_Customer_Price>7</BSD_Customer_Price>
      <BSD_DisplayOrder>1</BSD_DisplayOrder>
      <BSD_Id>1</BSD_Id>
      <BSD_MRP>18</BSD_MRP>
      <BSD_PA_Id_FK>3</BSD_PA_Id_FK>
      <BSD_P_Id_FK>2</BSD_P_Id_FK>
      <BSD_PackType>sample string 11</BSD_PackType>
      <BSD_PackUOM>sample string 12</BSD_PackUOM>
      <BSD_Product_Code>sample string 4</BSD_Product_Code>
      <BSD_Product_Name>sample string 5</BSD_Product_Name>
      <BSD_Quantity>6</BSD_Quantity>
      <BSD_Size>sample string 10</BSD_Size>
      <BSD_Vat_Amount>9</BSD_Vat_Amount>
      <BSD_Vat_Rate>8</BSD_Vat_Rate>
      <BS_Inactive>65</BS_Inactive>
      <BS_TS>2019-07-16T06:00:26.7528903+05:30</BS_TS>
      <BS_TS_Edited_Uid_FK>17</BS_TS_Edited_Uid_FK>
      <BS_TS_LastEdited>2019-07-16T06:00:26.7528903+05:30</BS_TS_LastEdited>
      <BS_UserId_FK>13</BS_UserId_FK>
      <ManufacturerDateBulkSalesList>
        <BSD_PMDModels>
          <BSD_PMD_ManufacturedDate>2019-07-16T06:00:26.7373146+05:30</BSD_PMD_ManufacturedDate>
          <BSD_PMD_Quantity>4</BSD_PMD_Quantity>
          <PurchasedQuantity>2</PurchasedQuantity>
          <SoldQuantity>3</SoldQuantity>
        </BSD_PMDModels>
        <BSD_PMDModels>
          <BSD_PMD_ManufacturedDate>2019-07-16T06:00:26.7373146+05:30</BSD_PMD_ManufacturedDate>
          <BSD_PMD_Quantity>4</BSD_PMD_Quantity>
          <PurchasedQuantity>2</PurchasedQuantity>
          <SoldQuantity>3</SoldQuantity>
        </BSD_PMDModels>
      </ManufacturerDateBulkSalesList>
    </BulkSalesDetailsModels>
    <BulkSalesDetailsModels>
      <BSD_BoxNo>1</BSD_BoxNo>
      <BSD_Customer_Price>7</BSD_Customer_Price>
      <BSD_DisplayOrder>1</BSD_DisplayOrder>
      <BSD_Id>1</BSD_Id>
      <BSD_MRP>18</BSD_MRP>
      <BSD_PA_Id_FK>3</BSD_PA_Id_FK>
      <BSD_P_Id_FK>2</BSD_P_Id_FK>
      <BSD_PackType>sample string 11</BSD_PackType>
      <BSD_PackUOM>sample string 12</BSD_PackUOM>
      <BSD_Product_Code>sample string 4</BSD_Product_Code>
      <BSD_Product_Name>sample string 5</BSD_Product_Name>
      <BSD_Quantity>6</BSD_Quantity>
      <BSD_Size>sample string 10</BSD_Size>
      <BSD_Vat_Amount>9</BSD_Vat_Amount>
      <BSD_Vat_Rate>8</BSD_Vat_Rate>
      <BS_Inactive>65</BS_Inactive>
      <BS_TS>2019-07-16T06:00:26.7528903+05:30</BS_TS>
      <BS_TS_Edited_Uid_FK>17</BS_TS_Edited_Uid_FK>
      <BS_TS_LastEdited>2019-07-16T06:00:26.7528903+05:30</BS_TS_LastEdited>
      <BS_UserId_FK>13</BS_UserId_FK>
      <ManufacturerDateBulkSalesList>
        <BSD_PMDModels>
          <BSD_PMD_ManufacturedDate>2019-07-16T06:00:26.7373146+05:30</BSD_PMD_ManufacturedDate>
          <BSD_PMD_Quantity>4</BSD_PMD_Quantity>
          <PurchasedQuantity>2</PurchasedQuantity>
          <SoldQuantity>3</SoldQuantity>
        </BSD_PMDModels>
        <BSD_PMDModels>
          <BSD_PMD_ManufacturedDate>2019-07-16T06:00:26.7373146+05:30</BSD_PMD_ManufacturedDate>
          <BSD_PMD_Quantity>4</BSD_PMD_Quantity>
          <PurchasedQuantity>2</PurchasedQuantity>
          <SoldQuantity>3</SoldQuantity>
        </BSD_PMDModels>
      </ManufacturerDateBulkSalesList>
    </BulkSalesDetailsModels>
  </BulkSalesDetails>
  <PS_Delivery>65</PS_Delivery>
  <PS_DeliveryDateTime>2019-07-16T06:00:26.7373146+05:30</PS_DeliveryDateTime>
  <PS_Id>1</PS_Id>
  <PS_Id_Encyt>sample string 2</PS_Id_Encyt>
  <PS_Inactive>65</PS_Inactive>
  <PS_PackSlipNo>sample string 3</PS_PackSlipNo>
  <PS_SIV_Id_FK>4</PS_SIV_Id_FK>
  <PS_TS>2019-07-16T06:00:26.7373146+05:30</PS_TS>
  <PS_TS_Edited_Uid_FK>11</PS_TS_Edited_Uid_FK>
  <PS_TS_LastEdited>2019-07-16T06:00:26.7373146+05:30</PS_TS_LastEdited>
  <PS_UserId_FK>7</PS_UserId_FK>
</PackingSlipForBulkSalesInvoiceSaveModels>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.