WSDL Page:  http://<your_domain_here>/api/1/track.asmx?op=DecryptAffiliateLink

 

Parameter Summary:

api_key / STRING = Admin API Key {See get.asmx > GetAPIKey}

unique_link / STRING =  Encrypted CAKE Unique Link

 

Parameter Types:

api_key - ID

unique_link - ASSIGNABLE


Sample GET Call:

http://demo.cakemarketing.com/api/1/get.asmx/Departments?api_key=dNJFmId9rI&unique_link=http%3A%2F%2Fdemotrk.cakemarketing.com%2F%3FE%3DBjS%252bNAl6J%252baga8naQ8eS9ZIB%252bVkdSxTy%26s1%3D

 

Sample XML Response:

<?xml version="1.0" encoding="utf-8"?>
<decrypt_affiliate_link_response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://cakemarketing.com/api/1/">
  <success>true</success>
  <row_count>1</row_count>
  <affiliate>
    <affiliate_id xmlns="API:id_name_store">5121</affiliate_id>
    <affiliate_name xmlns="API:id_name_store">Affilate 5121</affiliate_name>
  </affiliate>
  <advertiser>
    <advertiser_id xmlns="API:id_name_store">45</advertiser_id>
    <advertiser_name xmlns="API:id_name_store">A Elite Media</advertiser_name>
  </advertiser>
  <offer>
    <offer_id xmlns="API:id_name_store">1000266</offer_id>
    <offer_name xmlns="API:id_name_store">Walmart Gift Card </offer_name>
  </offer>
  <campaign>
    <campaign_id xmlns="API:id_name_store">11587</campaign_id>
    <campaign_name xmlns="API:id_name_store">Walmart Gift Card  - CPA - $1.00</campaign_name>
  </campaign>
  <creative>
    <creative_id xmlns="API:id_name_store">1130443</creative_id>
    <creative_name xmlns="API:id_name_store">1130443 - Link</creative_name>
  </creative>
</decrypt_affiliate_link_response>