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

 

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]

sub_affiliate / STRING = SubAffiliate Name

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]

sort_field / STRING = Sort Field ["date", "clicks", "revenue", "epc"]

sort_descending / BOOL = Sort Descending? ["TRUE", "FALSE"]

 

Parameter Types:

api_key - ID

affiliate_id - ID

start_date - ID

end_date - ID

offer_id - ID

sub_affiliate - ID

start_at_row - ASSIGNABLE

row_limit - ASSIGNABLE

sort_field - ASSIGNABLE

sort_descending - ASSIGNABLE

 

Sample GET Call:

https://demo.cakemarketing.com/affiliates/api/2/reports.asmx/StepDailySummary?api_key=EJnr9HfIvBs&affiliate_id=3692&start_date=01/07/2013+00:00:00&end_date=06/29/2013+01:00:00&offer_id=0&sub_affiliate=&start_at_row=1&row_limit=3&sort_field=date&sort_descending=FALSE

 

Sample XML Response:

<step_daily_summary_response>
   <success>true</success>
   <row_count>43</row_count>
   <summary>
      <clicks>213</clicks>
      <step1>122</step1>
      <step1_conversion_rate>0.5727699530516431924882629108</step1_conversion_rate>
      <step2>12</step2>
      <step2_conversion_rate>0.0563380281690140845070422535</step2_conversion_rate>
      <step3>12</step3>
      <step3_conversion_rate>0.0563380281690140845070422535</step3_conversion_rate>
      <step4>1</step4>
      <step4_conversion_rate>0.0046948356807511737089201878</step4_conversion_rate>
      <step5>0</step5>
      <step5_conversion_rate>0</step5_conversion_rate>
      <step6>0</step6>
      <step6_conversion_rate>0</step6_conversion_rate>
      <step7>0</step7>
      <step7_conversion_rate>0</step7_conversion_rate>
      <step8>0</step8>
      <step8_conversion_rate>0</step8_conversion_rate>
      <step9>0</step9>
      <step9_conversion_rate>0</step9_conversion_rate>
      <step10>0</step10>
      <step10_conversion_rate>0</step10_conversion_rate>
      <revenue>23888.9700</revenue>
      <epc>3139.324240</epc>
      <currency_symbol>€</currency_symbol>
   </summary>
   <days>
      <step_daily>
         <date>2013-01-07T00:00:00</date>
         <clicks>2</clicks>
         <step1>1</step1>
         <step1_conversion_rate>0.500000</step1_conversion_rate>
         <step2>0</step2>
         <step2_conversion_rate>0.000000</step2_conversion_rate>
         <step3>0</step3>
         <step3_conversion_rate>0.000000</step3_conversion_rate>
         <step4>0</step4>
         <step4_conversion_rate>0.000000</step4_conversion_rate>
         <step5>0</step5>
         <step5_conversion_rate>0.000000</step5_conversion_rate>
         <step6>0</step6>
         <step6_conversion_rate>0.000000</step6_conversion_rate>
         <step7>0</step7>
         <step7_conversion_rate>0.000000</step7_conversion_rate>
         <step8>0</step8>
         <step8_conversion_rate>0.000000</step8_conversion_rate>
         <step9>0</step9>
         <step9_conversion_rate>0.000000</step9_conversion_rate>
         <step10>0</step10>
         <step10_conversion_rate>0.000000</step10_conversion_rate>
         <revenue>6.0000</revenue>
         <epc>3.000000</epc>
         <currency_symbol>€</currency_symbol>
      </step_daily>
      <step_daily>
         <date>2013-01-08T00:00:00</date>
         <clicks>8</clicks>
         <step1>7</step1>
         <step1_conversion_rate>0.875000</step1_conversion_rate>
         <step2>0</step2>
         <step2_conversion_rate>0.000000</step2_conversion_rate>
         <step3>0</step3>
         <step3_conversion_rate>0.000000</step3_conversion_rate>
         <step4>0</step4>
         <step4_conversion_rate>0.000000</step4_conversion_rate>
         <step5>0</step5>
         <step5_conversion_rate>0.000000</step5_conversion_rate>
         <step6>0</step6>
         <step6_conversion_rate>0.000000</step6_conversion_rate>
         <step7>0</step7>
         <step7_conversion_rate>0.000000</step7_conversion_rate>
         <step8>0</step8>
         <step8_conversion_rate>0.000000</step8_conversion_rate>
         <step9>0</step9>
         <step9_conversion_rate>0.000000</step9_conversion_rate>
         <step10>0</step10>
         <step10_conversion_rate>0.000000</step10_conversion_rate>
         <revenue>0.0700</revenue>
         <epc>0.008750</epc>
         <currency_symbol>€</currency_symbol>
      </step_daily>
      <step_daily>
         <date>2013-01-17T00:00:00</date>
         <clicks>2</clicks>
         <step1>1</step1>
         <step1_conversion_rate>0.500000</step1_conversion_rate>
         <step2>0</step2>
         <step2_conversion_rate>0.000000</step2_conversion_rate>
         <step3>0</step3>
         <step3_conversion_rate>0.000000</step3_conversion_rate>
         <step4>0</step4>
         <step4_conversion_rate>0.000000</step4_conversion_rate>
         <step5>0</step5>
         <step5_conversion_rate>0.000000</step5_conversion_rate>
         <step6>0</step6>
         <step6_conversion_rate>0.000000</step6_conversion_rate>
         <step7>0</step7>
         <step7_conversion_rate>0.000000</step7_conversion_rate>
         <step8>0</step8>
         <step8_conversion_rate>0.000000</step8_conversion_rate>
         <step9>0</step9>
         <step9_conversion_rate>0.000000</step9_conversion_rate>
         <step10>0</step10>
         <step10_conversion_rate>0.000000</step10_conversion_rate>
         <revenue>0.5000</revenue>
         <epc>0.250000</epc>
         <currency_symbol>€</currency_symbol>
      </step_daily>
   </days>
</step_daily_summary_response>