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

 

Parameter Summary:

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

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

 

Parameter Types:

api_key - ID

affiliate_id - ID

 

Sample GET Call:

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

 

Sample XML Response:

<contact_type_response>
  <success>true</success>
  <row_count>6</row_count>
  <contact_types>
    <contact_type>
      <type_id>1</type_id>
      <type_name>Account Manager</type_name>
    </contact_type>
    <contact_type>
      <type_id>2</type_id>
      <type_name>Billing</type_name>
    </contact_type>
    <contact_type>
      <type_id>3</type_id>
      <type_name>Tech</type_name>
    </contact_type>
    <contact_type>
      <type_id>4</type_id>
      <type_name>Account Manager (Primary)</type_name>
    </contact_type>
    <contact_type>
      <type_id>5</type_id>
      <type_name>Billing (Primary)</type_name>
    </contact_type>
    <contact_type>
      <type_id>6</type_id>
      <type_name>Tech (Primary)</type_name>
    </contact_type>
  </contact_types>
</contact_type_response>