This documentation has moved

XML API documentation can now be found at developer.openprovider.com. This page will remain available until September 2026, but will no longer be updated.

The XML API itself is not changing. Your existing integration continues to work.

API Module Domain retrieveCustomerAdditionalDataDomainRequest

From Openprovider API documentation

(Difference between revisions)
Jump to: navigation, search
WikiSysop (Talk | contribs)
(Created page with '==Module Domain > Retrieve Customer Additional Data== {| border="1" cellpadding="4" |- style="background-color:#BBBBBB;" |'''Module''' |domain |- style="background-color:#EEEEEE;…')

Current revision as of 06:56, 20 June 2016

Contents

Module Domain > Retrieve Customer Additional Data

Module domain
Command name retrieveCustomerAdditionalDataDomainRequest
Use Retrieve TLD specific customer additional data & fields required for domain registration
Input
  • domain (only extension in [name,extension] array is mandatory)
Output Overview of extension details:
  • name (field name)
  • required (if the field is mandatory or optional)
  • type (field type, e.g. text, check, select, multiselect)
  • options (possible values & value descriptions)
  • description

Examples

Using PHP class

$request = new OP_Request;
$request->setCommand('retrieveCustomerAdditionalDataDomainRequest')
  ->setAuth(array('username' => 'username', 'password' => 'password'))
  ->setArgs(array(
    'domain' => array(
      'extension' => 'us'
    ),
  ));

Raw XML

Please note that newlines and leading spaces are added only for readability. Those whitespaces should be excluded from your XML command before sending it to Openprovider.

<?xml version="1.0" encoding="UTF-8"?>
<openXML>
  <credentials>
    <username>username</username>
    <password>password</password>
  </credentials>
  <retrieveCustomerAdditionalDataDomainRequest>
    <domain>
      <extension>us</extension>
    </domain>
  </retrieveCustomerAdditionalDataDomainRequest>
</openXML>
<?xml version="1.0" encoding="UTF-8"?>
<openXML>
  <reply>
    <code>0</code>
    <desc></desc>
    <data>
      <array>
        <item>
          <name>nexusCategory</name>
          <description>Nexus category</description>
          <required>1</required>
          <type>select</type>
          <options>
            <array>
              <item>
                <value>C11</value>
                <description>Natural person who is a United States citizen</description>
              </item>
              <item>
                <value>C12</value>
                <description>Natural person whois a permanent resident of the United States of America or any of its possessions or territories. A U.S. Organization incorporated within one of the fifty (50) U.S. States, the District of Columbia, or any of the U.S. Possessions or territories or organized or otherwise constituted under the laws of a state of the United States of America, the District of Columbia or any of its possessions or territories or a U.S. Federal, state, or local government entity or a political subdivision thereof.</description>
              </item>
              <item>
                <value>C21</value>
                <description>C21 - U.S. Organization incorporated within one of the 50 states or a U.S. Territory. An entity or organization that has a bona fide presence in the Unite States of America or any of its possessions or territories.</description>
              </item>
              <item>
                <value>C31</value>
                <description>Regularly engages in lawful activities (sales of goods or services or other business, commercial or non-commercial, including not-for-profit relations in the United States).</description>
              </item>
              <item>
                <value>C32</value>
                <description>Entity has an office or other facility in the US.</description>
              </item>
            </array>
          </options>
        </item>
      </array>
    </data>
  </reply>
</openXML>
Views
Personal tools