Submit a Ticket My Tickets
Welcome
Login  Sign up

[Reports] Bills (V3) - Affiliate

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

 

Parameter Summary:

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

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

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_at_row - ASSIGNABLE

row_limit - ASSIGNABLE

 

Sample GET Call:

https://demo-new.cakemarketing.com/affiliates/api/3/reports.asmx/Bills?api_key=MkvdZixwaxM&affiliate_id=260&start_at_row=1&row_limit=3

 

Sample XML Response:

<bill_response>
   <success>true</success>
   <row_count>5</row_count>
   <bills>
      <bill>
         <bill_id>4071</bill_id>
         <start_date>2013-01-21T00:00:00</start_date>
         <end_date>2013-01-28T00:00:00</end_date>
         <date_paid />
         <bill_amount>2415.0000</bill_amount>
         <currency_symbol>£</currency_symbol>
      </bill>
      <bill>
         <bill_id>3937</bill_id>
         <start_date>2012-11-16T00:00:00</start_date>
         <end_date>2012-12-01T00:00:00</end_date>
         <date_paid />
         <bill_amount>1317.4680</bill_amount>
         <currency_symbol>£</currency_symbol>
      </bill>
      <bill>
         <bill_id>3341</bill_id>
         <start_date>2012-08-01T00:00:00</start_date>
         <end_date>2012-09-01T00:00:00</end_date>
         <date_paid>2012-11-19T12:44:35.25</date_paid>
         <bill_amount>106.8746</bill_amount>
         <currency_symbol>$</currency_symbol>
      </bill>
   </bills>
</bill_response>

Did you find it helpful? Yes No

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