Command to get product ledger entries and their filter cycles and currencies.
<mbapi> <command><!-- string --></command> <showXMLHeader><!-- boolean --></showXMLHeader> <params> <productUsagePriceID><!-- int --></productUsagePriceID> <productID><!-- int --></productID> <currencyID><!-- string --></currencyID> <productUsagePriceAmount><!-- double --></productUsagePriceAmount> <productUsagePriceAmountGreaterThan><!-- double --></productUsagePriceAmountGreaterThan> <productUsagePriceAmountLessThan><!-- double --></productUsagePriceAmountLessThan> <productUsagePriceAmountGreatest><!-- double --></productUsagePriceAmountGreatest> <productUsagePriceAmountLeast><!-- double --></productUsagePriceAmountLeast> </params> </mbapi>
<mbapi> <header> <remoteSessionID><!-- hex --></remoteSessionID> <errorCount><!-- int --></errorCount> <errors> <error> <title><!-- string --></title> <message><!-- string --></message> </error> </errors> <numResults><!-- int --></numResults> <numAffectedRows><!-- int --></numAffectedRows> </header> <results> <productUsagePrices> <productUsagePrice> <productUsagePriceID><!-- int --></productUsagePriceID> <productID><!-- int --></productID> <currencyID><!-- string --></currencyID> <productUsagePriceAmount><!-- double --></productUsagePriceAmount> </productUsagePrice> </productUsagePrices> </results> </mbapi>
mbapi
MBAPI request document root.
command
Required. The string GetProductUsagePrices.
showXMLHeader
Whether to show an XML header in the results.
params
GetProductUsagePrices parameters.
productUsagePriceID
Product usage price id.
productID
Product ID to get all the ledger entries for.
currencyID
Currency ID the entry will be made in.
productUsagePriceAmount
Product usage price amount.
productUsagePriceAmountGreaterThan
Product usage price amount to be greater than.
productUsagePriceAmountLessThan
Product usage price amount to be less than.
productUsagePriceAmountGreatest
Product usage price amount to be less than or equal to.
productUsagePriceAmountLeast
Product usage price amount to be greater than or equal to.
mbapi
MBAPI response document root.
header
Contains result meta data: data about the result itself.
remoteSessionID
A session ID that may be used for authentication instead of a remote access hash.
errorCount
The number of errors that occured.
errors
Contains any errors that occured.
error
Contains information relating to a single error. Occurs header errorCount times.
title
The title of the error.
message
The error message.
numResults
The number of results that have been returned. For Get commands.
numAffectedRows
The number of rows that have been affected. For Set commands.
results
productUsagePrices
productUsagePrice
productUsagePriceID
Product usage price ID.
productID
Product ID to get all the ledger entries for.
currencyID
Currency ID the entry will be made in.
productUsagePriceAmount
Product usage price amount.