Submit a Ticket My Tickets
Welcome
Login  Sign up

[Reports] PerformanceSummary (V2) - Affiliate

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

 

Parameter Summary:

api_key / STRING = Affiliate API Key

affiliate_id / INT = Affiliate ID

date / DATETIME = Date 

 

Parameter Types:

api_key - ID - CAKE API Key example: s15Sl4xmfA

affiliate_id - ID - Affiliate ID example: 2699

date - ASSIGNABLE example: 06/01/2015

 

Sample GET Call:

https://demo.cakemarketing.com/affiliates/api/2/reports.asmx/PerformanceSummary?api_key=s15Sl4xmfA&affiliate_id=2699&date=06/01/2013

 

Sample XML Response:

<performance_summary_response>
   <success>true</success>
   <row_count>7</row_count>
   <periods>
      <period>
         <date_range>Today</date_range>
         <current_revenue>0.0000</current_revenue>
         <previous_revenue>0.0000</previous_revenue>
         <currency_symbol>£</currency_symbol>
      </period>
      <period>
         <date_range>WTD</date_range>
         <current_revenue>210.0000</current_revenue>
         <previous_revenue>0.0000</previous_revenue>
         <currency_symbol>£</currency_symbol>
      </period>
      <period>
         <date_range>7-Day</date_range>
         <current_revenue>210.0000</current_revenue>
         <previous_revenue>0.0000</previous_revenue>
         <currency_symbol>£</currency_symbol>
      </period>
      <period>
         <date_range>MTD</date_range>
         <current_revenue>210.0000</current_revenue>
         <previous_revenue>0.0000</previous_revenue>
         <currency_symbol>£</currency_symbol>
      </period>
      <period>
         <date_range>30-Day</date_range>
         <current_revenue>210.0000</current_revenue>
         <previous_revenue>0.0000</previous_revenue>
         <currency_symbol>£</currency_symbol>
      </period>
      <period>
         <date_range>YTD</date_range>
         <current_revenue>210.0000</current_revenue>
         <previous_revenue>7983.2928</previous_revenue>
         <currency_symbol>£</currency_symbol>
      </period>
      <period>
         <date_range>12 Months</date_range>
         <current_revenue>1857.7728</current_revenue>
         <previous_revenue>14390.5200</previous_revenue>
         <currency_symbol>£</currency_symbol>
      </period>
   </periods>
</performance_summary_response>

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.