TS_AutoRenew


Definition

Set the Auto Renew flag for a Trust Seal subscription.

Usage

Use this command to set the Auto Renew flag for a Trust Seal subscription.

In the eNom web site, we only display the Auto Renew setting for subscriptions in status Service Active, but our API allows you to set the Auto Renew flag at any time.

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/web-site-seals/manage.aspx

For any Trust Seal subscription with status Service Active, click the link in the Domain column. The current Auto Renew setting displays, and the Save Changes button launches the TS_AutoRenew command.

Constraints

The query must meet the following requirements:

  • The login ID and password must be valid.
  • The Trust Seal subscription must belong to this login ID.

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
TSID Required Identification number of the Trust Seal subscription for which you want to set the Auto Renew flag. To retrieve TSID numbers, use the TS_GetAccounts command 8
AutoRenew Optional; default is True Setting to apply to the Auto Renew flag for this Trust Seal subscription. Permitted values are:
True Automatically renew this subscription
False Allow this subscription to expire
5
ResponseType Optional Format of response. Permitted values are Text (default), HTML, or XML. 4

 

Returned parameters and values

 

Parameter Description
TSID Identification number for the Trust Seal subscription being set with this query string
AutoRenew New setting for the Auto Renew flag for this Trust Seal subscription
Success Success status of this query string
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