Examples for domain transfer

Request

The period, if present, must be 1 year.

<?xml version='1.0' encoding='UTF-8' standalone='no' ?>

<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>

<OPS_envelope>

   <header>

      <version>0.9</version>

   </header>

   <body>

      <data_block>

         <dt_assoc>

            <item key="protocol">XCP</item>

            <item key="action">SW_REGISTER</item>

            <item key="object">DOMAIN</item>

            <item key="registrant_ip">10.0.10.19</item>

            <item key="attributes">

               <dt_assoc>

                  <item key="auto_renew"/>

                  <item key="link_domains">0</item>

                  <item key="f_parkp">Y</item>

                  <item key="custom_tech_contact">0</item>

                  <item key="contact_set">

                     ... see "Contact Set"

                  </item>

                  <item key="reg_domain">example-nsi.com</item>

                  <item key="domain">transfer-example-nsi.com</item>

                  <item key="period">1</item>

                  <item key="reg_type">transfer</item>

                  <item key="reg_username">example</item>

                  <item key="reg_password">example</item>

                  <item key="encoding_type"/>

                  <item key="custom_transfer_nameservers">0</item>

               </dt_assoc>

            </item>

         </dt_assoc>

      </data_block>

   </body>

</OPS_envelope>

Response

This response shows the result of a successful response to a transfer order. The transfer is not complete at this point – rather, it has only been started. If the domain's current whois information is accurate, then the current domain owner receives an email from OpenSRS requesting that they approve or reject the transfer request.

<?xml version='1.0' encoding='UTF-8' standalone='no' ?>

<!DOCTYPE OPS_envelope SYSTEM 'ops.dtd'>

<OPS_envelope>

   <header>

      <version>0.9</version>

   </header>

   <body>

      <data_block>

         <dt_assoc>

            <item key="protocol">XCP</item>

            <item key="action">REPLY</item>

            <item key="object">DOMAIN</item>

            <item key="response_code">200</item>

            <item key="response_text">Transfer request has been successfully sent</item>

            <item key="is_success">1</item>

            <item key="attributes">

               <dt_assoc>

                  <item key="registration_text">Transfer request has been successfully sent</item>

                  <item key="registration_code">200</item>

                  <item key="id">3735288</item>

                  <item key="transfer_id">1234</item>

               </dt_assoc>

            </item>

         </dt_assoc>

      </data_block>

   </body>

</OPS_envelope>