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 modifyResellerRequest

From Openprovider API documentation

Revision as of 08:05, 26 January 2011 by WikiSysop (Talk | contribs)
Jump to: navigation, search

Contents

Module Reseller > Modify

Module reseller
Command name modifyResellerRequest
Use Modifies the contact data in your reseller account
Input
Output

-

Examples

Using PHP class

$request = new OP_Request;
$request->setCommand('modifyResellerRequest')
 ->setAuth(array('username' => $username, 'password' => $password))
 ->setArgs(array(
   'address' => array(
     'street' => 'Willem Buytewechstraat',
     'number' => '40',
     'zipcode' => '3024 BN',
     'city' => 'Rotterdam',
     'state' => 'Zuid-Holland',
     'country' => 'NL',
   ),
       
   'phone' => array(
     'countryCode' => '+31',
     'areaCode' => '10',
     'subscriberNumber' => '4482292'
   ),
       
   'fax' => array(
     'countryCode' => '+31',
     'areaCode' => '10',
     'subscriberNumber' => '2440250'
   ),
));

Raw XML

<?xml version="1.0" encoding="UTF-8"?>
<openXML>
  <credentials>
    <username>username</username>
    <password>password</password>
  </credentials>
  <modifyResellerRequest>
    <address>
      <street>Willem Buytewechstraat</street>
      <number>40</number>
      <zipcode>3024 BN</zipcode>
      <city>Rotterdam</city>
      <state>Zuid-Holland</state>
      <country>NL</country>
    </address>
    <phone>
      <countryCode>+31</countryCode>
      <areaCode>10</areaCode>
      <subscriberNumber>4482292</subscriberNumber>
    </phone>
    <fax>
      <countryCode>+31</countryCode>
      <areaCode>10</areaCode>
      <subscriberNumber>2440250</subscriberNumber>
    </fax>
  </modifyResellerRequest>
</openXML>
<?xml version="1.0" encoding="UTF-8"?>
<openXML>
  <reply>
    0
    <desc />
    <data>1</data>
  </reply>
</openXML>
Views
Personal tools