NOTICE:  THIS VERSION OF THE API HAS BEEN DEPRECATED.  IT WILL CONTINUE TO WORK INDEFINITELY, BUT HAS INCREASED FUNCTIONALITY IN NEWER VERSIONS.


WSDL Page:  http://<your_domain_here>/api/1/auth.asmx?op=Login


Parameter Summary:

username / STRING = CAKE Username

password / STRING = CAKE Password

ip_address / STRING = Login IP Address


Parameter Types:

username - ID

password - ID

ip_address - ASSIGNABLE


Sample GET Call:

http://demo.cakemarketing.com/api/1/auth.asmx/Login?username=andy@getCAKE.com&password=a069gsSDG934&ip_address=8.8.8.8

 

Sample XML Response:

<LoginResult>
  <success>true</success>
  <success_info>
    <contact_id>3219</contact_id>
    <contact_first_name>Andy</contact_first_name>
    <contact_last_name>Worford</contact_last_name>
    <role_id>6</role_id>
    <role_name>Affiliate</role_name>
    <company_id>5931</company_id>
    <company_name>CPA API</company_name>
    <api_key>xHeSkLoXt70</api_key>
  </success_info>
</LoginResult>