POST api/ERPNextPurchaseOrder/AddInboundPO

Request Information

URI Parameters

None.

Body Parameters

InboundStockItemDetail
NameDescriptionTypeAdditional information
BusinessId

integer

None.

LoginUserId

integer

None.

InboundStockItem

Collection of InboundStockItem

None.

Request Formats

application/json, text/json

Sample:
{
  "BusinessId": 1,
  "LoginUserId": 2,
  "InboundStockItem": [
    {
      "PONumber": "sample string 1",
      "DmsOrderId": 2,
      "SKUId": "sample string 3",
      "SKUDescription": "sample string 4",
      "SKUTotalQty": 5,
      "SentQty": 6,
      "DamagedQty": 7,
      "ReceivedQty": 8,
      "ExpiryDate": "2025-04-28T13:57:25.2262824+00:00",
      "Supplier": "sample string 9",
      "Warehouse": "sample string 10",
      "Rate": 11.0,
      "ERP_CreatedBy": "sample string 12",
      "Payment_Terms": "sample string 13",
      "TotalAmount": 14.0
    },
    {
      "PONumber": "sample string 1",
      "DmsOrderId": 2,
      "SKUId": "sample string 3",
      "SKUDescription": "sample string 4",
      "SKUTotalQty": 5,
      "SentQty": 6,
      "DamagedQty": 7,
      "ReceivedQty": 8,
      "ExpiryDate": "2025-04-28T13:57:25.2262824+00:00",
      "Supplier": "sample string 9",
      "Warehouse": "sample string 10",
      "Rate": 11.0,
      "ERP_CreatedBy": "sample string 12",
      "Payment_Terms": "sample string 13",
      "TotalAmount": 14.0
    }
  ]
}

application/xml, text/xml

Sample:
<InboundStockItemDetail xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <BusinessId>1</BusinessId>
  <LoginUserId>2</LoginUserId>
  <InboundStockItem>
    <InboundStockItem>
      <PONumber>sample string 1</PONumber>
      <DmsOrderId>2</DmsOrderId>
      <SKUId>sample string 3</SKUId>
      <SKUDescription>sample string 4</SKUDescription>
      <SKUTotalQty>5</SKUTotalQty>
      <SentQty>6</SentQty>
      <DamagedQty>7</DamagedQty>
      <ReceivedQty>8</ReceivedQty>
      <ExpiryDate>2025-04-28T13:57:25.2262824+00:00</ExpiryDate>
      <Supplier>sample string 9</Supplier>
      <Warehouse>sample string 10</Warehouse>
      <Rate>11</Rate>
      <ERP_CreatedBy>sample string 12</ERP_CreatedBy>
      <Payment_Terms>sample string 13</Payment_Terms>
      <TotalAmount>14</TotalAmount>
    </InboundStockItem>
    <InboundStockItem>
      <PONumber>sample string 1</PONumber>
      <DmsOrderId>2</DmsOrderId>
      <SKUId>sample string 3</SKUId>
      <SKUDescription>sample string 4</SKUDescription>
      <SKUTotalQty>5</SKUTotalQty>
      <SentQty>6</SentQty>
      <DamagedQty>7</DamagedQty>
      <ReceivedQty>8</ReceivedQty>
      <ExpiryDate>2025-04-28T13:57:25.2262824+00:00</ExpiryDate>
      <Supplier>sample string 9</Supplier>
      <Warehouse>sample string 10</Warehouse>
      <Rate>11</Rate>
      <ERP_CreatedBy>sample string 12</ERP_CreatedBy>
      <Payment_Terms>sample string 13</Payment_Terms>
      <TotalAmount>14</TotalAmount>
    </InboundStockItem>
  </InboundStockItem>
</InboundStockItemDetail>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ActionResult

None.

Response Formats

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

Sample:

Sample not available.