To know if a domain renews itself when it expires.
Inputs | Description | Type | Regular expression | Mandatory |
name | Domain name | String | [A-Za-z0-9-\.]{5,68} | Yes |
Outputs | Description | Possible values |
name | Domain name | |
autorenew | Automatic renew | True if the domain is in autorenew and False otherwise |
Command
<api> […] <command> <domain_getautorenew> <name>NAMEBAYTEST.CN</name> </domain_getautorenew> </command> </api> |
Response
<?xml version="1.0" encoding="utf-8"?> <api> <response> <trID>NBAY-API-ce52b9806032017074456</trID> <result code="200"> <msg>command completed successfully</msg> </result> </response> <resData> <domain_getARData> <name>NAMEBAYTEST.CN</name> <auto_renew>True</auto_renew> </domain_getARData> </resData> </api> |