CAKE Help & Support

TRACK DecryptAffiliateLink API Version 1

Modified on: Mon, 7 Dec, 2015 at 1:09 PM


TRACK DecryptAffiliateLink API Version 1

Updated on 2014-04-11
Current Version: Version 1
Deprecated Version: 
Requests Allowed: GET&SOAP


Summary:

Returns the information that was encrypted in the supplied link. 


Resource/WSDL Page:

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


Parameters

api_key
Required
Type: STRING
Length (Max/Min): 50

This api_key will provide you with the ability to export Campaigns for your instance. You can obtain this api_key from within CAKE >> Setup >> Permissions in the API Key list.

Example Value:  Fo35NRAqvFLXoZxqB4aViaiYM7iVMhh

unique_link

Required

Type: INT
Length (Max/Min): NA 

Encrypted CAKE Unique Link

 **Note all optional parameters still need to be passed through in the actual call. These parameters do not need a value (therefore you can use a null value). 


Example Request

GET

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="http://cakemarketing.com/api/1/">
  <affiliate>
    <affiliate_id xmlns="API:id_name_store">int</affiliate_id>
    <affiliate_name xmlns="API:id_name_store">string</affiliate_name>
  </affiliate>
  <advertiser>
    <advertiser_id xmlns="API:id_name_store">int</advertiser_id>
    <advertiser_name xmlns="API:id_name_store">string</advertiser_name>
  </advertiser>
  <offer>
    <offer_id xmlns="API:id_name_store">int</offer_id>
    <offer_name xmlns="API:id_name_store">string</offer_name>
  </offer>
  <campaign>
    <campaign_id xmlns="API:id_name_store">int</campaign_id>
    <campaign_name xmlns="API:id_name_store">string</campaign_name>
  </campaign>
  <parent_offer>
    <offer_id xmlns="API:id_name_store">int</offer_id>
    <offer_name xmlns="API:id_name_store">string</offer_name>
  </parent_offer>
  <child_offer>
    <offer_id xmlns="API:id_name_store">int</offer_id>
    <offer_name xmlns="API:id_name_store">string</offer_name>
  </child_offer>
  <creative>
    <creative_id xmlns="API:id_name_store">int</creative_id>
    <creative_name xmlns="API:id_name_store">string</creative_name>
  </creative>
</decrypt_affiliate_link_response>

 

Example Error Messages:  

Error Message

Likely Cause

Invalid API Key

API Key does not exist or is expired.

Invalid URL

The value of unique_link cannot be decrypted

 

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.
Login
New support ticket Check ticket status