Skip to content

QueryPriceHistoryList

QueryPriceHistoryList can be used to show the history of prices for the own account or for subreseller accounts. This is decided by the usage of the registrar/pricescale parameter. If no registrar/pricescale parameter is given, it will show the prices for the own account. Otherwise the prices of the subreseller or pricescale will be shown. Also registrar=* and status=pending can be used to show all upcoming changes for all pricescales and subresellers at once. QueryPriceHistoryList supports also the usage of zone=* which will show all zones and services at once.

Possible Gateways

The following parameters are standard parameters for this command.

Command
COMMAND = QueryPriceHistoryList
ZONE = (TEXT)
Response
code = (INT)
description = (TEXT)
property[PRICESCALE][n] = (TEXT)
property[REGISTRAR][n] = (TEXT)
property[SERVICE][n] = (TEXT)
property[TYPE][n] = (TEXT)
property[ZONE][n] = (TEXT)
property[PERIOD][n] = (TEXT)
property[CHANGEDATE][n] = (TEXT)
property[COMMENT][n] = (TEXT)
property[OPERATOR][n] = (TEXT)
property[PERIODTYPE][n] = (TEXT)
property[STATUS][n] = (TEXT)
property[SETUP][n] = (DECIMAL)
property[ANNUAL][n] = (DECIMAL)
property[TRANSFER][n] = (DECIMAL)
property[RESTORE][n] = (DECIMAL)
property[TRADE][n] = (DECIMAL)
property[APPLICATION][n] = (DECIMAL)
property[CURRENCY][n] = (TEXT)
property[COUNT][0] = (INT)
property[FIRST][0] = (INT)
property[LAST][0] = (INT)
property[LIMIT][0] = (INT)
property[TOTAL][0] = (INT)
PRICESCALEThe pricescale for this dataset
REGISTRARThe registrar for this dataset
SERVICEThe zone for this dataset
TYPEThe zone for this dataset
ZONEThe zone for this dataset
CHANGEDATEThe date of the modification
COMMENTThe comment for the modification
OPERATORThe user who made the modification
PERIODTYPEIs the period monthly or yearly
STATUSThe status of the modification
SETUPSetup fee charged for this zone
ANNUALAnnual fee charged for this zone
TRANSFERTransfer fee charged for this zone
RESTORERestore fee charged for this zone (if available)
TRADETrade fee charged for this zone (if available)
APPLICATIONApplication fee charged for this zone (if available)
CURRENCYThe currency, this zone will be accounted in
COUNTTotal number of accountings shown
FIRSTPointer to the first shown ID
LASTPointer to the last shown ID
LIMITThe limit given in the command
TOTALTotal number of existing accountings

The following parameters are optional for this command.

Command
COMMAND = QueryPriceHistoryList
FIRST = (INT)
LIMIT = (INT)
MAXDATE = (DATE)
MINDATE = (DATE)
ORDER = ASC|DESC
ORDERBY = CHANGEDATE
PERIOD = (INT)
PERIODTYPE = (TEXT)
PRICESCALE = (TEXT)
REGISTRAR = (TEXT)
SERVICE = (TEXT)
STATUS = ACTIVE|PENDING
TYPE = (TEXT)
INDIVIDUAL = 0|1
WIDE = 0|1
GENERATELIST = 0|1
SENDLISTEMAIL = (EMAILS)
Response
code = (INT)
description = (TEXT)
property[PRICESCALE][n] = (TEXT)
property[REGISTRAR][n] = (TEXT)
property[SERVICE][n] = (TEXT)
property[TYPE][n] = (TEXT)
property[ZONE][n] = (TEXT)
property[PERIOD][n] = (TEXT)
property[CHANGEDATE][n] = (TEXT)
property[COMMENT][n] = (TEXT)
property[OPERATOR][n] = (TEXT)
property[PERIODTYPE][n] = (TEXT)
property[STATUS][n] = (TEXT)
property[SETUP][n] = (DECIMAL)
property[ANNUAL][n] = (DECIMAL)
property[TRANSFER][n] = (DECIMAL)
property[RESTORE][n] = (DECIMAL)

property[TRADE][n] = (DECIMAL) property[APPLICATION][n] = (DECIMAL) property[CURRENCY][n] = (TEXT) property[COUNT][0] = (INT) property[FIRST][0] = (INT) property[LAST][0] = (INT) property[LIMIT][0] = (INT) property[TOTAL][0] = (INT)

FIRSTStart the output of results from this item (optional)
LIMITShow only this many items in the response (optional)
MAXDATEAll changes before the given date (optional)
MINDATEAll changes after the given date (optional)
ORDEROptional
ORDERBYSort the result by this column (optional)
PERIODThe period of the prices that should be shown. default is 1. (optional)
PERIODTYPEThe periodtype of the prices that should be shown. default is YEAR. (optional)
PRICESCALEThe prices of the pricescale that will be selected (optional)
REGISTRARThe individual prices of the registrar that will be selected (optional)
SERVICEThe service that will be selected (optional)
STATUSShows only active or pending price changes. Default is both. (optional)
TYPEThe tpye of service that will be selected (optional)
INDIVIDUALThe own individual prices will be selected. Otherwise the own pricesale prices will be selected.
(optional)
WIDEOptional
ZONEThe zone that will be selected (optional)
GENERATELISTShow result on screen|Generate a CSV File and upload to ftp (optional)
SENDLISTEMAILEmail address where the CSV will be sent to (optional)