This project is read-only.
0

Closed

Support recurring.get

description

http://developers.freshbooks.com/docs/recurring/
 
recurring.get
 
Return the details of an existing recurring profile, including auto-bill information if this recurring profile has auto-billing enabled.
 
Request
 
view plaincopy to clipboardprint?
 
  • <?xml version="1.0" encoding="utf-8"?> 
  • <request method="recurring.get"> 
  •   <recurring_id>20</recurring_id> 
  • </request> 
     
    Response
     
    view plaincopy to clipboardprint?
     
  • <?xml version="1.0" encoding="utf-8"?> 
  • <response xmlns="http://www.freshbooks.com/api/" status="ok"> 
  •   <recurring> 
  •     <recurring_id>344</recurring_id> 
  •     <!-- One of '2y', 'y', '6m', '3m', '2m', 'm', '4w', '2w', 'w' --> 
  •     <frequency>2y</frequency> 
  •     <occurrences>0</occurrences> 
  •     <stopped>0</stopped> 
  •     <client_id>2</client_id> 
  •     <contacts> 
  •         <contact> 
  •             <contact_id>10</contact_id> 
  •         </contact> 
  •     </contacts> 
  •     <staff_id>1</staff_id> 
  •     <organization>ABC Corp</organization> 
  •     <first_name>John</first_name> 
  •     <last_name>Doe</last_name> 
  •     <p_street1>123 Fake St.</p_street1> 
  •     <p_street2>Unit 555</p_street2> 
  •     <p_city>New York</p_city> 
  •     <p_state>New York</p_state> 
  •     <p_country>United States</p_country> 
  •     <p_code>553132</p_code> 
  •     <vat_name></vat_name> 
  •     <vat_number></vat_number> 
  •     <po_number></po_number> 
  •     <status></status> 
  •     <amount>109.89</amount> 
  •     <currency_code>CAD</currency_code> 
  •     <language>en</language> 
  •     <date>2007-06-23</date> 
  •     <notes></notes> 
  •     <terms></terms> 
  •     <discount>0</discount> 
  •     <return_uri></return_uri> 
  •     <send_snail_mail>0</send_snail_mail> 
  •     <send_email>1</send_email> 
  •     <folder>active</folder> 
  •     <autobill> 
  •       <gateway_name>Authorize.Net</gateway_name> 
  •       <card> 
  •         <number>************1111</number> 
  •         <name>John Smith</name> 
  •         <expiration> 
  •           <month>03</month> 
  •           <year>2012</year> 
  •         </expiration> 
  •       </card> 
  •     </autobill> 
  •     <lines> 
  •       <line> 
  •         <line_id>1</line_id>  <!-- (Read Only) line id --> 
  •         <name>Product</name> 
  •         <description>Sample product item</description> 
  •         <unit_cost>9.99</unit_cost> 
  •         <quantity>10</quantity> 
  •         <amount>99.9</amount> 
  •         <tax1_name>tax1</tax1_name> 
  •         <tax2_name></tax2_name> 
  •         <tax1_percent>10</tax1_percent> 
  •         <tax2_percent>0</tax2_percent> 
  •         <type>Item</type> 
  •       </line> 
  •     </lines> 
  •   </recurring> 
  • </response>
Closed Jul 23, 2012 at 6:18 PM by stemarie

comments

wrote Jul 23, 2012 at 6:18 PM

Resolved with changeset 94086.

wrote Feb 1, 2013 at 12:24 AM

wrote May 13, 2013 at 7:24 PM

wrote Nov 27 at 7:31 PM