API Module Reseller retrieveResellerRequest

From Openprovider API documentation

(Difference between revisions)
Jump to: navigation, search
(Created page with '==Module Reseller > Retrieve== {| border="1" cellpadding="4" |- style="background-color:#BBBBBB;" |'''Module''' |reseller |- style="background-color:#EEEEEE;" |'''Command name'''…')
Line 13: Line 13:
|'''Input'''
|'''Input'''
|
|
-
*withAdditionalData ''default value: 0''
+
-
|- style="vertical-align:top;"
|- style="vertical-align:top;"
|'''Output'''
|'''Output'''
Line 24: Line 24:
*[[API Format Phone|phone]]
*[[API Format Phone|phone]]
*[[API Format Phone|fax]]
*[[API Format Phone|fax]]
-
*[[API Format Additional Data Customer|additionalData]] (if withAdditionalData = 1)
 
|}
|}

Revision as of 07:01, 26 January 2011

Contents

Module Reseller > Retrieve

Module reseller
Command name retrieveResellerRequest
Use Retrieves information about your reseller account
Input

-

Output

Examples

Using PHP class

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

Raw XML

<?xml version="1.0" encoding="UTF-8"?>
<openXML>
  <credentials>
    <username>username</username>
    <password>password</password>
  </credentials>
  <retrieveResellerRequest />
</openXML>
<?xml version="1.0" encoding="UTF-8"?>
<openXML>
  <reply>
    < code>0</code>
    <desc />
    <data>
      <id>16342915</id>
      <companyName>Openprovider</companyName>
      <vat>NL809507882B01</vat>
      <phone>
        <countryCode>+31</countryCode>
        <areaCode>10</areaCode>
        <subscriberNumber>4482299</subscriberNumber>
      </phone>
      <address>
        <street>Nieuwe Binnenweg</street>
        <number>137</number>
        <zipcode>3014 GJ</zipcode>
        <city>Rotterdam</city>
        <country>NL</country>
        <state>Zuid-Holland</state>
      </address>
      <balance>263.94</balance>
    </data>
  </reply>
</openXML>
Views
Personal tools