POST api/Outbound/AddUpdateMDCOutboundStockItems?flag={flag}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| flag | integer |
Required |
Body Parameters
MDCOutboundStockItemDetail| Name | Description | Type | Additional 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-11-01T10:22:24.4476665+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-11-01T10:22:24.4476665+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: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>
<ReturnQty>9</ReturnQty>
<ReturnReason>sample string 10</ReturnReason>
<DamagedQty>11</DamagedQty>
<ExpiryDate>2025-11-01T10:22:24.4476665+00:00</ExpiryDate>
<BusinessName>sample string 13</BusinessName>
<Rate>14</Rate>
<DMSOrderID>15</DMSOrderID>
<PromoQty>16</PromoQty>
<PromoValue>17</PromoValue>
<CustomerName>sample string 18</CustomerName>
<CustomerCode>sample string 19</CustomerCode>
<ShippingCode>sample string 20</ShippingCode>
<CustomerAddress>sample string 21</CustomerAddress>
<CustomerPhone>sample string 22</CustomerPhone>
<OrderLocation>sample string 23</OrderLocation>
<OrderSource>24</OrderSource>
<DeliveryType>sample string 25</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>
<ReturnQty>9</ReturnQty>
<ReturnReason>sample string 10</ReturnReason>
<DamagedQty>11</DamagedQty>
<ExpiryDate>2025-11-01T10:22:24.4476665+00:00</ExpiryDate>
<BusinessName>sample string 13</BusinessName>
<Rate>14</Rate>
<DMSOrderID>15</DMSOrderID>
<PromoQty>16</PromoQty>
<PromoValue>17</PromoValue>
<CustomerName>sample string 18</CustomerName>
<CustomerCode>sample string 19</CustomerCode>
<ShippingCode>sample string 20</ShippingCode>
<CustomerAddress>sample string 21</CustomerAddress>
<CustomerPhone>sample string 22</CustomerPhone>
<OrderLocation>sample string 23</OrderLocation>
<OrderSource>24</OrderSource>
<DeliveryType>sample string 25</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| Name | Description | Type | Additional 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/11/01 10:22:24",
"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>