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

 

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]

 

Parameter Types:

api_key - ID

affiliate_id - ID

start_date - ID

end_date - ID

offer_id - ID

 

Sample GET Call:

https://demo-new.cakemarketing.com/affiliates/api/2/reports.asmx/HourlySummary?api_key=MkvdZixwaxM&affiliate_id=260&start_date=09/22/2015+00:00:00&end_date=09/23/2015+23:00:00&offer_id=0



Sample XML Response:

<hourly_summary_response>
   <success>true</success>
   <row_count>9</row_count>
   <hours>
      <hour>
         <date>2013-06-01T00:00:00</date>
         <impressions>0</impressions>
         <clicks>1</clicks>
         <conversions>0</conversions>
         <conversion_rate>0.000000</conversion_rate>
         <revenue>0.00000000000000</revenue>
         <epc>0.000000</epc>
         <currency_symbol>£</currency_symbol>
      </hour>
      <hour>
         <date>2013-06-01T03:00:00</date>
         <impressions>0</impressions>
         <clicks>2</clicks>
         <conversions>0</conversions>
         <conversion_rate>0.000000</conversion_rate>
         <revenue>0.00000000000000</revenue>
         <epc>0.000000</epc>
         <currency_symbol>£</currency_symbol>
      </hour>
      <hour>
         <date>2013-06-01T06:00:00</date>
         <impressions>0</impressions>
         <clicks>1</clicks>
         <conversions>0</conversions>
         <conversion_rate>0.000000</conversion_rate>
         <revenue>0.00000000000000</revenue>
         <epc>0.000000</epc>
         <currency_symbol>£</currency_symbol>
      </hour>
      <hour>
         <date>2013-06-01T09:00:00</date>
         <impressions>0</impressions>
         <clicks>1</clicks>
         <conversions>0</conversions>
         <conversion_rate>0.000000</conversion_rate>
         <revenue>0.00000000000000</revenue>
         <epc>0.000000</epc>
         <currency_symbol>£</currency_symbol>
      </hour>
      <hour>
         <date>2013-06-01T12:00:00</date>
         <impressions>0</impressions>
         <clicks>1</clicks>
         <conversions>0</conversions>
         <conversion_rate>0.000000</conversion_rate>
         <revenue>0.00000000000000</revenue>
         <epc>0.000000</epc>
         <currency_symbol>£</currency_symbol>
      </hour>
      <hour>
         <date>2013-06-01T15:00:00</date>
         <impressions>0</impressions>
         <clicks>1</clicks>
         <conversions>0</conversions>
         <conversion_rate>0.000000</conversion_rate>
         <revenue>0.00000000000000</revenue>
         <epc>0.000000</epc>
         <currency_symbol>£</currency_symbol>
      </hour>
      <hour>
         <date>2013-06-01T18:00:00</date>
         <impressions>0</impressions>
         <clicks>1</clicks>
         <conversions>0</conversions>
         <conversion_rate>0.000000</conversion_rate>
         <revenue>0.00000000000000</revenue>
         <epc>0.000000</epc>
         <currency_symbol>£</currency_symbol>
      </hour>
      <hour>
         <date>2013-06-01T21:00:00</date>
         <impressions>0</impressions>
         <clicks>1</clicks>
         <conversions>0</conversions>
         <conversion_rate>0.000000</conversion_rate>
         <revenue>0.00000000000000</revenue>
         <epc>0.000000</epc>
         <currency_symbol>£</currency_symbol>
      </hour>
      <hour>
         <date>2013-06-02T00:00:00</date>
         <impressions>0</impressions>
         <clicks>1</clicks>
         <conversions>0</conversions>
         <conversion_rate>0.000000</conversion_rate>
         <revenue>0.00000000000000</revenue>
         <epc>0.000000</epc>
         <currency_symbol>£</currency_symbol>
      </hour>
   </hours>
</hourly_summary_response>