GetAllResellerHostPricing


Definition

Retrieve your wholesale costs and retail selling prices, for all quantity levels, for Web hosting components, for either Windows or Linux.

Usage

Use this command to retrieve a list of your wholesale costs and retail selling prices, for all quantity levels, for all Web hosting components. One run of the command retrieves either Windows or Linux pricing; send the query twice if you want to display both sets of pricing on one page.

A similar command, GetResellerHostPricing, retrieves prices you charge to your subaccounts for Web hosting components.

Availability

All resellers have access to this command.

Implementation on eNom.com

Log on to resellertest.enom.com with Login ID resellid, password resellpw.

https://resellertest.enom.com/myaccount/hostingpricing.asp

The Set Component Unit Pricing table displays the results of the GetAllResellerHostPricing command.

Constraints

The query must meet the following requirements:

The login ID and password must be valid.

Input parameters

Build the query string using this syntax:

https://resellertest.enom.com/interface.asp?
command=nameofcommand&uid=yourloginid&pw=yourpassword
&paramname=paramvalue&nextparamname=nextparamvalue

 

Parameter Status Description Max Size
UID Required Domain name account login ID 20
PW Required Domain name account login password 20
OSType Optional; default is Windows Which set of pricing to retrieve. Permitted values are Windows and Linux 4
ResponseType Optional Format of response. Options are Text (default), HTML, or XML. 4

 

Returned parameters and values

Parameter Description
ResellerQtyX (in HTML and text output, X=1 to PackageCount In the wholesale pricing structure for this account, the lower end of the quantity range for this component. For example, if one ResellerQty=1 and the next largest is ResellerQty=5, the prices in the ResellerQty=1 node apply to quantities of 1 to 4 of each Web hosting component listed in this query string.
RetailQtyX In the retail (selling price) structure for this account, the lower end of the quantity range for this component. For example, if one RetailQty=1 and the next largest is RetailQty=5, the prices in the RetailQty=1 node apply to quantities of 1 to 4 of each Web hosting component listed in this query string.
ResellerBandwidthPriceX Cost to this account (wholesale price) of bandwidth units in this quantity range. Each bandwidth unit contains 20GB.
RetailBandwidthPriceX Selling (retail) price of bandwidth units in this quantity range. Each bandwidth unit contains 20GB.
ResellerWebStoragePriceX Cost to this account (wholesale price) of Web storage units in this quantity range. Each Web hosting unit contains 1GB.
RetailWebStoragePriceX Selling (retail) price of Web storage units in this quantity range. Each Web hosting unit contains 1GB.
ResellerDBStoragePriceX Cost to this account (wholesale price) of SQL database storage units in this quantity range. Each SQL database unit contains 250MB.
RetailDBStoragePriceX Selling (retail) price of SQL database storage units in this quantity range. Each SQL database unit contains 250MB.
ResellerPOPMailPriceX Cost to this account (wholesale price) of POP email units to include in this quantity range. Each POP mail unit contains 10 email boxes, with 100MB storage for each mailbox.
RetailPOPMailPriceX Selling (retail) price of POP email units to include in this quantity range. Each POP mail unit contains 10 email boxes, with 100MB storage for each mailbox.
PackageCount Number of quantity brackets listed in this response
Command Name of command executed
ErrCount The number of errors if any occurred. If greater than 0 check the Err(1 to ErrCount) values.
Err(x) Error messages explaining the failure. These can be presented as is back to the client.
Done True indicates this entire response has reached you successfully.

 

Notes

  • The default response format is plain text. To receive the response in HTML or XML format, send ResponseType=HTML or ResponseType=XML in your request.
  • Check the return parameter ErrCount. If greater than 0 the transaction failed. The parameter Err(ErrCount) can be presented to the client. Otherwise process the returned parameters as defined above.

Example