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,
        "DamagedQty": 9,
        "ExpiryDate": "2025-04-28T14:02:22.4108236+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"
      },
      "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,
        "DamagedQty": 9,
        "ExpiryDate": "2025-04-28T14:02:22.4108236+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"
      },
      "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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <MDCOutboundStockItem>
    <MDCOutboundStockItem>
      <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-28T14:02:22.4108236+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>
      <CustomerName>sample string 1</CustomerName>
      <CustomerCode>sample string 2</CustomerCode>
      <ShippingCode>sample string 3</ShippingCode>
      <VehicleNumber>sample string 4</VehicleNumber>
      <DriverName>sample string 5</DriverName>
      <DriverPhone>sample string 6</DriverPhone>
      <Transporter>sample string 7</Transporter>
      <Notes>sample string 8</Notes>
    </MDCOutboundStockItem>
    <MDCOutboundStockItem>
      <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-28T14:02:22.4108236+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>
      <CustomerName>sample string 1</CustomerName>
      <CustomerCode>sample string 2</CustomerCode>
      <ShippingCode>sample string 3</ShippingCode>
      <VehicleNumber>sample string 4</VehicleNumber>
      <DriverName>sample string 5</DriverName>
      <DriverPhone>sample string 6</DriverPhone>
      <Transporter>sample string 7</Transporter>
      <Notes>sample string 8</Notes>
    </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/04/28 14:02:22",
  "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>