Subreg EPP server documentation
[All Commands]

Renew domain

Creates an order to renew currently existing domain for given period of time, default period is 1 year. For ensuring that this command won't be sent more times it's mandatory to specify current expiry date, which can be acquired using <info> request.

Input fields

  • name - full domain name (required)
  • curExpDate - current expiry date (required)
  • period - period of time to prolong registration

Output fields

  • order-id - number of the order (required)

Example


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
 <command>
  <renew>
   <domain:renew xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
    <domain:name>yourdomain.cz</domain:name>
    <domain:curExpDate>2014-02-18</domain:curExpDate>
    <domain:period unit="y">1</domain:period>
   </domain:renew>
  </renew>
  <clTRID>SUBREG20120218T024149Z232</clTRID>
 </command>
</epp>

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  <response>
   <result code="1001">
    <msg lang="en">Command completed successfully; action pending</msg>
   </result>
   <resData>
    <order:creData xmlns:order="http://www.subreg.cz/epp/order-1.0">
     <order:id>856276</order:id>
    </order:creData>
   </resData>
   <trID>
    <clTRID>SUBREG20120218T024149Z232</clTRID>
    <svTRID>SUBREG20120218T024150Z324</svTRID>
   </trID>
  </response>
</epp>

Subreg EPP server documentation - version 1.0