zuora_rest_client 1.2.1.1 → 1.2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +20 -12
- data/lib/zuora_rest_client/client.rb +15 -9
- data/lib/zuora_rest_client/connection.rb +17 -8
- data/lib/zuora_rest_client/version.rb +1 -1
- metadata +30 -61
- data/.gitignore +0 -54
- data/.rspec +0 -2
- data/.travis.yml +0 -5
- data/Gemfile +0 -4
- data/Rakefile +0 -6
- data/fixtures/vcr_cassettes/zuora/create_account_object_success.yml +0 -51
- data/fixtures/vcr_cassettes/zuora/create_account_success.yml +0 -66
- data/fixtures/vcr_cassettes/zuora/delete_account_object_success.yml +0 -191
- data/fixtures/vcr_cassettes/zuora/describe_account.yml +0 -588
- data/fixtures/vcr_cassettes/zuora/describe_account_related_objects.yml +0 -588
- data/fixtures/vcr_cassettes/zuora/describe_all_account_fields.yml +0 -588
- data/fixtures/vcr_cassettes/zuora/describe_all_zobjects.yml +0 -171
- data/fixtures/vcr_cassettes/zuora/describe_exportable_account_fields.yml +0 -588
- data/fixtures/vcr_cassettes/zuora/describe_non_exportable_account_fields.yml +0 -588
- data/fixtures/vcr_cassettes/zuora/describe_non_updateable_account_fields.yml +0 -588
- data/fixtures/vcr_cassettes/zuora/describe_updateable_account_fields.yml +0 -588
- data/fixtures/vcr_cassettes/zuora/get_account_object_success.yml +0 -52
- data/fixtures/vcr_cassettes/zuora/get_account_success.yml +0 -152
- data/fixtures/vcr_cassettes/zuora/get_account_summary_success.yml +0 -140
- data/fixtures/vcr_cassettes/zuora/update_account_object_success.yml +0 -99
- data/fixtures/vcr_cassettes/zuora/update_account_success.yml +0 -208
- data/zuora_rest_client.gemspec +0 -45
@@ -1,52 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://rest.zuora.com/v1/object/account/2c92a0fc690db104016910ece4fc24fe
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
|
-
apiAccessKeyId:
|
13
|
-
- "{ZUORA_USERNAME}"
|
14
|
-
apiSecretAccessKey:
|
15
|
-
- "{ZUORA_PASSWORD}"
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Content-Type:
|
22
|
-
- application/json; charset=utf-8
|
23
|
-
Server:
|
24
|
-
- kong/0.9.9
|
25
|
-
zuora-request-id:
|
26
|
-
- f6bf2de1-a3b7-471d-9f4f-04ece6adbb47
|
27
|
-
X-Kong-Upstream-Latency:
|
28
|
-
- '68'
|
29
|
-
X-Kong-Proxy-Latency:
|
30
|
-
- '0'
|
31
|
-
Expires:
|
32
|
-
- Thu, 21 Feb 2019 16:39:14 GMT
|
33
|
-
Cache-Control:
|
34
|
-
- max-age=0, no-cache, no-store
|
35
|
-
Pragma:
|
36
|
-
- no-cache
|
37
|
-
Date:
|
38
|
-
- Thu, 21 Feb 2019 16:39:14 GMT
|
39
|
-
Content-Length:
|
40
|
-
- '662'
|
41
|
-
Connection:
|
42
|
-
- keep-alive
|
43
|
-
body:
|
44
|
-
encoding: UTF-8
|
45
|
-
string: '{"AccountNumber":"Z00324164","AllowInvoiceEdit":false,"InvoiceTemplateId":"2c92a0fb49377eae0149505ce4814ece","AutoPay":false,"InvoiceDeliveryPrefsPrint":false,"UpdatedDate":"2019-02-21T11:39:14.000-05:00","CreditBalance":0,"BillCycleDay":15,"BcdSettingOption":"ManualSet","PaymentTerm":"Due
|
46
|
-
Upon Receipt","SuppressDunning__c":"false","Batch":"Batch1","CreatedById":"2c92a0fe5d8298e1015da3596e331713","CreatedDate":"2019-02-21T11:39:14.000-05:00","Name":"Test
|
47
|
-
Account","Balance":0,"Id":"2c92a0fc690db104016910ece4fc24fe","InvoiceDeliveryPrefsEmail":false,"Currency":"USD","Status":"Draft","TotalInvoiceBalance":0,"UpdatedById":"2c92a0fe5d8298e1015da3596e331713"}
|
48
|
-
|
49
|
-
'
|
50
|
-
http_version:
|
51
|
-
recorded_at: Thu, 21 Feb 2019 16:39:14 GMT
|
52
|
-
recorded_with: VCR 4.0.0
|
@@ -1,152 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://rest.zuora.com/v1/accounts/2c92a008690a61a0016910ecddc619d3
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
|
-
apiAccessKeyId:
|
13
|
-
- "{ZUORA_USERNAME}"
|
14
|
-
apiSecretAccessKey:
|
15
|
-
- "{ZUORA_PASSWORD}"
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Content-Type:
|
22
|
-
- application/json;charset=utf-8
|
23
|
-
Content-Security-Policy-Report-Only:
|
24
|
-
- media-src 'none'; img-src 'self' *.zuora.com; object-src *.zuora.com; script-src
|
25
|
-
'unsafe-inline' 'unsafe-eval' 'self' https://api.tcell.io/; manifest-src 'none';
|
26
|
-
style-src 'unsafe-inline' 'self'; font-src 'self'; child-src 'none'; frame-src
|
27
|
-
'none'; connect-src 'self' https://api.tcell.io/ https://input.tcell.io/;
|
28
|
-
report-uri https://input.tcell.io/csp/8abeff14fea5928cf9f25296fca62aa1a75fa57a6f06ad15ea451d64a579f75c?rid=2063226540
|
29
|
-
Server:
|
30
|
-
- Zuora App
|
31
|
-
zuora-request-id:
|
32
|
-
- 6cbd3445-5813-44f6-b2a0-34af2b35233f
|
33
|
-
X-Kong-Upstream-Latency:
|
34
|
-
- '56'
|
35
|
-
X-Kong-Proxy-Latency:
|
36
|
-
- '0'
|
37
|
-
Expires:
|
38
|
-
- Thu, 21 Feb 2019 16:39:12 GMT
|
39
|
-
Cache-Control:
|
40
|
-
- max-age=0, no-cache, no-store
|
41
|
-
Pragma:
|
42
|
-
- no-cache
|
43
|
-
Date:
|
44
|
-
- Thu, 21 Feb 2019 16:39:12 GMT
|
45
|
-
Content-Length:
|
46
|
-
- '2445'
|
47
|
-
Connection:
|
48
|
-
- keep-alive
|
49
|
-
Set-Cookie:
|
50
|
-
- ZSession={ZUORA_SESSION_ID}; Path=/; Secure; HttpOnly
|
51
|
-
body:
|
52
|
-
encoding: UTF-8
|
53
|
-
string: |-
|
54
|
-
{
|
55
|
-
"basicInfo" : {
|
56
|
-
"id" : "2c92a008690a61a0016910ecddc619d3",
|
57
|
-
"name" : "Test Account",
|
58
|
-
"accountNumber" : "Z00324163",
|
59
|
-
"notes" : null,
|
60
|
-
"status" : "Active",
|
61
|
-
"crmId" : null,
|
62
|
-
"batch" : "Batch1",
|
63
|
-
"invoiceTemplateId" : "2c92a0fb49377eae0149505ce4814ece",
|
64
|
-
"communicationProfileId" : null,
|
65
|
-
"Bucket2__c" : null,
|
66
|
-
"Bucket3__c" : null,
|
67
|
-
"Bucket4__c" : null,
|
68
|
-
"Bucket1__c" : null,
|
69
|
-
"memberid__c" : null,
|
70
|
-
"LineofBusiness__c" : null,
|
71
|
-
"BucketTotal__c" : null,
|
72
|
-
"BusinessUnit__c" : null,
|
73
|
-
"VATNumber__c" : null,
|
74
|
-
"ProfileGroup__c" : null,
|
75
|
-
"LatestDunningEmailSubject__c" : null,
|
76
|
-
"TestAccountField__c" : null,
|
77
|
-
"SuppressDunning__c" : "false",
|
78
|
-
"ACHVerificationCode__c" : null,
|
79
|
-
"CCemail__c" : null,
|
80
|
-
"publisher__c" : null,
|
81
|
-
"DellAffinityNo__c" : null,
|
82
|
-
"ACHVerificationTimestamp__c" : null,
|
83
|
-
"salesRep" : null,
|
84
|
-
"parentId" : null
|
85
|
-
},
|
86
|
-
"billingAndPayment" : {
|
87
|
-
"billCycleDay" : 15,
|
88
|
-
"currency" : "USD",
|
89
|
-
"paymentTerm" : "Due Upon Receipt",
|
90
|
-
"paymentGateway" : null,
|
91
|
-
"invoiceDeliveryPrefsPrint" : false,
|
92
|
-
"invoiceDeliveryPrefsEmail" : false,
|
93
|
-
"additionalEmailAddresses" : [ ]
|
94
|
-
},
|
95
|
-
"metrics" : {
|
96
|
-
"balance" : 0E-9,
|
97
|
-
"totalInvoiceBalance" : 0E-9,
|
98
|
-
"creditBalance" : 0E-9,
|
99
|
-
"contractedMrr" : 0E-9
|
100
|
-
},
|
101
|
-
"billToContact" : {
|
102
|
-
"address1" : null,
|
103
|
-
"address2" : null,
|
104
|
-
"city" : null,
|
105
|
-
"country" : "United States",
|
106
|
-
"county" : null,
|
107
|
-
"fax" : null,
|
108
|
-
"firstName" : "Test",
|
109
|
-
"homePhone" : null,
|
110
|
-
"lastName" : "User",
|
111
|
-
"mobilePhone" : null,
|
112
|
-
"nickname" : null,
|
113
|
-
"otherPhone" : null,
|
114
|
-
"otherPhoneType" : null,
|
115
|
-
"personalEmail" : null,
|
116
|
-
"state" : "Texas",
|
117
|
-
"taxRegion" : null,
|
118
|
-
"workEmail" : null,
|
119
|
-
"workPhone" : null,
|
120
|
-
"zipCode" : null,
|
121
|
-
"State2__c" : null,
|
122
|
-
"contactDescription" : null
|
123
|
-
},
|
124
|
-
"soldToContact" : {
|
125
|
-
"address1" : null,
|
126
|
-
"address2" : null,
|
127
|
-
"city" : null,
|
128
|
-
"country" : "United States",
|
129
|
-
"county" : null,
|
130
|
-
"fax" : null,
|
131
|
-
"firstName" : "Test",
|
132
|
-
"homePhone" : null,
|
133
|
-
"lastName" : "User",
|
134
|
-
"mobilePhone" : null,
|
135
|
-
"nickname" : null,
|
136
|
-
"otherPhone" : null,
|
137
|
-
"otherPhoneType" : null,
|
138
|
-
"personalEmail" : null,
|
139
|
-
"state" : "Texas",
|
140
|
-
"taxRegion" : null,
|
141
|
-
"workEmail" : null,
|
142
|
-
"workPhone" : null,
|
143
|
-
"zipCode" : null,
|
144
|
-
"State2__c" : null,
|
145
|
-
"contactDescription" : null
|
146
|
-
},
|
147
|
-
"taxInfo" : null,
|
148
|
-
"success" : true
|
149
|
-
}
|
150
|
-
http_version:
|
151
|
-
recorded_at: Thu, 21 Feb 2019 16:39:12 GMT
|
152
|
-
recorded_with: VCR 4.0.0
|
@@ -1,140 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://rest.zuora.com/v1/accounts/2c92a008690a61a0016910ecddc619d3/summary
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
|
-
apiAccessKeyId:
|
13
|
-
- "{ZUORA_USERNAME}"
|
14
|
-
apiSecretAccessKey:
|
15
|
-
- "{ZUORA_PASSWORD}"
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Content-Type:
|
22
|
-
- application/json;charset=utf-8
|
23
|
-
Content-Security-Policy-Report-Only:
|
24
|
-
- media-src 'none'; img-src 'self' *.zuora.com; object-src *.zuora.com; script-src
|
25
|
-
'unsafe-inline' 'unsafe-eval' 'self' https://api.tcell.io/; manifest-src 'none';
|
26
|
-
style-src 'unsafe-inline' 'self'; font-src 'self'; child-src 'none'; frame-src
|
27
|
-
'none'; connect-src 'self' https://api.tcell.io/ https://input.tcell.io/;
|
28
|
-
report-uri https://input.tcell.io/csp/8abeff14fea5928cf9f25296fca62aa1a75fa57a6f06ad15ea451d64a579f75c?rid=2063226540
|
29
|
-
Server:
|
30
|
-
- Zuora App
|
31
|
-
zuora-request-id:
|
32
|
-
- 06add1fe-e478-4e7a-aed9-007760ea9137
|
33
|
-
X-Kong-Upstream-Latency:
|
34
|
-
- '277'
|
35
|
-
X-Kong-Proxy-Latency:
|
36
|
-
- '0'
|
37
|
-
Expires:
|
38
|
-
- Thu, 21 Feb 2019 16:39:13 GMT
|
39
|
-
Cache-Control:
|
40
|
-
- max-age=0, no-cache, no-store
|
41
|
-
Pragma:
|
42
|
-
- no-cache
|
43
|
-
Date:
|
44
|
-
- Thu, 21 Feb 2019 16:39:13 GMT
|
45
|
-
Content-Length:
|
46
|
-
- '2232'
|
47
|
-
Connection:
|
48
|
-
- keep-alive
|
49
|
-
Set-Cookie:
|
50
|
-
- ZSession={ZUORA_SESSION_ID}; Path=/; Secure; HttpOnly
|
51
|
-
body:
|
52
|
-
encoding: UTF-8
|
53
|
-
string: |-
|
54
|
-
{
|
55
|
-
"basicInfo" : {
|
56
|
-
"id" : "2c92a008690a61a0016910ecddc619d3",
|
57
|
-
"name" : "Test Account",
|
58
|
-
"accountNumber" : "Z00324163",
|
59
|
-
"balance" : 0E-9,
|
60
|
-
"lastInvoiceDate" : null,
|
61
|
-
"lastPaymentDate" : null,
|
62
|
-
"lastPaymentAmount" : null,
|
63
|
-
"currency" : "USD",
|
64
|
-
"status" : "Active",
|
65
|
-
"batch" : "Batch1",
|
66
|
-
"billCycleDay" : 15,
|
67
|
-
"invoiceDeliveryPrefsPrint" : false,
|
68
|
-
"invoiceDeliveryPrefsEmail" : false,
|
69
|
-
"additionalEmailAddresses" : [ ],
|
70
|
-
"Bucket2__c" : null,
|
71
|
-
"Bucket3__c" : null,
|
72
|
-
"Bucket4__c" : null,
|
73
|
-
"Bucket1__c" : null,
|
74
|
-
"memberid__c" : null,
|
75
|
-
"LineofBusiness__c" : null,
|
76
|
-
"BucketTotal__c" : null,
|
77
|
-
"BusinessUnit__c" : null,
|
78
|
-
"VATNumber__c" : null,
|
79
|
-
"ProfileGroup__c" : null,
|
80
|
-
"LatestDunningEmailSubject__c" : null,
|
81
|
-
"TestAccountField__c" : null,
|
82
|
-
"SuppressDunning__c" : "false",
|
83
|
-
"ACHVerificationCode__c" : null,
|
84
|
-
"CCemail__c" : null,
|
85
|
-
"publisher__c" : null,
|
86
|
-
"DellAffinityNo__c" : null,
|
87
|
-
"ACHVerificationTimestamp__c" : null,
|
88
|
-
"defaultPaymentMethod" : {
|
89
|
-
"id" : "2c92a008690a61a0016910ecde1719d9",
|
90
|
-
"paymentMethodType" : "CreditCard",
|
91
|
-
"creditCardNumber" : "************1111",
|
92
|
-
"creditCardExpirationMonth" : 12,
|
93
|
-
"creditCardExpirationYear" : 2099,
|
94
|
-
"creditCardType" : "Visa"
|
95
|
-
}
|
96
|
-
},
|
97
|
-
"billToContact" : {
|
98
|
-
"id" : "2c92a008690a61a0016910ecdde419d4",
|
99
|
-
"firstName" : "Test",
|
100
|
-
"lastName" : "User",
|
101
|
-
"address1" : null,
|
102
|
-
"address2" : null,
|
103
|
-
"city" : null,
|
104
|
-
"county" : null,
|
105
|
-
"state" : "Texas",
|
106
|
-
"zipCode" : null,
|
107
|
-
"country" : "United States",
|
108
|
-
"workEmail" : null,
|
109
|
-
"workPhone" : null,
|
110
|
-
"taxRegion" : null,
|
111
|
-
"fax" : null,
|
112
|
-
"State2__c" : null
|
113
|
-
},
|
114
|
-
"soldToContact" : {
|
115
|
-
"id" : "2c92a008690a61a0016910ecddef19d6",
|
116
|
-
"firstName" : "Test",
|
117
|
-
"lastName" : "User",
|
118
|
-
"address1" : null,
|
119
|
-
"address2" : null,
|
120
|
-
"city" : null,
|
121
|
-
"county" : null,
|
122
|
-
"state" : "Texas",
|
123
|
-
"zipCode" : null,
|
124
|
-
"country" : "United States",
|
125
|
-
"workEmail" : null,
|
126
|
-
"workPhone" : null,
|
127
|
-
"taxRegion" : null,
|
128
|
-
"fax" : null,
|
129
|
-
"State2__c" : null
|
130
|
-
},
|
131
|
-
"taxInfo" : null,
|
132
|
-
"subscriptions" : [ ],
|
133
|
-
"invoices" : [ ],
|
134
|
-
"payments" : [ ],
|
135
|
-
"usage" : [ ],
|
136
|
-
"success" : true
|
137
|
-
}
|
138
|
-
http_version:
|
139
|
-
recorded_at: Thu, 21 Feb 2019 16:39:13 GMT
|
140
|
-
recorded_with: VCR 4.0.0
|
@@ -1,99 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: put
|
5
|
-
uri: https://rest.zuora.com/v1/object/account/2c92a0fc690db104016910ece4fc24fe
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"Batch":"Batch2"}'
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
|
-
apiAccessKeyId:
|
13
|
-
- "{ZUORA_USERNAME}"
|
14
|
-
apiSecretAccessKey:
|
15
|
-
- "{ZUORA_PASSWORD}"
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Content-Type:
|
22
|
-
- application/json; charset=utf-8
|
23
|
-
Server:
|
24
|
-
- kong/0.9.9
|
25
|
-
zuora-request-id:
|
26
|
-
- 18925c23-a413-4f70-aa15-6be9c51480d9
|
27
|
-
X-Kong-Upstream-Latency:
|
28
|
-
- '39'
|
29
|
-
X-Kong-Proxy-Latency:
|
30
|
-
- '0'
|
31
|
-
Expires:
|
32
|
-
- Thu, 21 Feb 2019 16:39:14 GMT
|
33
|
-
Cache-Control:
|
34
|
-
- max-age=0, no-cache, no-store
|
35
|
-
Pragma:
|
36
|
-
- no-cache
|
37
|
-
Date:
|
38
|
-
- Thu, 21 Feb 2019 16:39:14 GMT
|
39
|
-
Content-Length:
|
40
|
-
- '57'
|
41
|
-
Connection:
|
42
|
-
- keep-alive
|
43
|
-
body:
|
44
|
-
encoding: UTF-8
|
45
|
-
string: '{"Success":true,"Id":"2c92a0fc690db104016910ece4fc24fe"}
|
46
|
-
|
47
|
-
'
|
48
|
-
http_version:
|
49
|
-
recorded_at: Thu, 21 Feb 2019 16:39:14 GMT
|
50
|
-
- request:
|
51
|
-
method: get
|
52
|
-
uri: https://rest.zuora.com/v1/object/account/2c92a0fc690db104016910ece4fc24fe
|
53
|
-
body:
|
54
|
-
encoding: US-ASCII
|
55
|
-
string: ''
|
56
|
-
headers:
|
57
|
-
Content-Type:
|
58
|
-
- application/json
|
59
|
-
apiAccessKeyId:
|
60
|
-
- "{ZUORA_USERNAME}"
|
61
|
-
apiSecretAccessKey:
|
62
|
-
- "{ZUORA_PASSWORD}"
|
63
|
-
response:
|
64
|
-
status:
|
65
|
-
code: 200
|
66
|
-
message: OK
|
67
|
-
headers:
|
68
|
-
Content-Type:
|
69
|
-
- application/json; charset=utf-8
|
70
|
-
Server:
|
71
|
-
- kong/0.9.9
|
72
|
-
zuora-request-id:
|
73
|
-
- eb23bfab-5866-4e43-9364-a72847924137
|
74
|
-
X-Kong-Upstream-Latency:
|
75
|
-
- '34'
|
76
|
-
X-Kong-Proxy-Latency:
|
77
|
-
- '0'
|
78
|
-
Expires:
|
79
|
-
- Thu, 21 Feb 2019 16:39:14 GMT
|
80
|
-
Cache-Control:
|
81
|
-
- max-age=0, no-cache, no-store
|
82
|
-
Pragma:
|
83
|
-
- no-cache
|
84
|
-
Date:
|
85
|
-
- Thu, 21 Feb 2019 16:39:14 GMT
|
86
|
-
Content-Length:
|
87
|
-
- '662'
|
88
|
-
Connection:
|
89
|
-
- keep-alive
|
90
|
-
body:
|
91
|
-
encoding: UTF-8
|
92
|
-
string: '{"AccountNumber":"Z00324164","AllowInvoiceEdit":false,"InvoiceTemplateId":"2c92a0fb49377eae0149505ce4814ece","AutoPay":false,"InvoiceDeliveryPrefsPrint":false,"UpdatedDate":"2019-02-21T11:39:14.000-05:00","CreditBalance":0,"BillCycleDay":15,"BcdSettingOption":"ManualSet","PaymentTerm":"Due
|
93
|
-
Upon Receipt","SuppressDunning__c":"false","Batch":"Batch2","CreatedById":"2c92a0fe5d8298e1015da3596e331713","CreatedDate":"2019-02-21T11:39:14.000-05:00","Name":"Test
|
94
|
-
Account","Balance":0,"Id":"2c92a0fc690db104016910ece4fc24fe","InvoiceDeliveryPrefsEmail":false,"Currency":"USD","Status":"Draft","TotalInvoiceBalance":0,"UpdatedById":"2c92a0fe5d8298e1015da3596e331713"}
|
95
|
-
|
96
|
-
'
|
97
|
-
http_version:
|
98
|
-
recorded_at: Thu, 21 Feb 2019 16:39:14 GMT
|
99
|
-
recorded_with: VCR 4.0.0
|
@@ -1,208 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: put
|
5
|
-
uri: https://rest.zuora.com/v1/accounts/2c92a008690a61a0016910ecddc619d3
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"batch":"Batch2"}'
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
|
-
apiAccessKeyId:
|
13
|
-
- "{ZUORA_USERNAME}"
|
14
|
-
apiSecretAccessKey:
|
15
|
-
- "{ZUORA_PASSWORD}"
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Content-Type:
|
22
|
-
- application/json;charset=utf-8
|
23
|
-
Content-Security-Policy-Report-Only:
|
24
|
-
- media-src 'none'; img-src 'self' *.zuora.com; object-src *.zuora.com; script-src
|
25
|
-
'unsafe-inline' 'unsafe-eval' 'self' https://api.tcell.io/; manifest-src 'none';
|
26
|
-
style-src 'unsafe-inline' 'self'; font-src 'self'; child-src 'none'; frame-src
|
27
|
-
'none'; connect-src 'self' https://api.tcell.io/ https://input.tcell.io/;
|
28
|
-
report-uri https://input.tcell.io/csp/8abeff14fea5928cf9f25296fca62aa1a75fa57a6f06ad15ea451d64a579f75c?rid=1408685395
|
29
|
-
Server:
|
30
|
-
- Zuora App
|
31
|
-
zuora-request-id:
|
32
|
-
- cb12db93-8402-49a6-86fc-58e0964ddf03
|
33
|
-
X-Kong-Upstream-Latency:
|
34
|
-
- '64'
|
35
|
-
X-Kong-Proxy-Latency:
|
36
|
-
- '0'
|
37
|
-
Expires:
|
38
|
-
- Thu, 21 Feb 2019 16:39:13 GMT
|
39
|
-
Cache-Control:
|
40
|
-
- max-age=0, no-cache, no-store
|
41
|
-
Pragma:
|
42
|
-
- no-cache
|
43
|
-
Date:
|
44
|
-
- Thu, 21 Feb 2019 16:39:13 GMT
|
45
|
-
Content-Length:
|
46
|
-
- '22'
|
47
|
-
Connection:
|
48
|
-
- keep-alive
|
49
|
-
Set-Cookie:
|
50
|
-
- ZSession={ZUORA_SESSION_ID}; Path=/; Secure; HttpOnly
|
51
|
-
body:
|
52
|
-
encoding: UTF-8
|
53
|
-
string: |-
|
54
|
-
{
|
55
|
-
"success" : true
|
56
|
-
}
|
57
|
-
http_version:
|
58
|
-
recorded_at: Thu, 21 Feb 2019 16:39:13 GMT
|
59
|
-
- request:
|
60
|
-
method: get
|
61
|
-
uri: https://rest.zuora.com/v1/accounts/2c92a008690a61a0016910ecddc619d3
|
62
|
-
body:
|
63
|
-
encoding: US-ASCII
|
64
|
-
string: ''
|
65
|
-
headers:
|
66
|
-
Content-Type:
|
67
|
-
- application/json
|
68
|
-
apiAccessKeyId:
|
69
|
-
- "{ZUORA_USERNAME}"
|
70
|
-
apiSecretAccessKey:
|
71
|
-
- "{ZUORA_PASSWORD}"
|
72
|
-
response:
|
73
|
-
status:
|
74
|
-
code: 200
|
75
|
-
message: OK
|
76
|
-
headers:
|
77
|
-
Content-Type:
|
78
|
-
- application/json;charset=utf-8
|
79
|
-
Content-Security-Policy-Report-Only:
|
80
|
-
- media-src 'none'; img-src 'self' *.zuora.com; object-src *.zuora.com; script-src
|
81
|
-
'unsafe-inline' 'unsafe-eval' 'self' https://api.tcell.io/; manifest-src 'none';
|
82
|
-
style-src 'unsafe-inline' 'self'; font-src 'self'; child-src 'none'; frame-src
|
83
|
-
'none'; connect-src 'self' https://api.tcell.io/ https://input.tcell.io/;
|
84
|
-
report-uri https://input.tcell.io/csp/8abeff14fea5928cf9f25296fca62aa1a75fa57a6f06ad15ea451d64a579f75c?rid=2063226540
|
85
|
-
Server:
|
86
|
-
- Zuora App
|
87
|
-
zuora-request-id:
|
88
|
-
- 52b6e090-1f98-43fa-9b14-7dd8b8156a02
|
89
|
-
X-Kong-Upstream-Latency:
|
90
|
-
- '50'
|
91
|
-
X-Kong-Proxy-Latency:
|
92
|
-
- '0'
|
93
|
-
Expires:
|
94
|
-
- Thu, 21 Feb 2019 16:39:13 GMT
|
95
|
-
Cache-Control:
|
96
|
-
- max-age=0, no-cache, no-store
|
97
|
-
Pragma:
|
98
|
-
- no-cache
|
99
|
-
Date:
|
100
|
-
- Thu, 21 Feb 2019 16:39:13 GMT
|
101
|
-
Content-Length:
|
102
|
-
- '2445'
|
103
|
-
Connection:
|
104
|
-
- keep-alive
|
105
|
-
Set-Cookie:
|
106
|
-
- ZSession={ZUORA_SESSION_ID}; Path=/; Secure; HttpOnly
|
107
|
-
body:
|
108
|
-
encoding: UTF-8
|
109
|
-
string: |-
|
110
|
-
{
|
111
|
-
"basicInfo" : {
|
112
|
-
"id" : "2c92a008690a61a0016910ecddc619d3",
|
113
|
-
"name" : "Test Account",
|
114
|
-
"accountNumber" : "Z00324163",
|
115
|
-
"notes" : null,
|
116
|
-
"status" : "Active",
|
117
|
-
"crmId" : null,
|
118
|
-
"batch" : "Batch2",
|
119
|
-
"invoiceTemplateId" : "2c92a0fb49377eae0149505ce4814ece",
|
120
|
-
"communicationProfileId" : null,
|
121
|
-
"Bucket2__c" : null,
|
122
|
-
"Bucket3__c" : null,
|
123
|
-
"Bucket4__c" : null,
|
124
|
-
"Bucket1__c" : null,
|
125
|
-
"memberid__c" : null,
|
126
|
-
"LineofBusiness__c" : null,
|
127
|
-
"BucketTotal__c" : null,
|
128
|
-
"BusinessUnit__c" : null,
|
129
|
-
"VATNumber__c" : null,
|
130
|
-
"ProfileGroup__c" : null,
|
131
|
-
"LatestDunningEmailSubject__c" : null,
|
132
|
-
"TestAccountField__c" : null,
|
133
|
-
"SuppressDunning__c" : "false",
|
134
|
-
"ACHVerificationCode__c" : null,
|
135
|
-
"CCemail__c" : null,
|
136
|
-
"publisher__c" : null,
|
137
|
-
"DellAffinityNo__c" : null,
|
138
|
-
"ACHVerificationTimestamp__c" : null,
|
139
|
-
"salesRep" : null,
|
140
|
-
"parentId" : null
|
141
|
-
},
|
142
|
-
"billingAndPayment" : {
|
143
|
-
"billCycleDay" : 15,
|
144
|
-
"currency" : "USD",
|
145
|
-
"paymentTerm" : "Due Upon Receipt",
|
146
|
-
"paymentGateway" : null,
|
147
|
-
"invoiceDeliveryPrefsPrint" : false,
|
148
|
-
"invoiceDeliveryPrefsEmail" : false,
|
149
|
-
"additionalEmailAddresses" : [ ]
|
150
|
-
},
|
151
|
-
"metrics" : {
|
152
|
-
"balance" : 0E-9,
|
153
|
-
"totalInvoiceBalance" : 0E-9,
|
154
|
-
"creditBalance" : 0E-9,
|
155
|
-
"contractedMrr" : 0E-9
|
156
|
-
},
|
157
|
-
"billToContact" : {
|
158
|
-
"address1" : null,
|
159
|
-
"address2" : null,
|
160
|
-
"city" : null,
|
161
|
-
"country" : "United States",
|
162
|
-
"county" : null,
|
163
|
-
"fax" : null,
|
164
|
-
"firstName" : "Test",
|
165
|
-
"homePhone" : null,
|
166
|
-
"lastName" : "User",
|
167
|
-
"mobilePhone" : null,
|
168
|
-
"nickname" : null,
|
169
|
-
"otherPhone" : null,
|
170
|
-
"otherPhoneType" : null,
|
171
|
-
"personalEmail" : null,
|
172
|
-
"state" : "Texas",
|
173
|
-
"taxRegion" : null,
|
174
|
-
"workEmail" : null,
|
175
|
-
"workPhone" : null,
|
176
|
-
"zipCode" : null,
|
177
|
-
"State2__c" : null,
|
178
|
-
"contactDescription" : null
|
179
|
-
},
|
180
|
-
"soldToContact" : {
|
181
|
-
"address1" : null,
|
182
|
-
"address2" : null,
|
183
|
-
"city" : null,
|
184
|
-
"country" : "United States",
|
185
|
-
"county" : null,
|
186
|
-
"fax" : null,
|
187
|
-
"firstName" : "Test",
|
188
|
-
"homePhone" : null,
|
189
|
-
"lastName" : "User",
|
190
|
-
"mobilePhone" : null,
|
191
|
-
"nickname" : null,
|
192
|
-
"otherPhone" : null,
|
193
|
-
"otherPhoneType" : null,
|
194
|
-
"personalEmail" : null,
|
195
|
-
"state" : "Texas",
|
196
|
-
"taxRegion" : null,
|
197
|
-
"workEmail" : null,
|
198
|
-
"workPhone" : null,
|
199
|
-
"zipCode" : null,
|
200
|
-
"State2__c" : null,
|
201
|
-
"contactDescription" : null
|
202
|
-
},
|
203
|
-
"taxInfo" : null,
|
204
|
-
"success" : true
|
205
|
-
}
|
206
|
-
http_version:
|
207
|
-
recorded_at: Thu, 21 Feb 2019 16:39:13 GMT
|
208
|
-
recorded_with: VCR 4.0.0
|