POST api/Outbound/AddUpdateOutboundStockItems?flag={flag}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| flag | integer |
Required |
Body Parameters
OutboundStockItemDetail| Name | Description | Type | Additional 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,
"ReturnQty": 9,
"ReturnReason": "sample string 10",
"DamagedQty": 11,
"ExpiryDate": "2025-10-23T08:06:13.0885117+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"
},
{
"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-10-23T08:06:13.0885117+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"
}
]
}
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>
<ReturnQty>9</ReturnQty>
<ReturnReason>sample string 10</ReturnReason>
<DamagedQty>11</DamagedQty>
<ExpiryDate>2025-10-23T08:06:13.0885117+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>
<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-10-23T08:06:13.0885117+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>
</OutboundStockItem>
</OutboundStockItemDetail>
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/10/23 08:06:13",
"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>