1- GET https://api.recurly.com/v2/accounts/subscribemock/ subscriptions HTTP/1.1
1+ GET https://api.recurly.com/v2/subscriptions/123456789012345678901234567890ab HTTP/1.1
22Accept: application/xml
33Authorization: Basic YXBpa2V5Og==
44User-Agent: recurly-python/{version}
@@ -9,29 +9,27 @@ X-Records: 1
99Content-Type: application/xml; charset=utf-8
1010
1111<?xml version =" 1.0" encoding =" UTF-8" ?>
12- <subscriptions type =" array" >
13- <subscription
14- href =" https://api.recurly.com/v2/subscriptions/123456789012345678901234567890ab" >
15- <uuid >123456789012345678901234567890ab</uuid >
16- <account href =" https://api.recurly.com/v2/accounts/subscribemock" />
17- <plan href =" https://api.recurly.com/v2/plans/basicplan" >
18- <plan_code >basicplan</plan_code >
19- <name >Basic Plan</name >
20- </plan >
21- <state >active</state >
22- <quantity type =" integer" >1</quantity >
23- <currency >EUR</currency >
24- <unit_amount_in_cents type =" integer" >1000</unit_amount_in_cents >
25- <activated_at type =" datetime" >2011-05-27T07:00:00Z</activated_at >
26- <canceled_at nil =" nil" ></canceled_at >
27- <expires_at nil =" nil" ></expires_at >
28- <current_period_started_at type =" datetime" >2011-06-27T07:00:00Z</current_period_started_at >
29- <current_period_ends_at type =" datetime" >2010-07-27T07:00:00Z</current_period_ends_at >
30- <trial_started_at nil =" nil" ></trial_started_at >
31- <trial_ends_at nil =" nil" ></trial_ends_at >
32- <tax_in_cents type =" integer" >0</tax_in_cents >
33- <tax_type >usst</tax_type >
34- <subscription_add_ons type =" array" >
35- </subscription_add_ons >
36- </subscription >
37- </subscriptions >
12+ <subscription
13+ href =" https://api.recurly.com/v2/subscriptions/123456789012345678901234567890ab" >
14+ <uuid >123456789012345678901234567890ab</uuid >
15+ <account href =" https://api.recurly.com/v2/accounts/subscribemock" />
16+ <plan href =" https://api.recurly.com/v2/plans/basicplan" >
17+ <plan_code >basicplan</plan_code >
18+ <name >Basic Plan</name >
19+ </plan >
20+ <state >active</state >
21+ <quantity type =" integer" >1</quantity >
22+ <currency >EUR</currency >
23+ <unit_amount_in_cents type =" integer" >1000</unit_amount_in_cents >
24+ <activated_at type =" datetime" >2011-05-27T07:00:00Z</activated_at >
25+ <canceled_at nil =" nil" ></canceled_at >
26+ <expires_at nil =" nil" ></expires_at >
27+ <current_period_started_at type =" datetime" >2011-06-27T07:00:00Z</current_period_started_at >
28+ <current_period_ends_at type =" datetime" >2010-07-27T07:00:00Z</current_period_ends_at >
29+ <trial_started_at nil =" nil" ></trial_started_at >
30+ <trial_ends_at nil =" nil" ></trial_ends_at >
31+ <tax_in_cents type =" integer" >0</tax_in_cents >
32+ <tax_type >usst</tax_type >
33+ <subscription_add_ons type =" array" >
34+ </subscription_add_ons >
35+ </subscription >
0 commit comments