WSDL Page:  http://<your_domain_here>/affiliate/api/2/account.asmx?op=GetAccountInfo

 

Parameter Summary:

api_key / STRING = Affiliate API Key {See auth.asmx > Login}

affiliate_id / INT = Affiliate ID {See auth.asmx > Login}

contact_id / INT = Contact ID {See auth.asmx > Login}

 

Parameter Types:

api_key - ID

affiliate_id - ID

contact_id - ID

 

Sample GET Call:

https://demo.cakemarketing.com/affiliates/api/2/account.asmx/GetAccountInfo?api_key=Bg9Qt2mOtmDgiajccYZA&affiliate_id=1&contact_id=1860

 

Sample XML Response:

<account_info_response>
  <success>true</success>
  <row_count>1</row_count>
  <account>
    <contact_type>Account Manager (Primary)</contact_type>
    <first_name>Andy</first_name>
    <last_name>Worford</last_name>
    <email_address>andy@getCAKE.com</email_address>
    <title>Master of the Universe</title>
    <phone_work>9495482253x204</phone_work>
    <phone_cell>8665482253</phone_cell>
    <phone_fax>9492541551</phone_fax>
    <im_service>Google</im_service>
    <im_name>cake_andy</im_name>
    <language>FRENCH</language>
    <tax_class>LLP</tax_class>
    <ssn_tax_id>56584891651</ssn_tax_id>
    <payment_to>Personal</payment_to>
    <website>http://getCAKE.com</website>
    <address>
      <street_1>2244 West Coast Highway</street_1>
      <street_2>STE 250</street_2>
      <city>Newport Beach</city>
      <state>CA</state>
      <zip_code>92663</zip_code>
      <country>US</country>
    </address>
    <vertical_categories>
      <vertical_category>
        <category_id>2</category_id>
        <category_name>Education</category_name>
      </vertical_category>
    </vertical_categories>
    <media_types>
      <media_type>
        <type_id>3</type_id>
        <type_name>Email</type_name>
        <category_id>3</category_id>
        <category_name>Email</category_name>
      </media_type>
    </media_types>
    <price_formats>
      <price_format>
        <format_id>1</format_id>
        <format_name>CPA</format_name>
      </price_format>
    </price_formats>
    <has_pending_change>true</has_pending_change>
  </account>
</account_info_response>