Adding IP Addresses to Reseller's IP Pool

The ippool-add-ip operation is used to add IP addresses to IP pool of a specified reseller account.

In this chapter:

Request Packet Structure

Response Packet Structure

Samples

 

Request Packet Structure

A request XML packet adding a new IP address to a reseller's IP pool includes the ippool-add-ip node:

<packet>
<reseller>
   <ippool-add-ip>
   ...
   </ippool-add-ip>
</reseller>
</packet>

 

The ippool-add-ip node is specified by the ResellerIpPoolOperation complex type (reseller.xsd). Its graphical representation is as follows:

ResellerIpPoolOperation-add

 

Important: When creating request packets, put nodes and elements in the order they follow in the packet structure.

 

Response Packet Structure

The ippool-add-ip node of the response packet is structured as follows:

ResellerIpPoolOperationOutput-add

 

Possible Errors

1018 - IP address does not exist.

 

Samples

To add the 192.0.2.122 IP address to a reseller’s IP pool, use the following packet:

<packet version="1.6.0.0">
<reseller>
   <ippool-add-ip>
      <reseller-id>12</reseller-id>
      <ip>
         <ip-address>192.0.2.122</ip-address>
      </ip>
    </ippool-add-ip>
</reseller>
</packet>

Response:

<packet version="1.6.0.0">
  <reseller>
    <ippool-add-ip>
      <result>
        <status>ok</status>
        <ip-address>192.0.2.122</ip-address>
      </result>
    </ippool-add-ip>
  </reseller>
</packet>