GetPrices

Description

This command is used to fetch prices. Something similar to the following XML should be passed to dispatchMBAPI() when you want to call the GetPrices command:

Attributes

package
modernbill
subpackage
mbapi
author
Ben Woolley

Example Request

	<mbapi>
		<command><!-- None --></command>
		<showXMLHeader><!-- None --></showXMLHeader>
		<params>
			<productPriceIDs>
				<productPriceID><!-- int --></productPriceID>
			</productPriceIDs>
			<productPriceAddonIDs>
				<productAddonPriceID><!-- string --></productAddonPriceID>
			</productPriceAddonIDs>
			<productIDs>
				<productID><!-- int --></productID>
			</productIDs>
			<productAddonIDs>
				<productAddonID><!-- string --></productAddonID>
			</productAddonIDs>
			<sortDir><!-- None --></sortDir>
			<sortColumn><!-- None --></sortColumn>
			<recordOffset><!-- None --></recordOffset>
			<numRecords><!-- None --></numRecords>
		</params>
	</mbapi>

		

Example Response

None
		

Request Elements

mbapi
Type
None
Description
None
Children
command
Type
None
Description
None
showXMLHeader
Type
None
Description
None
params
Type
None
Description
None
Children
productPriceIDs
Type
group
Description

This is a container tag that holds productPriceID tags.

Children
productPriceID
Type
int
Description

The ID of a product price to fetch.

productPriceAddonIDs
Type
group
Description

This is a container tag that holds productPriceAddonID tags.

Children
productAddonPriceID
Type
string
Description

The ID of a product addon price to fetch.

productIDs
Type
group
Description

This is a container tag that holds productID tags.

Children
productID
Type
int
Description

The ID of a product to fetch.

productAddonIDs
Type
group
Description

This is a container tag that holds productAddonID tags.

Children
productAddonID
Type
string
Description

The ID of a product addon to fetch.

sortDir
Type
None
Description
None
sortColumn
Type
None
Description
None
recordOffset
Type
None
Description
None
numRecords
Type
None
Description
None

Response Elements

None