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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
flag

integer

Required

Body Parameters

MDCOutboundStockItemDetail
NameDescriptionTypeAdditional information
MDCOutboundStockItem

Collection of MDCOutboundStockItem

None.

Request Formats

application/json, text/json

Sample:
{
  "MDCOutboundStockItem": [
    {
      "OutboundStockItem": {
        "MDCBusinessID": 1,
        "BusinessID": 2,
        "PONumber": "sample string 3",
        "SKUId": "sample string 4",
        "ProductName": "sample string 5",
        "TotalQty": 6,
        "OrderedQty": 7,
        "SentQty": 8,
        "ReturnQty": 9,
        "ReturnReason": "sample string 10",
        "DamagedQty": 11,
        "ExpiryDate": "2025-05-20T14:52:11.3831706+00:00",
        "BusinessName": "sample string 13",
        "Rate": 14.0,
        "DMSOrderID": 15,
        "PromoQty": 16,
        "PromoValue": 17.0,
        "CustomerName": "sample string 18",
        "CustomerCode": "sample string 19",
        "ShippingCode": "sample string 20",
        "CustomerAddress": "sample string 21",
        "CustomerPhone": "sample string 22",
        "OrderLocation": "sample string 23",
        "OrderSource": 24,
        "DeliveryType": "sample string 25"
      },
      "CustomerName": "sample string 1",
      "CustomerCode": "sample string 2",
      "ShippingCode": "sample string 3",
      "VehicleNumber": "sample string 4",
      "DriverName": "sample string 5",
      "DriverPhone": "sample string 6",
      "Transporter": "sample string 7",
      "Notes": "sample string 8"
    },
    {
      "OutboundStockItem": {
        "MDCBusinessID": 1,
        "BusinessID": 2,
        "PONumber": "sample string 3",
        "SKUId": "sample string 4",
        "ProductName": "sample string 5",
        "TotalQty": 6,
        "OrderedQty": 7,
        "SentQty": 8,
        "ReturnQty": 9,
        "ReturnReason": "sample string 10",
        "DamagedQty": 11,
        "ExpiryDate": "2025-05-20T14:52:11.3831706+00:00",
        "BusinessName": "sample string 13",
        "Rate": 14.0,
        "DMSOrderID": 15,
        "PromoQty": 16,
        "PromoValue": 17.0,
        "CustomerName": "sample string 18",
        "CustomerCode": "sample string 19",
        "ShippingCode": "sample string 20",
        "CustomerAddress": "sample string 21",
        "CustomerPhone": "sample string 22",
        "OrderLocation": "sample string 23",
        "OrderSource": 24,
        "DeliveryType": "sample string 25"
      },
      "CustomerName": "sample string 1",
      "CustomerCode": "sample string 2",
      "ShippingCode": "sample string 3",
      "VehicleNumber": "sample string 4",
      "DriverName": "sample string 5",
      "DriverPhone": "sample string 6",
      "Transporter": "sample string 7",
      "Notes": "sample string 8"
    }
  ]
}

application/xml, text/xml

Sample:
<MDCOutboundStockItemDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <MDCOutboundStockItem>
    <MDCOutboundStockItem>
      <CustomerCode>sample string 2</CustomerCode>
      <CustomerName>sample string 1</CustomerName>
      <DriverName>sample string 5</DriverName>
      <DriverPhone>sample string 6</DriverPhone>
      <Notes>sample string 8</Notes>
      <OutboundStockItem>
        <BusinessID>2</BusinessID>
        <BusinessName>sample string 13</BusinessName>
        <CustomerAddress>sample string 21</CustomerAddress>
        <CustomerCode>sample string 19</CustomerCode>
        <CustomerName>sample string 18</CustomerName>
        <CustomerPhone>sample string 22</CustomerPhone>
        <DMSOrderID>15</DMSOrderID>
        <DamagedQty>11</DamagedQty>
        <DeliveryType>sample string 25</DeliveryType>
        <ExpiryDate>2025-05-20T14:52:11.3831706+00:00</ExpiryDate>
        <MDCBusinessID>1</MDCBusinessID>
        <OrderLocation>sample string 23</OrderLocation>
        <OrderSource>24</OrderSource>
        <OrderedQty>7</OrderedQty>
        <PONumber>sample string 3</PONumber>
        <ProductName>sample string 5</ProductName>
        <PromoQty>16</PromoQty>
        <PromoValue>17</PromoValue>
        <Rate>14</Rate>
        <ReturnQty>9</ReturnQty>
        <ReturnReason>sample string 10</ReturnReason>
        <SKUId>sample string 4</SKUId>
        <SentQty>8</SentQty>
        <ShippingCode>sample string 20</ShippingCode>
        <TotalQty>6</TotalQty>
      </OutboundStockItem>
      <ShippingCode>sample string 3</ShippingCode>
      <Transporter>sample string 7</Transporter>
      <VehicleNumber>sample string 4</VehicleNumber>
    </MDCOutboundStockItem>
    <MDCOutboundStockItem>
      <CustomerCode>sample string 2</CustomerCode>
      <CustomerName>sample string 1</CustomerName>
      <DriverName>sample string 5</DriverName>
      <DriverPhone>sample string 6</DriverPhone>
      <Notes>sample string 8</Notes>
      <OutboundStockItem>
        <BusinessID>2</BusinessID>
        <BusinessName>sample string 13</BusinessName>
        <CustomerAddress>sample string 21</CustomerAddress>
        <CustomerCode>sample string 19</CustomerCode>
        <CustomerName>sample string 18</CustomerName>
        <CustomerPhone>sample string 22</CustomerPhone>
        <DMSOrderID>15</DMSOrderID>
        <DamagedQty>11</DamagedQty>
        <DeliveryType>sample string 25</DeliveryType>
        <ExpiryDate>2025-05-20T14:52:11.3831706+00:00</ExpiryDate>
        <MDCBusinessID>1</MDCBusinessID>
        <OrderLocation>sample string 23</OrderLocation>
        <OrderSource>24</OrderSource>
        <OrderedQty>7</OrderedQty>
        <PONumber>sample string 3</PONumber>
        <ProductName>sample string 5</ProductName>
        <PromoQty>16</PromoQty>
        <PromoValue>17</PromoValue>
        <Rate>14</Rate>
        <ReturnQty>9</ReturnQty>
        <ReturnReason>sample string 10</ReturnReason>
        <SKUId>sample string 4</SKUId>
        <SentQty>8</SentQty>
        <ShippingCode>sample string 20</ShippingCode>
        <TotalQty>6</TotalQty>
      </OutboundStockItem>
      <ShippingCode>sample string 3</ShippingCode>
      <Transporter>sample string 7</Transporter>
      <VehicleNumber>sample string 4</VehicleNumber>
    </MDCOutboundStockItem>
  </MDCOutboundStockItem>
</MDCOutboundStockItemDetail>

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/05/20 14:52:11",
  "StatusCode": 1,
  "ErrorMessage": "sample string 2",
  "Result": {}
}

application/xml, text/xml

Sample:
<VCAPIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOPWAAPI.Model">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result />
  <StatusCode>1</StatusCode>
</VCAPIResponse>