API Module Domain retrieveAdditionalDataDomainRequest

From Openprovider API documentation

Jump to: navigation, search


Module Domain > Retrieve Additional Data

Module domain
Command name retrieveAdditionalDataDomainRequest
Use Retrieve additional data & fields required to register domain in specific TLD
  • 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


Using PHP class

$request = new OP_Request;
  ->setAuth(array('username' => 'username', 'password' => 'password'))
    'domain' => array(
      'extension' => 'ca'


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"?>
<?xml version="1.0" encoding="UTF-8"?>
          <description>Legal type</description>
                <description>Aboriginal Peoples indigenous to Canada</description>
                <description>Canadian Unincorporated Association</description>
                <description>Trust established in Canada</description>
Personal tools