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>/affiliate/api/3/reports.asmx?op=Conversions

 

Parameter Summary:

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

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

start_date / DATETIME = Report Start Date [MM/DD/YYYY HH:MM:SS]

end_date / DATETIME = Report End Date [MM/DD/YYYY HH:MM:SS]

offer_id / INT = Offer ID ["0" = ALL Offers]

start_at_row / INT = Starting Row Number [Usually "1", unless doing incremental API Calls]

row_limit / INT = Maximum Rows Returned ["0" = ALL Rows, "100000" = Maximum]

 

Parameter Types:

api_key - ID

affiliate_id - ID

start_date - ID

end_date - ID

offer_id - ID

start_at_row - ASSIGNABLE

row_limit - ASSIGNABLE


Sample GET Call:

https://demo-new.cakemarketing.com/affiliates/api/3/reports.asmx/Conversions?api_key=MkvdZixwaxM&affiliate_id=260&start_date=09/01/2015+00:00:00&end_date=09/23/2015+23:00:00&offer_id=0&campaign_id=0&start_at_row=1&row_limit=3

 

Sample XML Response:

<conversion_response>
   <success>true</success>
   <row_count>13</row_count>
   <summary>
      <price>180.00000000000000</price>
      <currency_symbol>£</currency_symbol>
   </summary>
   <conversions>
      <conversion>
         <conversion_id>C9E8B27E</conversion_id>
         <conversion_date>2013-03-10T06:21:10.64</conversion_date>
         <offer_id>347</offer_id>
         <offer_name>HGH Fo Cheap - Offer Contract 536</offer_name>
         <campaign_id>2564</campaign_id>
         <subid_1 />
         <subid_2 />
         <subid_3 />
         <subid_4 />
         <subid_5 />
         <price>0.0000</price>
         <currency_symbol>$</currency_symbol>
      </conversion>
      <conversion>
         <conversion_id>A502E115</conversion_id>
         <conversion_date>2013-03-10T06:22:28.147</conversion_date>
         <offer_id>347</offer_id>
         <offer_name>HGH Fo Cheap - Offer Contract 536</offer_name>
         <campaign_id>2564</campaign_id>
         <subid_1 />
         <subid_2 />
         <subid_3 />
         <subid_4 />
         <subid_5 />
         <price>0.0000</price>
         <currency_symbol>$</currency_symbol>
      </conversion>
      <conversion>
         <conversion_id>5BE32A57</conversion_id>
         <conversion_date>2013-03-10T06:24:06.617</conversion_date>
         <offer_id>100</offer_id>
         <offer_name>AppTastic</offer_name>
         <campaign_id>997</campaign_id>
         <subid_1 />
         <subid_2 />
         <subid_3 />
         <subid_4 />
         <subid_5 />
         <price>0.0000</price>
         <currency_symbol>€</currency_symbol>
      </conversion>
   </conversions>
</conversion_response>