NOTICE:  THIS VERSION OF THE API HAS BEEN DEPRECATED.  IT WILL CONTINUE TO WORK INDEFINITELY, BUT HAS INCREASED FUNCTIONALITY IN NEWER VERSIONS.  It is recommended that you switch to using Events, as they provide more flexibility than Steps.  Reach out to your Account Manager for more information.

 

WSDL Page:  http://<your_domain_here>/affiliate/api/2/offers.asmx?op=Steps

 

Parameter Summary:

api_key / STRING = Affiliate API Key 

affiliate_id / INT = Affiliate ID 

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]

 

Parameter Types:

api_key - ID

affiliate_id - ID

start_date - ID

end_date - ID

offer_id - ID

 

Sample GET Call:

https://demo.cakemarketing.com/affiliates/api/2/reports.asmx/Steps?api_key=s15Sl4xmfA&affiliate_id=2699&start_date=01/01/2013+00:00:00&end_date=07/01/2013+01:00:00&offer_id=0

 

Sample XML Response:

<step_response>
   <success>true</success>
   <row_count>1</row_count>
   <steps>
      <step_pixel>
         <step>1</step>
         <revenue>145.0000</revenue>
         <people>12</people>
         <reached_step>100</reached_step>
         <bounce_rate>0</bounce_rate>
         <currency_symbol>$</currency_symbol>
      </step_pixel>
   </steps>
</step_response>