Megaventory API v2017a

<back to all web services

ProductBundleGetAll

The following routes are available for this service:
GET POST/Product/ProductBundleGetAllGets all product bundles

To override the Content-type in your clients HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /jsv/reply/ProductBundleGetAll HTTP/1.1 
Host: api.megaventory.com 
Content-Type: text/jsv
Content-Length: length

{
	APIKEY: String,
	ProductBundleIDList: 
	[
		0
	],
	ProductBundleSKUList: 
	[
		String
	],
	IncludedProductIDList: 
	[
		0
	],
	IncludedProductSKUList: 
	[
		String
	],
	showDeleted: showOnlyUndeleted
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	mvProductBundles: 
	[
		{
			BundleProductID: 0,
			BundleProductSKU: String,
			BundleProductDescription: String,
			BundleProductBarcode: String,
			BundleProductLongDescription: String,
			BundleProductCategoryID: 0,
			BundleProductCategory: 
			{
				ProductCategoryID: 0,
				ProductCategoryName: String,
				ProductCategoryDescription: String
			},
			BundleProductUnitOfMeasurement: String,
			BundleProductWeight: 0,
			BundleProductLength: 0,
			BundleProductBreadth: 0,
			BundleProductHeight: 0,
			BundleProductImageURL: String,
			BundleProductComments: String,
			BundleProductCustomField1: String,
			BundleProductCustomField2: String,
			BundleProductCustomField3: String,
			BundleProductCustomField4: String,
			BundleProductCustomField5: String,
			BundleProductCustomField6: String,
			BundleProductCustomField7: String,
			BundleProductCustomField8: String,
			BundleProductCustomField9: String,
			BundleProductCustomField10: String,
			BundleProductCustomField11: String,
			BundleProductCustomField12: String,
			BundleProductCustomField13: String,
			BundleProductCustomField14: String,
			BundleProductCustomField15: String,
			BundleProductCustomField16: String,
			BundleProductCustomField17: String,
			BundleProductCustomField18: String,
			BundleProductCustomField19: String,
			BundleProductCustomField20: String,
			BundleProductOption1: False,
			BundleProductOption2: False,
			BundleProductOption3: False,
			BundleProductOption4: False,
			BundleProductOption5: False,
			BundleProductOption6: False,
			BundleProductOption7: False,
			BundleProductOption8: False,
			BundleProductOption9: False,
			BundleProductOption10: False,
			IncludedProducts: 
			[
				{
					ProductID: 0,
					ProductSKU: String,
					QuantityInBundle: 0,
					PriceInBundle: 0,
					RelatedBundleID: 0,
					RelatedBundleSKU: String
				}
			],
			BundleTotalPrice: 0
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String
			}
		]
	},
	InternalErrorCode: String
}