Submit a Ticket My Tickets
Welcome
Login  Sign up

[Account] GetContactTypes (V2) - Affiliate

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>

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.