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 Reseller retrieveContactRequest

From Openprovider API documentation

(Difference between revisions)
Jump to: navigation, search
WikiSysop (Talk | contribs)
(Created page with '==Module Reseller > Retrieve Contact== {| border="1" cellpadding="4" |- style="background-color:#BBBBBB;" |'''Module''' |reseller |- style="background-color:#EEEEEE;" |'''Command…')
Newer edit →

Revision as of 09:06, 26 January 2011

Contents

Module Reseller > Retrieve Contact

Module reseller
Command name retrieveContactResellerRequest
Use Retrieves information about a contact in your reseller account
Input
  • id
Output

Examples

Using PHP class

$request = new OP_Request;
$request->setCommand('retrieveContactRequest')
 ->setAuth(array('username' => 'username', 'password' => 'password'))
 ->setArgs(array(
   'id' => 2292
));

Raw XML

<?xml version="1.0" encoding="UTF-8"?>
<openXML>
  <credentials>
    <username>username</username>
    <password>password</password>
  </credentials>
  <retrieveContactRequest>
    <id>2292</id>
  </retrieveContactRequest>
</openXML>
<?xml version="1.0" encoding="UTF-8"?>
<openXML>
  <reply>
    0
    <desc />
    <data>
      <id>2292</id>
      <companyName></companyName>
      <name>
        <initials></initials>
        <firstName>Will</firstName>
        <prefix></prefix>
        <lastName>Black</lastName>
      </name>
      <gender>M</gender>
      <phone>
        <countryCode>+31</countryCode>
        <areaCode>10</areaCode>
        <subscriberNumber>4482292</subscriberNumber>
      </phone>
      <address>
        <street></street>
        <number></number>
        <zipcode></zipcode>
        <city></city>
        <country>NL</country>
      </address>
      <email>support@openprovider.nl</email>
      <role>admin</role>
      <isActive>1</isActive>
      <username>willb</username>
    </data>
  </reply>
</openXML>
Views
Personal tools