Megaventory API v2017a

The following operations are supported. For a formal definition, please review the Service XSD.

Operations:

AccountSettingsGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
APIKeyGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
CompanyDeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
CompanyGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
CompanyUndeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
CompanyUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ContactPersonDeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ContactPersonGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ContactPersonUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
CurrencyDeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
CurrencyGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
CurrencyUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
CustomReportGetDataXMLJSONJSVCSVSOAP 1.1SOAP 1.2
DashboardBoxGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
DashboardBoxGetDataXMLJSONJSVCSVSOAP 1.1SOAP 1.2
DiscountDeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
DiscountGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
DiscountUndeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
DiscountUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
DocumentGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
DocumentsUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
DocumentTypeDeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
DocumentTypeGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
DocumentTypeUndeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
DocumentTypeUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
DocumentUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
EventSubscriptionAddXMLJSONJSVCSVSOAP 1.1SOAP 1.2
EventSubscriptionDeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
IntegrationUpdateDeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
IntegrationUpdateDeleteAllEntitiesByApplicationXMLJSONJSVCSVSOAP 1.1SOAP 1.2
IntegrationUpdateDeleteAllEntitiesByEntityNameXMLJSONJSVCSVSOAP 1.1SOAP 1.2
IntegrationUpdateGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
IntegrationUpdateUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
InventoryLocationDeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
InventoryLocationGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
InventoryLocationStockAlertAndSublocationsUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
InventoryLocationStockGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
InventoryLocationStockProductStockUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
InventoryLocationUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
PricingRuleDeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
PricingRuleGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
PricingRuleUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ProductBOMDeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ProductBOMGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ProductBOMGetByMaterialsXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ProductBOMUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ProductBundleDeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ProductBundleGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ProductBundleGetAllXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ProductBundleUndeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ProductBundleUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ProductCategoryDeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ProductCategoryGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ProductCategoryUndeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ProductCategoryUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ProductClientDeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ProductClientGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ProductClientUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ProductDeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ProductGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ProductPriceGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ProductSupplierDeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ProductSupplierGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ProductSupplierUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ProductUndeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ProductUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
PurchaseOrderCancelXMLJSONJSVCSVSOAP 1.1SOAP 1.2
PurchaseOrderGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
PurchaseOrdersUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
PurchaseOrderUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ResourceRequestXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ResourcesXMLJSONJSVCSVSOAP 1.1SOAP 1.2
SalesOrderCancelXMLJSONJSVCSVSOAP 1.1SOAP 1.2
SalesOrderGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
SalesOrdersUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
SalesOrderUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
SalesQuoteGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
SalesQuotesUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
SalesQuoteUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ShippingProviderDeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ShippingProviderGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
ShippingProviderUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
SupplierClientDeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
SupplierClientGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
SupplierClientUndeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
SupplierClientUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
SupplierStockGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
SupplierStockUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
TaxDeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
TaxGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
TaxUndeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
TaxUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
UserGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
WeightUnitDeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
WeightUnitGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
WeightUnitUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2
WorkOrderAllocateMaterialsXMLJSONJSVCSVSOAP 1.1SOAP 1.2
WorkOrderCancelXMLJSONJSVCSVSOAP 1.1SOAP 1.2
WorkOrderCloseXMLJSONJSVCSVSOAP 1.1SOAP 1.2
WorkOrderDeleteXMLJSONJSVCSVSOAP 1.1SOAP 1.2
WorkOrderDeleteFinishedGoodReceiptXMLJSONJSVCSVSOAP 1.1SOAP 1.2
WorkOrderGetXMLJSONJSVCSVSOAP 1.1SOAP 1.2
WorkOrderReceiveFinishedGoodXMLJSONJSVCSVSOAP 1.1SOAP 1.2
WorkOrderReOpenXMLJSONJSVCSVSOAP 1.1SOAP 1.2
WorkOrderReturnMaterialsXMLJSONJSVCSVSOAP 1.1SOAP 1.2
WorkOrderUpdateXMLJSONJSVCSVSOAP 1.1SOAP 1.2

Examples:

GET examples (JSON)

The following calls the ProductGet endpoint. All the products will be returned.

https://api.megaventory.com/v2017a/json/reply/ProductGet?APIKEY=YOUR_API_KEY_HERE

The following call uses the Filters attribute to call the ProductGet endpoint by quering the ProductSKU fieldname with a SearchValue of AT1FX01W15. The product that equals 'AT1FX01W15' will be returned.

https://api.megaventory.com/v2017a/json/reply/ProductGet?APIKEY=YOUR_API_KEY_HERE&Filters={FieldName:ProductSKU,SearchValue:AT1FX01W15}

The following call uses the Filters attribute to call the ProductGet endpoint by quering the ProductSKU fieldname with a SearchOperator of Contains and a SearchValue of FX01W. The products that contain 'FX01W' will be returned.

https://api.megaventory.com/v2017a/json/reply/ProductGet?APIKEY=YOUR_API_KEY_HERE&Filters={FieldName:ProductSKU,SearchOperator:Contains,SearchValue:FX01W}

The following call uses the Filters attribute with multiple filters to call the CurrencyGet endpoint by quering the CurrencyDescription fieldname with a SearchOperator of Contains and a SearchValue of EUR. Another subsequent filter uses the CurrencyCode fieldname with a SearchOperator of Equals and a SearchValue of USD with the AndOr operator set to Or. The currencies that contain 'EUR' in the currency description or equal 'USD' in the currency code fields will be returned.

https://api.megaventory.com/v2017a/json/reply/CurrencyGet?APIKEY=YOUR_API_KEY_HERE&Filters=[{FieldName:CurrencyDescription,SearchOperator:Contains,SearchValue:EUR},{AndOr:Or,FieldName:CurrencyDescription,SearchOperator:Equals,SearchValue:USD},{AndOr:Or,FieldName:CurrencyCode,SearchOperator:Equals,SearchValue:USD}]

The following call uses the Filters attribute with a Group property to call the ProductClientGet endpoint by quering the ProductClientID fieldname with a SearchOperator of Equals and a SearchValue of 16. Then, a Group starts with the property StartGroup and three products are searched with Or operators. The query searches for ProductID = 102 Or 114 Or 116. Finally the Group ends with the property EndGroup

https://api.megaventory.com/v2017a/json/reply/ProductClientGet?APIKEY=YOUR_API_KEY_HERE&Filters=[{"AndOr": "And","FieldName": "ProductClientID","SearchOperator": "Equals","SearchValue": "16"},{"Group": "StartGroup","AndOr": "And","FieldName": "ProductID","SearchOperator": "Equals","SearchValue": "102"},{"AndOr": "Or","FieldName": "ProductID","SearchOperator": "Equals","SearchValue": "114"},{"Group": "EndGroup","AndOr": "Or","FieldName": "ProductID","SearchOperator": "Equals","SearchValue": "116"}]

XSDS:

WSDLS: