WSC_GetPricing


Definition

Retrieve this account’s wholesale costs or retail prices for Web Site Creator (WSC), and the URL for our WSC demo.

Usage

Use this command to retrieve the prices this account pays for WSC, or the prices this account charges retail customers.

Use this command to retrieve the URL to our WSC demo.

Package names that begin with WSC offer WSC as part of a Web hosting package—your customer can build one Web site using the Web Site Creator wizard and in addition have up to 49 other Web sites hosted through the same package. Package names that begin with LWSC offera single Web site: the one built in the WSC wizard.

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?tab=webhosting

In the Web Site Creator Pricing table, the My Total Cost (WSC + Hosting) column shows the same return values as the WSC_GetPricing command used in the wholesale price mode. The Total Price (WSC + Hosting) column shows the return values when GetRetail=true.

https://resellertest.enom.com/myaccount/ProductPricing.asp?tab=domainaddons

In the web tools table, the Your Cost column shows the same return values as the WSC_GetPricing command used in the wholesale price mode. The Price column shows the return values when GetRetail=true.

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 Account login ID 20
PW Required Account password 20
GetRetail Optional Get prices this account charges to retail customers. Permitted value is true. Any other value, or not using this parameter, returns prices this account pays for WSC. 4
Language Optional;
default is Eng
In what language should the WSC wizard launch? Permitted values are:
Eng English
Fre French
Ger German
Ita Italian
Por Portuguese
Spa Spanish
4
ResponseType Optional Format of response. Permitted values are Text (default), HTML, or XML. 4

 

Returned parameters and values

Parameter Description
WSCBasicPrice This account’s wholesale cost or retail price for the WSC Basic package, as an add-on to a Web hosting package
WSCFullPrice This account’s wholesale cost or retail price for the WSC Full package, as an add-on to a Web hosting package
WSCECommercePrice This account’s wholesale cost or retail price for the WSC eCommerce package, as a stand-alone product
LWSCBasicPrice This account’s wholesale cost or retail price for the WSC Basic stand-alone package (supports only the WSC Web site)
LWSCFullPrice This account’s wholesale cost or retail price for the WSC Full stand-alone package
LWSCECommercePrice This account’s wholesale cost or retail price for the WSC eCommerce standalone package
WSCDemoURL URL of our Web Site Creator demo
Command Name of command executed
ErrCount The number of errors if any occurred. If greater than 0, check the Err(1 to ErrCount) values.
ErrX 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