HTTP + SOAP12
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /soap12 HTTP/1.1
Host: api.megaventory.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<ProductBundleUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Megaventory.APIEndpoints.Operations">
<APIKEY>String</APIKEY>
<ProductBundleDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/Megaventory.Models.DTOs">
<d2p1:BundleProductBarcode>String</d2p1:BundleProductBarcode>
<d2p1:BundleProductBreadth>0</d2p1:BundleProductBreadth>
<d2p1:BundleProductCategory xmlns:d3p1="https://api.megaventory.com/types">
<d3p1:ProductCategoryID>0</d3p1:ProductCategoryID>
<d3p1:ProductCategoryName>String</d3p1:ProductCategoryName>
<d3p1:ProductCategoryDescription>String</d3p1:ProductCategoryDescription>
</d2p1:BundleProductCategory>
<d2p1:BundleProductCategoryID>0</d2p1:BundleProductCategoryID>
<d2p1:BundleProductComments>String</d2p1:BundleProductComments>
<d2p1:BundleProductCustomField1>String</d2p1:BundleProductCustomField1>
<d2p1:BundleProductCustomField10>String</d2p1:BundleProductCustomField10>
<d2p1:BundleProductCustomField11>String</d2p1:BundleProductCustomField11>
<d2p1:BundleProductCustomField12>String</d2p1:BundleProductCustomField12>
<d2p1:BundleProductCustomField13>String</d2p1:BundleProductCustomField13>
<d2p1:BundleProductCustomField14>String</d2p1:BundleProductCustomField14>
<d2p1:BundleProductCustomField15>String</d2p1:BundleProductCustomField15>
<d2p1:BundleProductCustomField16>String</d2p1:BundleProductCustomField16>
<d2p1:BundleProductCustomField17>String</d2p1:BundleProductCustomField17>
<d2p1:BundleProductCustomField18>String</d2p1:BundleProductCustomField18>
<d2p1:BundleProductCustomField19>String</d2p1:BundleProductCustomField19>
<d2p1:BundleProductCustomField2>String</d2p1:BundleProductCustomField2>
<d2p1:BundleProductCustomField20>String</d2p1:BundleProductCustomField20>
<d2p1:BundleProductCustomField3>String</d2p1:BundleProductCustomField3>
<d2p1:BundleProductCustomField4>String</d2p1:BundleProductCustomField4>
<d2p1:BundleProductCustomField5>String</d2p1:BundleProductCustomField5>
<d2p1:BundleProductCustomField6>String</d2p1:BundleProductCustomField6>
<d2p1:BundleProductCustomField7>String</d2p1:BundleProductCustomField7>
<d2p1:BundleProductCustomField8>String</d2p1:BundleProductCustomField8>
<d2p1:BundleProductCustomField9>String</d2p1:BundleProductCustomField9>
<d2p1:BundleProductDescription>String</d2p1:BundleProductDescription>
<d2p1:BundleProductHeight>0</d2p1:BundleProductHeight>
<d2p1:BundleProductID>0</d2p1:BundleProductID>
<d2p1:BundleProductImageURL>String</d2p1:BundleProductImageURL>
<d2p1:BundleProductLength>0</d2p1:BundleProductLength>
<d2p1:BundleProductLongDescription>String</d2p1:BundleProductLongDescription>
<d2p1:BundleProductOption1>false</d2p1:BundleProductOption1>
<d2p1:BundleProductOption10>false</d2p1:BundleProductOption10>
<d2p1:BundleProductOption2>false</d2p1:BundleProductOption2>
<d2p1:BundleProductOption3>false</d2p1:BundleProductOption3>
<d2p1:BundleProductOption4>false</d2p1:BundleProductOption4>
<d2p1:BundleProductOption5>false</d2p1:BundleProductOption5>
<d2p1:BundleProductOption6>false</d2p1:BundleProductOption6>
<d2p1:BundleProductOption7>false</d2p1:BundleProductOption7>
<d2p1:BundleProductOption8>false</d2p1:BundleProductOption8>
<d2p1:BundleProductOption9>false</d2p1:BundleProductOption9>
<d2p1:BundleProductSKU>String</d2p1:BundleProductSKU>
<d2p1:BundleProductUnitOfMeasurement>String</d2p1:BundleProductUnitOfMeasurement>
<d2p1:BundleProductWeight>0</d2p1:BundleProductWeight>
<d2p1:BundleTotalPrice>0</d2p1:BundleTotalPrice>
<d2p1:IncludedProducts xmlns:d3p1="https://api.megaventory.com/types">
<d3p1:BundledProductInfo>
<d3p1:PriceInBundle>0</d3p1:PriceInBundle>
<d3p1:ProductID>0</d3p1:ProductID>
<d3p1:ProductSKU>String</d3p1:ProductSKU>
<d3p1:QuantityInBundle>0</d3p1:QuantityInBundle>
<d3p1:RelatedBundleID>0</d3p1:RelatedBundleID>
<d3p1:RelatedBundleSKU>String</d3p1:RelatedBundleSKU>
</d3p1:BundledProductInfo>
</d2p1:IncludedProducts>
</ProductBundleDetails>
<mvRecordAction>Insert</mvRecordAction>
<forceSkuUpdateEvenIfUsedInDocuments>false</forceSkuUpdateEvenIfUsedInDocuments>
<mvInsertUpdateDeleteSourceApplication>String</mvInsertUpdateDeleteSourceApplication>
</ProductBundleUpdate>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<ProductBundleUpdateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Megaventory.APIEndpoints.Operations">
<ProductBundleDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/Megaventory.Models.DTOs">
<d2p1:BundleProductBarcode>String</d2p1:BundleProductBarcode>
<d2p1:BundleProductBreadth>0</d2p1:BundleProductBreadth>
<d2p1:BundleProductCategory xmlns:d3p1="https://api.megaventory.com/types">
<d3p1:ProductCategoryID>0</d3p1:ProductCategoryID>
<d3p1:ProductCategoryName>String</d3p1:ProductCategoryName>
<d3p1:ProductCategoryDescription>String</d3p1:ProductCategoryDescription>
</d2p1:BundleProductCategory>
<d2p1:BundleProductCategoryID>0</d2p1:BundleProductCategoryID>
<d2p1:BundleProductComments>String</d2p1:BundleProductComments>
<d2p1:BundleProductCustomField1>String</d2p1:BundleProductCustomField1>
<d2p1:BundleProductCustomField10>String</d2p1:BundleProductCustomField10>
<d2p1:BundleProductCustomField11>String</d2p1:BundleProductCustomField11>
<d2p1:BundleProductCustomField12>String</d2p1:BundleProductCustomField12>
<d2p1:BundleProductCustomField13>String</d2p1:BundleProductCustomField13>
<d2p1:BundleProductCustomField14>String</d2p1:BundleProductCustomField14>
<d2p1:BundleProductCustomField15>String</d2p1:BundleProductCustomField15>
<d2p1:BundleProductCustomField16>String</d2p1:BundleProductCustomField16>
<d2p1:BundleProductCustomField17>String</d2p1:BundleProductCustomField17>
<d2p1:BundleProductCustomField18>String</d2p1:BundleProductCustomField18>
<d2p1:BundleProductCustomField19>String</d2p1:BundleProductCustomField19>
<d2p1:BundleProductCustomField2>String</d2p1:BundleProductCustomField2>
<d2p1:BundleProductCustomField20>String</d2p1:BundleProductCustomField20>
<d2p1:BundleProductCustomField3>String</d2p1:BundleProductCustomField3>
<d2p1:BundleProductCustomField4>String</d2p1:BundleProductCustomField4>
<d2p1:BundleProductCustomField5>String</d2p1:BundleProductCustomField5>
<d2p1:BundleProductCustomField6>String</d2p1:BundleProductCustomField6>
<d2p1:BundleProductCustomField7>String</d2p1:BundleProductCustomField7>
<d2p1:BundleProductCustomField8>String</d2p1:BundleProductCustomField8>
<d2p1:BundleProductCustomField9>String</d2p1:BundleProductCustomField9>
<d2p1:BundleProductDescription>String</d2p1:BundleProductDescription>
<d2p1:BundleProductHeight>0</d2p1:BundleProductHeight>
<d2p1:BundleProductID>0</d2p1:BundleProductID>
<d2p1:BundleProductImageURL>String</d2p1:BundleProductImageURL>
<d2p1:BundleProductLength>0</d2p1:BundleProductLength>
<d2p1:BundleProductLongDescription>String</d2p1:BundleProductLongDescription>
<d2p1:BundleProductOption1>false</d2p1:BundleProductOption1>
<d2p1:BundleProductOption10>false</d2p1:BundleProductOption10>
<d2p1:BundleProductOption2>false</d2p1:BundleProductOption2>
<d2p1:BundleProductOption3>false</d2p1:BundleProductOption3>
<d2p1:BundleProductOption4>false</d2p1:BundleProductOption4>
<d2p1:BundleProductOption5>false</d2p1:BundleProductOption5>
<d2p1:BundleProductOption6>false</d2p1:BundleProductOption6>
<d2p1:BundleProductOption7>false</d2p1:BundleProductOption7>
<d2p1:BundleProductOption8>false</d2p1:BundleProductOption8>
<d2p1:BundleProductOption9>false</d2p1:BundleProductOption9>
<d2p1:BundleProductSKU>String</d2p1:BundleProductSKU>
<d2p1:BundleProductUnitOfMeasurement>String</d2p1:BundleProductUnitOfMeasurement>
<d2p1:BundleProductWeight>0</d2p1:BundleProductWeight>
<d2p1:BundleTotalPrice>0</d2p1:BundleTotalPrice>
<d2p1:IncludedProducts xmlns:d3p1="https://api.megaventory.com/types">
<d3p1:BundledProductInfo>
<d3p1:PriceInBundle>0</d3p1:PriceInBundle>
<d3p1:ProductID>0</d3p1:ProductID>
<d3p1:ProductSKU>String</d3p1:ProductSKU>
<d3p1:QuantityInBundle>0</d3p1:QuantityInBundle>
<d3p1:RelatedBundleID>0</d3p1:RelatedBundleID>
<d3p1:RelatedBundleSKU>String</d3p1:RelatedBundleSKU>
</d3p1:BundledProductInfo>
</d2p1:IncludedProducts>
</ProductBundleDetails>
<ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:Message>String</d2p1:Message>
<d2p1:StackTrace>String</d2p1:StackTrace>
<d2p1:Errors>
<d2p1:ResponseError>
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:FieldName>String</d2p1:FieldName>
<d2p1:Message>String</d2p1:Message>
</d2p1:ResponseError>
</d2p1:Errors>
</ResponseStatus>
<entityID>0</entityID>
<InternalErrorCode>String</InternalErrorCode>
</ProductBundleUpdateResponse>
</soap12:Body>
</soap12:Envelope>