POST api/Outbound/AddUpdateOutboundStockItems?flag={flag}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
flag

integer

Required

Body Parameters

OutboundStockItemDetail
NameDescriptionTypeAdditional information
OutboundStockItem

Collection of OutboundStockItem

None.

Request Formats

application/json, text/json

Sample:
{
  "OutboundStockItem": [
    {
      "MDCBusinessID": 1,
      "BusinessID": 2,
      "PONumber": "sample string 3",
      "SKUId": "sample string 4",
      "ProductName": "sample string 5",
      "TotalQty": 6,
      "OrderedQty": 7,
      "SentQty": 8,
      "DamagedQty": 9,
      "ExpiryDate": "2025-04-28T13:54:39.4657022+00:00",
      "BusinessName": "sample string 11",
      "Rate": 12.0,
      "DMSOrderID": 13,
      "PromoQty": 14,
      "PromoValue": 15.0,
      "CustomerName": "sample string 16",
      "CustomerCode": "sample string 17",
      "ShippingCode": "sample string 18",
      "CustomerAddress": "sample string 19",
      "CustomerPhone": "sample string 20",
      "OrderLocation": "sample string 21",
      "OrderSource": 22,
      "DeliveryType": "sample string 23"
    },
    {
      "MDCBusinessID": 1,
      "BusinessID": 2,
      "PONumber": "sample string 3",
      "SKUId": "sample string 4",
      "ProductName": "sample string 5",
      "TotalQty": 6,
      "OrderedQty": 7,
      "SentQty": 8,
      "DamagedQty": 9,
      "ExpiryDate": "2025-04-28T13:54:39.4657022+00:00",
      "BusinessName": "sample string 11",
      "Rate": 12.0,
      "DMSOrderID": 13,
      "PromoQty": 14,
      "PromoValue": 15.0,
      "CustomerName": "sample string 16",
      "CustomerCode": "sample string 17",
      "ShippingCode": "sample string 18",
      "CustomerAddress": "sample string 19",
      "CustomerPhone": "sample string 20",
      "OrderLocation": "sample string 21",
      "OrderSource": 22,
      "DeliveryType": "sample string 23"
    }
  ]
}

application/xml, text/xml

Sample:
<OutboundStockItemDetail xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <OutboundStockItem>
    <OutboundStockItem>
      <MDCBusinessID>1</MDCBusinessID>
      <BusinessID>2</BusinessID>
      <PONumber>sample string 3</PONumber>
      <SKUId>sample string 4</SKUId>
      <ProductName>sample string 5</ProductName>
      <TotalQty>6</TotalQty>
      <OrderedQty>7</OrderedQty>
      <SentQty>8</SentQty>
      <DamagedQty>9</DamagedQty>
      <ExpiryDate>2025-04-28T13:54:39.4657022+00:00</ExpiryDate>
      <BusinessName>sample string 11</BusinessName>
      <Rate>12</Rate>
      <DMSOrderID>13</DMSOrderID>
      <PromoQty>14</PromoQty>
      <PromoValue>15</PromoValue>
      <CustomerName>sample string 16</CustomerName>
      <CustomerCode>sample string 17</CustomerCode>
      <ShippingCode>sample string 18</ShippingCode>
      <CustomerAddress>sample string 19</CustomerAddress>
      <CustomerPhone>sample string 20</CustomerPhone>
      <OrderLocation>sample string 21</OrderLocation>
      <OrderSource>22</OrderSource>
      <DeliveryType>sample string 23</DeliveryType>
    </OutboundStockItem>
    <OutboundStockItem>
      <MDCBusinessID>1</MDCBusinessID>
      <BusinessID>2</BusinessID>
      <PONumber>sample string 3</PONumber>
      <SKUId>sample string 4</SKUId>
      <ProductName>sample string 5</ProductName>
      <TotalQty>6</TotalQty>
      <OrderedQty>7</OrderedQty>
      <SentQty>8</SentQty>
      <DamagedQty>9</DamagedQty>
      <ExpiryDate>2025-04-28T13:54:39.4657022+00:00</ExpiryDate>
      <BusinessName>sample string 11</BusinessName>
      <Rate>12</Rate>
      <DMSOrderID>13</DMSOrderID>
      <PromoQty>14</PromoQty>
      <PromoValue>15</PromoValue>
      <CustomerName>sample string 16</CustomerName>
      <CustomerCode>sample string 17</CustomerCode>
      <ShippingCode>sample string 18</ShippingCode>
      <CustomerAddress>sample string 19</CustomerAddress>
      <CustomerPhone>sample string 20</CustomerPhone>
      <OrderLocation>sample string 21</OrderLocation>
      <OrderSource>22</OrderSource>
      <DeliveryType>sample string 23</DeliveryType>
    </OutboundStockItem>
  </OutboundStockItem>
</OutboundStockItemDetail>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VCAPIResponse
NameDescriptionTypeAdditional information
Version

string

None.

dateTime

string

None.

StatusCode

integer

None.

ErrorMessage

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Version": "1.0.0",
  "dateTime": "2025/04/28 13:54:39",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}

application/xml, text/xml

Sample:
<VCAPIResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <StatusCode>1</StatusCode>
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result />
</VCAPIResponse>