WSC_Update_Ops


Definition

Upgrade Web Site Creator.

Usage

Use this command to upgrade Web Site Creator stand-alone accounts (Web hosting accounts with account names using format LWSCNNNxNNNN), that are at least Lite Basic. The following table lays out the upgrade path for WSC stand-alone products (Lite, Lite Basic, Lite Full, and Lite eCommerce):

IF YOU HAVE: AND WANT: AND PURCHASE 
IN THIS WAY:
USE THIS 
COMMAND:
No WSC WSC Lite No purchase necessary for WSC Lite ServiceSelect
No WSC Lite Basic
Lite Full
Lite eCommerce
Real time PurchaseServices
No WSC Lite Basic
Lite Full
Lite eCommerce
Shopping cart ServiceSelect to create Lite, then AddToCart to upgrade to higher plan
Lite Basic
Lite Full
Upgrade to a higher plan Billing amount is deducted from your account balance WSC_Update_Ops in the last month of the current billing cycle
Lite Basic
Lite Full
Lite eCommerce
Change to a different billing cycle Billing amount is deducted from your account balance WSC_Update_Ops in the last month of the current billing cycle

To upgrade Web Site Creator within a Web hosting account (Web hosting accounts with names that do not begin with LWSC), use the WebHostSetCustomPackage command. You cannot downgrade Web Site Creator from a higher to a lower version.

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/websitecreator/websitecreator_manage.asp

The upgrade now button calls the WSC_Update_Ops command.

Constraints

The query must meet the following requirements:

  • The login ID and password must be valid.
  • The Web Site Creator account must belong to this domain name account.
  • You can only use this command in the last 30 days of the current billing cycle.
  • You can only upgrade Lite Basic and Lite Full plans with this command. See Usage section above.
  • You can change the billing cycle with this command, with or without upgrading the plan.

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
Account Required Name of LWSC account. Must be an account name with format LWSCNNNxNNNN 14
NewLWSCPlan Optional; default is current plan Level of service you want. Your current plan must be at least Lite Basic (you must use PurchaseServices or AddToCart to upgrade from Lite to a higher plan). Permitted values are:
LWSCBasic
LWSCFull
LWSCECommerce
You can upgrade the plan when you are within 30 days of the next billing date.
2
LWSCBillCycle Optional; default is current billing cycle Billing period, in months. Permitted values are 1, 3, 6, or 12. You can change the billing period when you are within 30 days of the next billing date. 2
ResponseType Optional Format of response. Permitted values are Text (default), HTML, or XML. 4

 

Returned parameters and values

Enter Returned parameter and values here.

Parameter Description
AccountStatusID 1 indicates a valid, active account.
Successful True indicates that the query executed successfully
PlanUpdated True indicates that the LWSC plan was successfully upgraded
BillingCycleUpdated True indicates that the LWSC billing cycle was successfully changed
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