Transferring a Customer Account to a New Owner

The change-owner operation is used to transfer customer accounts to a new owner (provider).

Next in this section:

Request Packet Structure

Response Packet Structure

Samples

 

Request Packet Structure

A request XML packet upgrading customer accounts to reseller accounts includes the change-owner node:

<packet>
<customer>
   <change-owner>
   ...
   </change-owner>
</customer>
</packet>

 

The change-owner node does not have a separate type, it is nested within the ClientTypeRequest complex type (client_input.xsd). Its graphical representation is as follows:

 

Response Packet Structure

The change-owner node of the output XML packet is structured as follows:

 

Samples

The request packet transferring a customer account to another reseller account looks as follows:

<packet>
<customer>
   <change-owner>
      <filter>
        <login>customer1</login> 
      </filter>
      <new-owner-login>admin</new-owner-login>
      <ipV4-address>10.52.47.125</ipV4-address>
      <plan-name>Admin Simple</plan-name>
 </change-owner>
</customer>
</packet>

Response:

<packet version="1.6.7.0">
<customer>
   <change-owner>
       <result>
          <status>ok</status>
          <filter-id>customer1</filter-id>
          <id>5</id>
       </result>
   </change-owner>
</customer>
</packet>