0

Closed

Support callback.list

description

http://developers.freshbooks.com/docs/callbacks/
 
callback.list
 
Return a list of registered callbacks. You can optionally filter by event or uri.
Note: This method uses pagination
 
Request
 
view plaincopy to clipboardprint?
 
  • <?xml version="1.0" encoding="utf-8"?> 
  • <request method="callback.list"> 
  •   <!-- Filter by event (Optional) --> 
  •   <event>invoice.create</event> 
  •   <!-- Filter by uri (Optional) --> 
  •   <uri>http://example.com/webhooks/ready</uri> 
  • </request> 
     
    Response
     
    view plaincopy to clipboardprint?
     
  • <?xml version="1.0" encoding="utf-8"?> 
  • <response xmlns="http://www.freshbooks.com/api/" status="ok"> 
  •   <callbacks page="1" per_page="25" pages="1" total="2"> 
  •     <callback> 
  •       <callback_id>20</callback_id> 
  •       <uri>http://example.com/webhooks/ready</uri> 
  •       <event>invoice.create</event> 
  •       <verified>0</verified> 
  •     </callback> 
  •     <callback> 
  •       <callback_id>21</callback_id> 
  •       <uri>http://example.com/webhooks/ready</uri> 
  •       <event>invoice.create</event> 
  •       <verified>1</verified> 
  •     </callback> 
  •   </callbacks> 
  • </response>
Closed Jul 23, 2012 at 5:18 PM by stemarie

comments

wrote Jul 23, 2012 at 5:18 PM

Resolved with changeset 94086.

wrote Jan 31, 2013 at 11:24 PM

wrote May 13, 2013 at 6:23 PM