jortt 3.0.0 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/rspec.yml +40 -0
- data/.ruby-version +1 -1
- data/README.md +81 -46
- data/Rakefile +0 -1
- data/jortt.gemspec +10 -10
- data/lib/jortt.rb +0 -1
- data/lib/jortt/client.rb +75 -23
- data/lib/jortt/client/customers.rb +91 -0
- data/lib/jortt/client/error.rb +33 -0
- data/lib/jortt/client/invoices.rb +80 -0
- data/lib/jortt/client/ledger_accounts.rb +27 -0
- data/lib/jortt/client/version.rb +1 -2
- data/spec/fixtures/vcr_cassettes/Jortt/_client/1_1_1.yml +64 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client/configured/_customers/1_1_1_1.yml +64 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client/configured/_invoices/1_1_2_1.yml +64 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client/configured/_ledger_accounts/1_1_3_1.yml +64 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Customers/_create/faulty_payload/shows_a_nice_error.yml +413 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Customers/_create/valid_payload/creates_the_customer.yml +505 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Customers/_delete/deletes_the_customer.yml +505 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Customers/_direct_debit_mandate/sends_direct_debit_mandate_to_the_customer_or_responds_with_an_error_when_not_possible.yml +470 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Customers/_index/query/returns_the_queried_customers.yml +464 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Customers/_index/without_params/returns_customers.yml +415 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Customers/_show/returns_the_customer.yml +464 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Customers/_update/updates_the_customer.yml +603 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Invoices/_create/creates_the_invoice.yml +170 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Invoices/_credit/credits_the_invoice.yml +374 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Invoices/_download/returns_the_invoice_download_link.yml +168 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Invoices/_index/invoice_status/returns_those_invoices.yml +776 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Invoices/_index/query/returns_the_queried_invoices.yml +315 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_Invoices/_show/returns_the_invoice.yml +421 -0
- data/spec/fixtures/vcr_cassettes/Jortt_Client_LedgerAccounts/_index/returns_invoices.yml +118 -0
- data/spec/jortt/client/customers_spec.rb +104 -0
- data/spec/jortt/client/invoices_spec.rb +129 -0
- data/spec/jortt/client/ledger_accounts_spec.rb +19 -0
- data/spec/jortt/client_spec.rb +9 -30
- data/spec/{freemle_spec.rb → jortt_spec.rb} +2 -3
- data/spec/spec_helper.rb +18 -4
- metadata +95 -46
- data/.rubocop.yml +0 -26
- data/.travis.yml +0 -7
- data/lib/jortt/client/resource.rb +0 -140
- data/spec/jortt/client/resource_spec.rb +0 -31
data/spec/fixtures/vcr_cassettes/Jortt_Client_Customers/_index/without_params/returns_customers.yml
ADDED
@@ -0,0 +1,415 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: delete
|
5
|
+
uri: https://api.jortt.nl/customers/56c5373a-e0f1-45a1-ad3a-17989429e53d
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v1.0.1
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- "*/*"
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 204
|
19
|
+
message: No Content
|
20
|
+
headers:
|
21
|
+
Date:
|
22
|
+
- Thu, 24 Sep 2020 15:02:47 GMT
|
23
|
+
Connection:
|
24
|
+
- keep-alive
|
25
|
+
Server:
|
26
|
+
- Apache
|
27
|
+
Status:
|
28
|
+
- 204 No Content
|
29
|
+
Content-Security-Policy:
|
30
|
+
- 'default-src ''self'' ''unsafe-inline'' blob: data: *.jortt.nl; script-src
|
31
|
+
''self'' ''unsafe-eval'' blob: ''unsafe-inline'' files.jortt.nl *.googletagmanager.com
|
32
|
+
*.uservoice.com inlinemanual.com *.google-analytics.com *.googleadservices.com
|
33
|
+
bat.bing.com tapfiliate.com static.ads-twitter.com tagmanager.google.com analytics.twitter.com
|
34
|
+
https://connect.facebook.net https://app.inlinemanual.com; connect-src
|
35
|
+
''self'' https://*.jortt.nl wss://*.jortt.nl analytics.inlinemanual.com files.jortt.nl
|
36
|
+
www.google-analytics.com stats.g.doubleclick.net file-storage-app-production.s3.eu-central-1.amazonaws.com
|
37
|
+
https://app.inlinemanual.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com
|
38
|
+
files.jortt.nl tagmanager.google.com https://app.inlinemanual.com; font-src
|
39
|
+
''self'' data: fonts.gstatic.com files.jortt.nl https://app.inlinemanual.com; frame-src
|
40
|
+
''self'' *.jortt.nl files.jortt.nl b.frstre.com beacon.tapfiliate.com jortt.uservoice.com
|
41
|
+
*.vimeo.com https://connect.facebook.net; img-src ''self'' blob: data:
|
42
|
+
*.jortt.nl https://www.facebook.com files.jortt.nl www.google-analytics.com
|
43
|
+
stats.g.doubleclick.net www.google.nl www.google.com bat.bing.com googleads.g.doubleclick.net
|
44
|
+
https://www.googletagmanager.com https://widget.uservoice.com www.google.de
|
45
|
+
t.co *.gstatic.com https://ssl.google-analytics.com https://app.inlinemanual.com'
|
46
|
+
body:
|
47
|
+
encoding: UTF-8
|
48
|
+
string: ''
|
49
|
+
recorded_at: Thu, 24 Sep 2020 15:02:47 GMT
|
50
|
+
- request:
|
51
|
+
method: delete
|
52
|
+
uri: https://api.jortt.nl/customers/c77548af-3260-4df4-b8f3-5bdc53f0fb60
|
53
|
+
body:
|
54
|
+
encoding: US-ASCII
|
55
|
+
string: ''
|
56
|
+
headers:
|
57
|
+
User-Agent:
|
58
|
+
- Faraday v1.0.1
|
59
|
+
Accept-Encoding:
|
60
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
61
|
+
Accept:
|
62
|
+
- "*/*"
|
63
|
+
response:
|
64
|
+
status:
|
65
|
+
code: 204
|
66
|
+
message: No Content
|
67
|
+
headers:
|
68
|
+
Date:
|
69
|
+
- Thu, 24 Sep 2020 15:02:47 GMT
|
70
|
+
Connection:
|
71
|
+
- keep-alive
|
72
|
+
Server:
|
73
|
+
- Apache
|
74
|
+
Status:
|
75
|
+
- 204 No Content
|
76
|
+
Content-Security-Policy:
|
77
|
+
- 'default-src ''self'' ''unsafe-inline'' blob: data: *.jortt.nl; script-src
|
78
|
+
''self'' ''unsafe-eval'' blob: ''unsafe-inline'' files.jortt.nl *.googletagmanager.com
|
79
|
+
*.uservoice.com inlinemanual.com *.google-analytics.com *.googleadservices.com
|
80
|
+
bat.bing.com tapfiliate.com static.ads-twitter.com tagmanager.google.com analytics.twitter.com
|
81
|
+
https://connect.facebook.net https://app.inlinemanual.com; connect-src
|
82
|
+
''self'' https://*.jortt.nl wss://*.jortt.nl analytics.inlinemanual.com files.jortt.nl
|
83
|
+
www.google-analytics.com stats.g.doubleclick.net file-storage-app-production.s3.eu-central-1.amazonaws.com
|
84
|
+
https://app.inlinemanual.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com
|
85
|
+
files.jortt.nl tagmanager.google.com https://app.inlinemanual.com; font-src
|
86
|
+
''self'' data: fonts.gstatic.com files.jortt.nl https://app.inlinemanual.com; frame-src
|
87
|
+
''self'' *.jortt.nl files.jortt.nl b.frstre.com beacon.tapfiliate.com jortt.uservoice.com
|
88
|
+
*.vimeo.com https://connect.facebook.net; img-src ''self'' blob: data:
|
89
|
+
*.jortt.nl https://www.facebook.com files.jortt.nl www.google-analytics.com
|
90
|
+
stats.g.doubleclick.net www.google.nl www.google.com bat.bing.com googleads.g.doubleclick.net
|
91
|
+
https://www.googletagmanager.com https://widget.uservoice.com www.google.de
|
92
|
+
t.co *.gstatic.com https://ssl.google-analytics.com https://app.inlinemanual.com'
|
93
|
+
body:
|
94
|
+
encoding: UTF-8
|
95
|
+
string: ''
|
96
|
+
recorded_at: Thu, 24 Sep 2020 15:02:47 GMT
|
97
|
+
- request:
|
98
|
+
method: post
|
99
|
+
uri: https://app.jortt.nl/oauth-provider/oauth/token
|
100
|
+
body:
|
101
|
+
encoding: UTF-8
|
102
|
+
string: grant_type=client_credentials&scope=invoices%3Aread+invoices%3Awrite+customers%3Aread+customers%3Awrite
|
103
|
+
headers:
|
104
|
+
User-Agent:
|
105
|
+
- Faraday v1.0.1
|
106
|
+
Content-Type:
|
107
|
+
- application/x-www-form-urlencoded
|
108
|
+
Accept-Encoding:
|
109
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
110
|
+
Accept:
|
111
|
+
- "*/*"
|
112
|
+
response:
|
113
|
+
status:
|
114
|
+
code: 200
|
115
|
+
message: OK
|
116
|
+
headers:
|
117
|
+
Date:
|
118
|
+
- Thu, 24 Sep 2020 15:03:22 GMT
|
119
|
+
Content-Type:
|
120
|
+
- application/json; charset=utf-8
|
121
|
+
Transfer-Encoding:
|
122
|
+
- chunked
|
123
|
+
Connection:
|
124
|
+
- keep-alive
|
125
|
+
Status:
|
126
|
+
- 200 OK
|
127
|
+
Cache-Control:
|
128
|
+
- private, no-store
|
129
|
+
Referrer-Policy:
|
130
|
+
- strict-origin-when-cross-origin
|
131
|
+
X-Permitted-Cross-Domain-Policies:
|
132
|
+
- none
|
133
|
+
Pragma:
|
134
|
+
- no-cache
|
135
|
+
X-Xss-Protection:
|
136
|
+
- 1; mode=block
|
137
|
+
X-Request-Id:
|
138
|
+
- 7bd9724a-2270-43b1-857b-aa37055c4fc1
|
139
|
+
X-Download-Options:
|
140
|
+
- noopen
|
141
|
+
Etag:
|
142
|
+
- W/"2712fb1beb7bc4266ac7ea32ce36df91"
|
143
|
+
X-Frame-Options:
|
144
|
+
- SAMEORIGIN
|
145
|
+
X-Runtime:
|
146
|
+
- '0.319082'
|
147
|
+
X-Content-Type-Options:
|
148
|
+
- nosniff
|
149
|
+
X-Powered-By:
|
150
|
+
- Phusion Passenger
|
151
|
+
Server:
|
152
|
+
- nginx + Phusion Passenger
|
153
|
+
body:
|
154
|
+
encoding: UTF-8
|
155
|
+
string: '{"access_token":"hZSNY6aCeNHHDA_w4Qw-VYQuJejo0t8gFJpLWZrRq-A","token_type":"Bearer","expires_in":7200,"scope":"invoices:read
|
156
|
+
invoices:write customers:read customers:write","created_at":1600959802}'
|
157
|
+
recorded_at: Thu, 24 Sep 2020 15:03:22 GMT
|
158
|
+
- request:
|
159
|
+
method: post
|
160
|
+
uri: https://api.jortt.nl/customers?customer_name=Jane%20Doe&is_private=true
|
161
|
+
body:
|
162
|
+
encoding: UTF-8
|
163
|
+
string: ''
|
164
|
+
headers:
|
165
|
+
User-Agent:
|
166
|
+
- Faraday v1.0.1
|
167
|
+
Content-Length:
|
168
|
+
- '0'
|
169
|
+
Accept-Encoding:
|
170
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
171
|
+
Accept:
|
172
|
+
- "*/*"
|
173
|
+
response:
|
174
|
+
status:
|
175
|
+
code: 201
|
176
|
+
message: Created
|
177
|
+
headers:
|
178
|
+
Date:
|
179
|
+
- Thu, 24 Sep 2020 15:03:22 GMT
|
180
|
+
Content-Type:
|
181
|
+
- application/json
|
182
|
+
Content-Length:
|
183
|
+
- '54'
|
184
|
+
Connection:
|
185
|
+
- keep-alive
|
186
|
+
Server:
|
187
|
+
- Apache
|
188
|
+
Status:
|
189
|
+
- 201 Created
|
190
|
+
Content-Security-Policy:
|
191
|
+
- 'default-src ''self'' ''unsafe-inline'' blob: data: *.jortt.nl; script-src
|
192
|
+
''self'' ''unsafe-eval'' blob: ''unsafe-inline'' files.jortt.nl *.googletagmanager.com
|
193
|
+
*.uservoice.com inlinemanual.com *.google-analytics.com *.googleadservices.com
|
194
|
+
bat.bing.com tapfiliate.com static.ads-twitter.com tagmanager.google.com analytics.twitter.com
|
195
|
+
https://connect.facebook.net https://app.inlinemanual.com; connect-src
|
196
|
+
''self'' https://*.jortt.nl wss://*.jortt.nl analytics.inlinemanual.com files.jortt.nl
|
197
|
+
www.google-analytics.com stats.g.doubleclick.net file-storage-app-production.s3.eu-central-1.amazonaws.com
|
198
|
+
https://app.inlinemanual.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com
|
199
|
+
files.jortt.nl tagmanager.google.com https://app.inlinemanual.com; font-src
|
200
|
+
''self'' data: fonts.gstatic.com files.jortt.nl https://app.inlinemanual.com; frame-src
|
201
|
+
''self'' *.jortt.nl files.jortt.nl b.frstre.com beacon.tapfiliate.com jortt.uservoice.com
|
202
|
+
*.vimeo.com https://connect.facebook.net; img-src ''self'' blob: data:
|
203
|
+
*.jortt.nl https://www.facebook.com files.jortt.nl www.google-analytics.com
|
204
|
+
stats.g.doubleclick.net www.google.nl www.google.com bat.bing.com googleads.g.doubleclick.net
|
205
|
+
https://www.googletagmanager.com https://widget.uservoice.com www.google.de
|
206
|
+
t.co *.gstatic.com https://ssl.google-analytics.com https://app.inlinemanual.com'
|
207
|
+
body:
|
208
|
+
encoding: UTF-8
|
209
|
+
string: '{"data":{"id":"97dee356-0b9e-4ba4-a9a8-e787012c2cb1"}}'
|
210
|
+
recorded_at: Thu, 24 Sep 2020 15:03:22 GMT
|
211
|
+
- request:
|
212
|
+
method: post
|
213
|
+
uri: https://api.jortt.nl/customers?customer_name=John%20Doe&is_private=true
|
214
|
+
body:
|
215
|
+
encoding: UTF-8
|
216
|
+
string: ''
|
217
|
+
headers:
|
218
|
+
User-Agent:
|
219
|
+
- Faraday v1.0.1
|
220
|
+
Content-Length:
|
221
|
+
- '0'
|
222
|
+
Accept-Encoding:
|
223
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
224
|
+
Accept:
|
225
|
+
- "*/*"
|
226
|
+
response:
|
227
|
+
status:
|
228
|
+
code: 201
|
229
|
+
message: Created
|
230
|
+
headers:
|
231
|
+
Date:
|
232
|
+
- Thu, 24 Sep 2020 15:03:22 GMT
|
233
|
+
Content-Type:
|
234
|
+
- application/json
|
235
|
+
Content-Length:
|
236
|
+
- '54'
|
237
|
+
Connection:
|
238
|
+
- keep-alive
|
239
|
+
Server:
|
240
|
+
- Apache
|
241
|
+
Status:
|
242
|
+
- 201 Created
|
243
|
+
Content-Security-Policy:
|
244
|
+
- 'default-src ''self'' ''unsafe-inline'' blob: data: *.jortt.nl; script-src
|
245
|
+
''self'' ''unsafe-eval'' blob: ''unsafe-inline'' files.jortt.nl *.googletagmanager.com
|
246
|
+
*.uservoice.com inlinemanual.com *.google-analytics.com *.googleadservices.com
|
247
|
+
bat.bing.com tapfiliate.com static.ads-twitter.com tagmanager.google.com analytics.twitter.com
|
248
|
+
https://connect.facebook.net https://app.inlinemanual.com; connect-src
|
249
|
+
''self'' https://*.jortt.nl wss://*.jortt.nl analytics.inlinemanual.com files.jortt.nl
|
250
|
+
www.google-analytics.com stats.g.doubleclick.net file-storage-app-production.s3.eu-central-1.amazonaws.com
|
251
|
+
https://app.inlinemanual.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com
|
252
|
+
files.jortt.nl tagmanager.google.com https://app.inlinemanual.com; font-src
|
253
|
+
''self'' data: fonts.gstatic.com files.jortt.nl https://app.inlinemanual.com; frame-src
|
254
|
+
''self'' *.jortt.nl files.jortt.nl b.frstre.com beacon.tapfiliate.com jortt.uservoice.com
|
255
|
+
*.vimeo.com https://connect.facebook.net; img-src ''self'' blob: data:
|
256
|
+
*.jortt.nl https://www.facebook.com files.jortt.nl www.google-analytics.com
|
257
|
+
stats.g.doubleclick.net www.google.nl www.google.com bat.bing.com googleads.g.doubleclick.net
|
258
|
+
https://www.googletagmanager.com https://widget.uservoice.com www.google.de
|
259
|
+
t.co *.gstatic.com https://ssl.google-analytics.com https://app.inlinemanual.com'
|
260
|
+
body:
|
261
|
+
encoding: UTF-8
|
262
|
+
string: '{"data":{"id":"49a5b92a-e33a-4001-b290-462de0fbab39"}}'
|
263
|
+
recorded_at: Thu, 24 Sep 2020 15:03:22 GMT
|
264
|
+
- request:
|
265
|
+
method: get
|
266
|
+
uri: https://api.jortt.nl/customers?page=1&query
|
267
|
+
body:
|
268
|
+
encoding: US-ASCII
|
269
|
+
string: ''
|
270
|
+
headers:
|
271
|
+
User-Agent:
|
272
|
+
- Faraday v1.0.1
|
273
|
+
Accept-Encoding:
|
274
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
275
|
+
Accept:
|
276
|
+
- "*/*"
|
277
|
+
response:
|
278
|
+
status:
|
279
|
+
code: 200
|
280
|
+
message: OK
|
281
|
+
headers:
|
282
|
+
Date:
|
283
|
+
- Thu, 24 Sep 2020 15:03:22 GMT
|
284
|
+
Content-Type:
|
285
|
+
- application/json
|
286
|
+
Content-Length:
|
287
|
+
- '2482'
|
288
|
+
Connection:
|
289
|
+
- keep-alive
|
290
|
+
Server:
|
291
|
+
- Apache
|
292
|
+
Status:
|
293
|
+
- 200 OK
|
294
|
+
Content-Security-Policy:
|
295
|
+
- 'default-src ''self'' ''unsafe-inline'' blob: data: *.jortt.nl; script-src
|
296
|
+
''self'' ''unsafe-eval'' blob: ''unsafe-inline'' files.jortt.nl *.googletagmanager.com
|
297
|
+
*.uservoice.com inlinemanual.com *.google-analytics.com *.googleadservices.com
|
298
|
+
bat.bing.com tapfiliate.com static.ads-twitter.com tagmanager.google.com analytics.twitter.com
|
299
|
+
https://connect.facebook.net https://app.inlinemanual.com; connect-src
|
300
|
+
''self'' https://*.jortt.nl wss://*.jortt.nl analytics.inlinemanual.com files.jortt.nl
|
301
|
+
www.google-analytics.com stats.g.doubleclick.net file-storage-app-production.s3.eu-central-1.amazonaws.com
|
302
|
+
https://app.inlinemanual.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com
|
303
|
+
files.jortt.nl tagmanager.google.com https://app.inlinemanual.com; font-src
|
304
|
+
''self'' data: fonts.gstatic.com files.jortt.nl https://app.inlinemanual.com; frame-src
|
305
|
+
''self'' *.jortt.nl files.jortt.nl b.frstre.com beacon.tapfiliate.com jortt.uservoice.com
|
306
|
+
*.vimeo.com https://connect.facebook.net; img-src ''self'' blob: data:
|
307
|
+
*.jortt.nl https://www.facebook.com files.jortt.nl www.google-analytics.com
|
308
|
+
stats.g.doubleclick.net www.google.nl www.google.com bat.bing.com googleads.g.doubleclick.net
|
309
|
+
https://www.googletagmanager.com https://widget.uservoice.com www.google.de
|
310
|
+
t.co *.gstatic.com https://ssl.google-analytics.com https://app.inlinemanual.com'
|
311
|
+
body:
|
312
|
+
encoding: UTF-8
|
313
|
+
string: '{"data":[{"id":"97dee356-0b9e-4ba4-a9a8-e787012c2cb1","is_private":true,"customer_name":"Jane
|
314
|
+
Doe","address_street":null,"address_postal_code":null,"address_city":null,"address_country_code":"NL","address_country_name":"Nederland","address_extra_information":null,"shift_vat":null,"vat_number":null,"coc_number":null,"initials":null,"first_name":null,"last_name":null,"date_of_birth":null,"citizen_service_number":null,"attn":null,"phonenumber":null,"website":null,"email":null,"cc_emails":null,"email_salutation":"Geachte
|
315
|
+
heer, mevrouw,","additional_information":null,"payment_term":30,"invoice_language":"nl","payment_method_invoice":"pay_later","reference":null,"mollie_direct_debit_status":null,"mollie_customer_id":null,"mollie_mandate_id":null},{"id":"49a5b92a-e33a-4001-b290-462de0fbab39","is_private":true,"customer_name":"John
|
316
|
+
Doe","address_street":null,"address_postal_code":null,"address_city":null,"address_country_code":"NL","address_country_name":"Nederland","address_extra_information":null,"shift_vat":null,"vat_number":null,"coc_number":null,"initials":null,"first_name":null,"last_name":null,"date_of_birth":null,"citizen_service_number":null,"attn":null,"phonenumber":null,"website":null,"email":null,"cc_emails":null,"email_salutation":"Geachte
|
317
|
+
heer, mevrouw,","additional_information":null,"payment_term":30,"invoice_language":"nl","payment_method_invoice":"pay_later","reference":null,"mollie_direct_debit_status":null,"mollie_customer_id":null,"mollie_mandate_id":null},{"id":"21a81a13-312f-4914-886b-75746c300a92","is_private":true,"customer_name":"Search
|
318
|
+
target","address_street":null,"address_postal_code":null,"address_city":null,"address_country_code":"NL","address_country_name":"Nederland","address_extra_information":null,"shift_vat":null,"vat_number":null,"coc_number":null,"initials":null,"first_name":null,"last_name":null,"date_of_birth":null,"citizen_service_number":null,"attn":null,"phonenumber":null,"website":null,"email":"stephan+jortt-gem-customer@zilverline.com","cc_emails":[],"email_salutation":"Geachte
|
319
|
+
heer, mevrouw,","additional_information":"","payment_term":30,"invoice_language":"nl","payment_method_invoice":"pay_later","reference":null,"mollie_direct_debit_status":null,"mollie_customer_id":null,"mollie_mandate_id":null}],"_links":{"previous":null,"next":null,"self":{"href":"https://api.jortt.nl/customers?page=1","type":"application/json"},"documentation":{"href":"https://developer.jortt.nl/#pagination","type":"text/html"}}}'
|
320
|
+
recorded_at: Thu, 24 Sep 2020 15:03:22 GMT
|
321
|
+
- request:
|
322
|
+
method: delete
|
323
|
+
uri: https://api.jortt.nl/customers/97dee356-0b9e-4ba4-a9a8-e787012c2cb1
|
324
|
+
body:
|
325
|
+
encoding: US-ASCII
|
326
|
+
string: ''
|
327
|
+
headers:
|
328
|
+
User-Agent:
|
329
|
+
- Faraday v1.0.1
|
330
|
+
Accept-Encoding:
|
331
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
332
|
+
Accept:
|
333
|
+
- "*/*"
|
334
|
+
response:
|
335
|
+
status:
|
336
|
+
code: 204
|
337
|
+
message: No Content
|
338
|
+
headers:
|
339
|
+
Date:
|
340
|
+
- Thu, 24 Sep 2020 15:03:22 GMT
|
341
|
+
Connection:
|
342
|
+
- keep-alive
|
343
|
+
Server:
|
344
|
+
- Apache
|
345
|
+
Status:
|
346
|
+
- 204 No Content
|
347
|
+
Content-Security-Policy:
|
348
|
+
- 'default-src ''self'' ''unsafe-inline'' blob: data: *.jortt.nl; script-src
|
349
|
+
''self'' ''unsafe-eval'' blob: ''unsafe-inline'' files.jortt.nl *.googletagmanager.com
|
350
|
+
*.uservoice.com inlinemanual.com *.google-analytics.com *.googleadservices.com
|
351
|
+
bat.bing.com tapfiliate.com static.ads-twitter.com tagmanager.google.com analytics.twitter.com
|
352
|
+
https://connect.facebook.net https://app.inlinemanual.com; connect-src
|
353
|
+
''self'' https://*.jortt.nl wss://*.jortt.nl analytics.inlinemanual.com files.jortt.nl
|
354
|
+
www.google-analytics.com stats.g.doubleclick.net file-storage-app-production.s3.eu-central-1.amazonaws.com
|
355
|
+
https://app.inlinemanual.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com
|
356
|
+
files.jortt.nl tagmanager.google.com https://app.inlinemanual.com; font-src
|
357
|
+
''self'' data: fonts.gstatic.com files.jortt.nl https://app.inlinemanual.com; frame-src
|
358
|
+
''self'' *.jortt.nl files.jortt.nl b.frstre.com beacon.tapfiliate.com jortt.uservoice.com
|
359
|
+
*.vimeo.com https://connect.facebook.net; img-src ''self'' blob: data:
|
360
|
+
*.jortt.nl https://www.facebook.com files.jortt.nl www.google-analytics.com
|
361
|
+
stats.g.doubleclick.net www.google.nl www.google.com bat.bing.com googleads.g.doubleclick.net
|
362
|
+
https://www.googletagmanager.com https://widget.uservoice.com www.google.de
|
363
|
+
t.co *.gstatic.com https://ssl.google-analytics.com https://app.inlinemanual.com'
|
364
|
+
body:
|
365
|
+
encoding: UTF-8
|
366
|
+
string: ''
|
367
|
+
recorded_at: Thu, 24 Sep 2020 15:03:22 GMT
|
368
|
+
- request:
|
369
|
+
method: delete
|
370
|
+
uri: https://api.jortt.nl/customers/49a5b92a-e33a-4001-b290-462de0fbab39
|
371
|
+
body:
|
372
|
+
encoding: US-ASCII
|
373
|
+
string: ''
|
374
|
+
headers:
|
375
|
+
User-Agent:
|
376
|
+
- Faraday v1.0.1
|
377
|
+
Accept-Encoding:
|
378
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
379
|
+
Accept:
|
380
|
+
- "*/*"
|
381
|
+
response:
|
382
|
+
status:
|
383
|
+
code: 204
|
384
|
+
message: No Content
|
385
|
+
headers:
|
386
|
+
Date:
|
387
|
+
- Thu, 24 Sep 2020 15:03:22 GMT
|
388
|
+
Connection:
|
389
|
+
- keep-alive
|
390
|
+
Server:
|
391
|
+
- Apache
|
392
|
+
Status:
|
393
|
+
- 204 No Content
|
394
|
+
Content-Security-Policy:
|
395
|
+
- 'default-src ''self'' ''unsafe-inline'' blob: data: *.jortt.nl; script-src
|
396
|
+
''self'' ''unsafe-eval'' blob: ''unsafe-inline'' files.jortt.nl *.googletagmanager.com
|
397
|
+
*.uservoice.com inlinemanual.com *.google-analytics.com *.googleadservices.com
|
398
|
+
bat.bing.com tapfiliate.com static.ads-twitter.com tagmanager.google.com analytics.twitter.com
|
399
|
+
https://connect.facebook.net https://app.inlinemanual.com; connect-src
|
400
|
+
''self'' https://*.jortt.nl wss://*.jortt.nl analytics.inlinemanual.com files.jortt.nl
|
401
|
+
www.google-analytics.com stats.g.doubleclick.net file-storage-app-production.s3.eu-central-1.amazonaws.com
|
402
|
+
https://app.inlinemanual.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com
|
403
|
+
files.jortt.nl tagmanager.google.com https://app.inlinemanual.com; font-src
|
404
|
+
''self'' data: fonts.gstatic.com files.jortt.nl https://app.inlinemanual.com; frame-src
|
405
|
+
''self'' *.jortt.nl files.jortt.nl b.frstre.com beacon.tapfiliate.com jortt.uservoice.com
|
406
|
+
*.vimeo.com https://connect.facebook.net; img-src ''self'' blob: data:
|
407
|
+
*.jortt.nl https://www.facebook.com files.jortt.nl www.google-analytics.com
|
408
|
+
stats.g.doubleclick.net www.google.nl www.google.com bat.bing.com googleads.g.doubleclick.net
|
409
|
+
https://www.googletagmanager.com https://widget.uservoice.com www.google.de
|
410
|
+
t.co *.gstatic.com https://ssl.google-analytics.com https://app.inlinemanual.com'
|
411
|
+
body:
|
412
|
+
encoding: UTF-8
|
413
|
+
string: ''
|
414
|
+
recorded_at: Thu, 24 Sep 2020 15:03:22 GMT
|
415
|
+
recorded_with: VCR 6.0.0
|
@@ -0,0 +1,464 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.jortt.nl/customers/12cac16d-1961-4614-8aa1-eb5b58d8826a
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v1.0.1
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- "*/*"
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Date:
|
22
|
+
- Thu, 24 Sep 2020 15:02:49 GMT
|
23
|
+
Content-Type:
|
24
|
+
- application/json
|
25
|
+
Content-Length:
|
26
|
+
- '750'
|
27
|
+
Connection:
|
28
|
+
- keep-alive
|
29
|
+
Server:
|
30
|
+
- Apache
|
31
|
+
Status:
|
32
|
+
- 200 OK
|
33
|
+
Content-Security-Policy:
|
34
|
+
- 'default-src ''self'' ''unsafe-inline'' blob: data: *.jortt.nl; script-src
|
35
|
+
''self'' ''unsafe-eval'' blob: ''unsafe-inline'' files.jortt.nl *.googletagmanager.com
|
36
|
+
*.uservoice.com inlinemanual.com *.google-analytics.com *.googleadservices.com
|
37
|
+
bat.bing.com tapfiliate.com static.ads-twitter.com tagmanager.google.com analytics.twitter.com
|
38
|
+
https://connect.facebook.net https://app.inlinemanual.com; connect-src
|
39
|
+
''self'' https://*.jortt.nl wss://*.jortt.nl analytics.inlinemanual.com files.jortt.nl
|
40
|
+
www.google-analytics.com stats.g.doubleclick.net file-storage-app-production.s3.eu-central-1.amazonaws.com
|
41
|
+
https://app.inlinemanual.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com
|
42
|
+
files.jortt.nl tagmanager.google.com https://app.inlinemanual.com; font-src
|
43
|
+
''self'' data: fonts.gstatic.com files.jortt.nl https://app.inlinemanual.com; frame-src
|
44
|
+
''self'' *.jortt.nl files.jortt.nl b.frstre.com beacon.tapfiliate.com jortt.uservoice.com
|
45
|
+
*.vimeo.com https://connect.facebook.net; img-src ''self'' blob: data:
|
46
|
+
*.jortt.nl https://www.facebook.com files.jortt.nl www.google-analytics.com
|
47
|
+
stats.g.doubleclick.net www.google.nl www.google.com bat.bing.com googleads.g.doubleclick.net
|
48
|
+
https://www.googletagmanager.com https://widget.uservoice.com www.google.de
|
49
|
+
t.co *.gstatic.com https://ssl.google-analytics.com https://app.inlinemanual.com'
|
50
|
+
body:
|
51
|
+
encoding: UTF-8
|
52
|
+
string: '{"data":{"id":"12cac16d-1961-4614-8aa1-eb5b58d8826a","is_private":true,"customer_name":"Jane
|
53
|
+
Doe","address_street":null,"address_postal_code":null,"address_city":null,"address_country_code":"NL","address_country_name":"Nederland","address_extra_information":null,"shift_vat":null,"vat_number":null,"coc_number":null,"initials":null,"first_name":null,"last_name":null,"date_of_birth":null,"citizen_service_number":null,"attn":null,"phonenumber":null,"website":null,"email":null,"cc_emails":null,"email_salutation":"Geachte
|
54
|
+
heer, mevrouw,","additional_information":null,"payment_term":30,"invoice_language":"nl","payment_method_invoice":"pay_later","reference":null,"mollie_direct_debit_status":null,"mollie_customer_id":null,"mollie_mandate_id":null}}'
|
55
|
+
recorded_at: Thu, 24 Sep 2020 15:02:49 GMT
|
56
|
+
- request:
|
57
|
+
method: delete
|
58
|
+
uri: https://api.jortt.nl/customers/12cac16d-1961-4614-8aa1-eb5b58d8826a
|
59
|
+
body:
|
60
|
+
encoding: US-ASCII
|
61
|
+
string: ''
|
62
|
+
headers:
|
63
|
+
User-Agent:
|
64
|
+
- Faraday v1.0.1
|
65
|
+
Accept-Encoding:
|
66
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
67
|
+
Accept:
|
68
|
+
- "*/*"
|
69
|
+
response:
|
70
|
+
status:
|
71
|
+
code: 204
|
72
|
+
message: No Content
|
73
|
+
headers:
|
74
|
+
Date:
|
75
|
+
- Thu, 24 Sep 2020 15:02:49 GMT
|
76
|
+
Connection:
|
77
|
+
- keep-alive
|
78
|
+
Server:
|
79
|
+
- Apache
|
80
|
+
Status:
|
81
|
+
- 204 No Content
|
82
|
+
Content-Security-Policy:
|
83
|
+
- 'default-src ''self'' ''unsafe-inline'' blob: data: *.jortt.nl; script-src
|
84
|
+
''self'' ''unsafe-eval'' blob: ''unsafe-inline'' files.jortt.nl *.googletagmanager.com
|
85
|
+
*.uservoice.com inlinemanual.com *.google-analytics.com *.googleadservices.com
|
86
|
+
bat.bing.com tapfiliate.com static.ads-twitter.com tagmanager.google.com analytics.twitter.com
|
87
|
+
https://connect.facebook.net https://app.inlinemanual.com; connect-src
|
88
|
+
''self'' https://*.jortt.nl wss://*.jortt.nl analytics.inlinemanual.com files.jortt.nl
|
89
|
+
www.google-analytics.com stats.g.doubleclick.net file-storage-app-production.s3.eu-central-1.amazonaws.com
|
90
|
+
https://app.inlinemanual.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com
|
91
|
+
files.jortt.nl tagmanager.google.com https://app.inlinemanual.com; font-src
|
92
|
+
''self'' data: fonts.gstatic.com files.jortt.nl https://app.inlinemanual.com; frame-src
|
93
|
+
''self'' *.jortt.nl files.jortt.nl b.frstre.com beacon.tapfiliate.com jortt.uservoice.com
|
94
|
+
*.vimeo.com https://connect.facebook.net; img-src ''self'' blob: data:
|
95
|
+
*.jortt.nl https://www.facebook.com files.jortt.nl www.google-analytics.com
|
96
|
+
stats.g.doubleclick.net www.google.nl www.google.com bat.bing.com googleads.g.doubleclick.net
|
97
|
+
https://www.googletagmanager.com https://widget.uservoice.com www.google.de
|
98
|
+
t.co *.gstatic.com https://ssl.google-analytics.com https://app.inlinemanual.com'
|
99
|
+
body:
|
100
|
+
encoding: UTF-8
|
101
|
+
string: ''
|
102
|
+
recorded_at: Thu, 24 Sep 2020 15:02:49 GMT
|
103
|
+
- request:
|
104
|
+
method: delete
|
105
|
+
uri: https://api.jortt.nl/customers/3c23c964-d338-49cc-ba1a-6032c434f793
|
106
|
+
body:
|
107
|
+
encoding: US-ASCII
|
108
|
+
string: ''
|
109
|
+
headers:
|
110
|
+
User-Agent:
|
111
|
+
- Faraday v1.0.1
|
112
|
+
Accept-Encoding:
|
113
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
114
|
+
Accept:
|
115
|
+
- "*/*"
|
116
|
+
response:
|
117
|
+
status:
|
118
|
+
code: 204
|
119
|
+
message: No Content
|
120
|
+
headers:
|
121
|
+
Date:
|
122
|
+
- Thu, 24 Sep 2020 15:02:49 GMT
|
123
|
+
Connection:
|
124
|
+
- keep-alive
|
125
|
+
Server:
|
126
|
+
- Apache
|
127
|
+
Status:
|
128
|
+
- 204 No Content
|
129
|
+
Content-Security-Policy:
|
130
|
+
- 'default-src ''self'' ''unsafe-inline'' blob: data: *.jortt.nl; script-src
|
131
|
+
''self'' ''unsafe-eval'' blob: ''unsafe-inline'' files.jortt.nl *.googletagmanager.com
|
132
|
+
*.uservoice.com inlinemanual.com *.google-analytics.com *.googleadservices.com
|
133
|
+
bat.bing.com tapfiliate.com static.ads-twitter.com tagmanager.google.com analytics.twitter.com
|
134
|
+
https://connect.facebook.net https://app.inlinemanual.com; connect-src
|
135
|
+
''self'' https://*.jortt.nl wss://*.jortt.nl analytics.inlinemanual.com files.jortt.nl
|
136
|
+
www.google-analytics.com stats.g.doubleclick.net file-storage-app-production.s3.eu-central-1.amazonaws.com
|
137
|
+
https://app.inlinemanual.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com
|
138
|
+
files.jortt.nl tagmanager.google.com https://app.inlinemanual.com; font-src
|
139
|
+
''self'' data: fonts.gstatic.com files.jortt.nl https://app.inlinemanual.com; frame-src
|
140
|
+
''self'' *.jortt.nl files.jortt.nl b.frstre.com beacon.tapfiliate.com jortt.uservoice.com
|
141
|
+
*.vimeo.com https://connect.facebook.net; img-src ''self'' blob: data:
|
142
|
+
*.jortt.nl https://www.facebook.com files.jortt.nl www.google-analytics.com
|
143
|
+
stats.g.doubleclick.net www.google.nl www.google.com bat.bing.com googleads.g.doubleclick.net
|
144
|
+
https://www.googletagmanager.com https://widget.uservoice.com www.google.de
|
145
|
+
t.co *.gstatic.com https://ssl.google-analytics.com https://app.inlinemanual.com'
|
146
|
+
body:
|
147
|
+
encoding: UTF-8
|
148
|
+
string: ''
|
149
|
+
recorded_at: Thu, 24 Sep 2020 15:02:50 GMT
|
150
|
+
- request:
|
151
|
+
method: post
|
152
|
+
uri: https://app.jortt.nl/oauth-provider/oauth/token
|
153
|
+
body:
|
154
|
+
encoding: UTF-8
|
155
|
+
string: grant_type=client_credentials&scope=invoices%3Aread+invoices%3Awrite+customers%3Aread+customers%3Awrite
|
156
|
+
headers:
|
157
|
+
User-Agent:
|
158
|
+
- Faraday v1.0.1
|
159
|
+
Content-Type:
|
160
|
+
- application/x-www-form-urlencoded
|
161
|
+
Accept-Encoding:
|
162
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
163
|
+
Accept:
|
164
|
+
- "*/*"
|
165
|
+
response:
|
166
|
+
status:
|
167
|
+
code: 200
|
168
|
+
message: OK
|
169
|
+
headers:
|
170
|
+
Date:
|
171
|
+
- Thu, 24 Sep 2020 15:03:24 GMT
|
172
|
+
Content-Type:
|
173
|
+
- application/json; charset=utf-8
|
174
|
+
Transfer-Encoding:
|
175
|
+
- chunked
|
176
|
+
Connection:
|
177
|
+
- keep-alive
|
178
|
+
Status:
|
179
|
+
- 200 OK
|
180
|
+
Cache-Control:
|
181
|
+
- private, no-store
|
182
|
+
Referrer-Policy:
|
183
|
+
- strict-origin-when-cross-origin
|
184
|
+
X-Permitted-Cross-Domain-Policies:
|
185
|
+
- none
|
186
|
+
Pragma:
|
187
|
+
- no-cache
|
188
|
+
X-Xss-Protection:
|
189
|
+
- 1; mode=block
|
190
|
+
X-Request-Id:
|
191
|
+
- 53109c18-8dd7-453d-93bf-62252488d2f5
|
192
|
+
X-Download-Options:
|
193
|
+
- noopen
|
194
|
+
Etag:
|
195
|
+
- W/"36fa65439bc6952cfb204709cfdbfd27"
|
196
|
+
X-Frame-Options:
|
197
|
+
- SAMEORIGIN
|
198
|
+
X-Runtime:
|
199
|
+
- '0.320067'
|
200
|
+
X-Content-Type-Options:
|
201
|
+
- nosniff
|
202
|
+
X-Powered-By:
|
203
|
+
- Phusion Passenger
|
204
|
+
Server:
|
205
|
+
- nginx + Phusion Passenger
|
206
|
+
body:
|
207
|
+
encoding: UTF-8
|
208
|
+
string: '{"access_token":"XUC8A9GYKsOB4alleafXx5ExcPtDQJ3wwW9RBfr2gW8","token_type":"Bearer","expires_in":7200,"scope":"invoices:read
|
209
|
+
invoices:write customers:read customers:write","created_at":1600959804}'
|
210
|
+
recorded_at: Thu, 24 Sep 2020 15:03:24 GMT
|
211
|
+
- request:
|
212
|
+
method: post
|
213
|
+
uri: https://api.jortt.nl/customers?customer_name=Jane%20Doe&is_private=true
|
214
|
+
body:
|
215
|
+
encoding: UTF-8
|
216
|
+
string: ''
|
217
|
+
headers:
|
218
|
+
User-Agent:
|
219
|
+
- Faraday v1.0.1
|
220
|
+
Content-Length:
|
221
|
+
- '0'
|
222
|
+
Accept-Encoding:
|
223
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
224
|
+
Accept:
|
225
|
+
- "*/*"
|
226
|
+
response:
|
227
|
+
status:
|
228
|
+
code: 201
|
229
|
+
message: Created
|
230
|
+
headers:
|
231
|
+
Date:
|
232
|
+
- Thu, 24 Sep 2020 15:03:24 GMT
|
233
|
+
Content-Type:
|
234
|
+
- application/json
|
235
|
+
Content-Length:
|
236
|
+
- '54'
|
237
|
+
Connection:
|
238
|
+
- keep-alive
|
239
|
+
Server:
|
240
|
+
- Apache
|
241
|
+
Status:
|
242
|
+
- 201 Created
|
243
|
+
Content-Security-Policy:
|
244
|
+
- 'default-src ''self'' ''unsafe-inline'' blob: data: *.jortt.nl; script-src
|
245
|
+
''self'' ''unsafe-eval'' blob: ''unsafe-inline'' files.jortt.nl *.googletagmanager.com
|
246
|
+
*.uservoice.com inlinemanual.com *.google-analytics.com *.googleadservices.com
|
247
|
+
bat.bing.com tapfiliate.com static.ads-twitter.com tagmanager.google.com analytics.twitter.com
|
248
|
+
https://connect.facebook.net https://app.inlinemanual.com; connect-src
|
249
|
+
''self'' https://*.jortt.nl wss://*.jortt.nl analytics.inlinemanual.com files.jortt.nl
|
250
|
+
www.google-analytics.com stats.g.doubleclick.net file-storage-app-production.s3.eu-central-1.amazonaws.com
|
251
|
+
https://app.inlinemanual.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com
|
252
|
+
files.jortt.nl tagmanager.google.com https://app.inlinemanual.com; font-src
|
253
|
+
''self'' data: fonts.gstatic.com files.jortt.nl https://app.inlinemanual.com; frame-src
|
254
|
+
''self'' *.jortt.nl files.jortt.nl b.frstre.com beacon.tapfiliate.com jortt.uservoice.com
|
255
|
+
*.vimeo.com https://connect.facebook.net; img-src ''self'' blob: data:
|
256
|
+
*.jortt.nl https://www.facebook.com files.jortt.nl www.google-analytics.com
|
257
|
+
stats.g.doubleclick.net www.google.nl www.google.com bat.bing.com googleads.g.doubleclick.net
|
258
|
+
https://www.googletagmanager.com https://widget.uservoice.com www.google.de
|
259
|
+
t.co *.gstatic.com https://ssl.google-analytics.com https://app.inlinemanual.com'
|
260
|
+
body:
|
261
|
+
encoding: UTF-8
|
262
|
+
string: '{"data":{"id":"8dda51ec-da43-404c-bef5-a2fefb672d5c"}}'
|
263
|
+
recorded_at: Thu, 24 Sep 2020 15:03:24 GMT
|
264
|
+
- request:
|
265
|
+
method: post
|
266
|
+
uri: https://api.jortt.nl/customers?customer_name=John%20Doe&is_private=true
|
267
|
+
body:
|
268
|
+
encoding: UTF-8
|
269
|
+
string: ''
|
270
|
+
headers:
|
271
|
+
User-Agent:
|
272
|
+
- Faraday v1.0.1
|
273
|
+
Content-Length:
|
274
|
+
- '0'
|
275
|
+
Accept-Encoding:
|
276
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
277
|
+
Accept:
|
278
|
+
- "*/*"
|
279
|
+
response:
|
280
|
+
status:
|
281
|
+
code: 201
|
282
|
+
message: Created
|
283
|
+
headers:
|
284
|
+
Date:
|
285
|
+
- Thu, 24 Sep 2020 15:03:24 GMT
|
286
|
+
Content-Type:
|
287
|
+
- application/json
|
288
|
+
Content-Length:
|
289
|
+
- '54'
|
290
|
+
Connection:
|
291
|
+
- keep-alive
|
292
|
+
Server:
|
293
|
+
- Apache
|
294
|
+
Status:
|
295
|
+
- 201 Created
|
296
|
+
Content-Security-Policy:
|
297
|
+
- 'default-src ''self'' ''unsafe-inline'' blob: data: *.jortt.nl; script-src
|
298
|
+
''self'' ''unsafe-eval'' blob: ''unsafe-inline'' files.jortt.nl *.googletagmanager.com
|
299
|
+
*.uservoice.com inlinemanual.com *.google-analytics.com *.googleadservices.com
|
300
|
+
bat.bing.com tapfiliate.com static.ads-twitter.com tagmanager.google.com analytics.twitter.com
|
301
|
+
https://connect.facebook.net https://app.inlinemanual.com; connect-src
|
302
|
+
''self'' https://*.jortt.nl wss://*.jortt.nl analytics.inlinemanual.com files.jortt.nl
|
303
|
+
www.google-analytics.com stats.g.doubleclick.net file-storage-app-production.s3.eu-central-1.amazonaws.com
|
304
|
+
https://app.inlinemanual.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com
|
305
|
+
files.jortt.nl tagmanager.google.com https://app.inlinemanual.com; font-src
|
306
|
+
''self'' data: fonts.gstatic.com files.jortt.nl https://app.inlinemanual.com; frame-src
|
307
|
+
''self'' *.jortt.nl files.jortt.nl b.frstre.com beacon.tapfiliate.com jortt.uservoice.com
|
308
|
+
*.vimeo.com https://connect.facebook.net; img-src ''self'' blob: data:
|
309
|
+
*.jortt.nl https://www.facebook.com files.jortt.nl www.google-analytics.com
|
310
|
+
stats.g.doubleclick.net www.google.nl www.google.com bat.bing.com googleads.g.doubleclick.net
|
311
|
+
https://www.googletagmanager.com https://widget.uservoice.com www.google.de
|
312
|
+
t.co *.gstatic.com https://ssl.google-analytics.com https://app.inlinemanual.com'
|
313
|
+
body:
|
314
|
+
encoding: UTF-8
|
315
|
+
string: '{"data":{"id":"c7c64c0c-1e27-4f8b-8edb-c8f192fdeef6"}}'
|
316
|
+
recorded_at: Thu, 24 Sep 2020 15:03:24 GMT
|
317
|
+
- request:
|
318
|
+
method: get
|
319
|
+
uri: https://api.jortt.nl/customers/8dda51ec-da43-404c-bef5-a2fefb672d5c
|
320
|
+
body:
|
321
|
+
encoding: US-ASCII
|
322
|
+
string: ''
|
323
|
+
headers:
|
324
|
+
User-Agent:
|
325
|
+
- Faraday v1.0.1
|
326
|
+
Accept-Encoding:
|
327
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
328
|
+
Accept:
|
329
|
+
- "*/*"
|
330
|
+
response:
|
331
|
+
status:
|
332
|
+
code: 200
|
333
|
+
message: OK
|
334
|
+
headers:
|
335
|
+
Date:
|
336
|
+
- Thu, 24 Sep 2020 15:03:24 GMT
|
337
|
+
Content-Type:
|
338
|
+
- application/json
|
339
|
+
Content-Length:
|
340
|
+
- '750'
|
341
|
+
Connection:
|
342
|
+
- keep-alive
|
343
|
+
Server:
|
344
|
+
- Apache
|
345
|
+
Status:
|
346
|
+
- 200 OK
|
347
|
+
Content-Security-Policy:
|
348
|
+
- 'default-src ''self'' ''unsafe-inline'' blob: data: *.jortt.nl; script-src
|
349
|
+
''self'' ''unsafe-eval'' blob: ''unsafe-inline'' files.jortt.nl *.googletagmanager.com
|
350
|
+
*.uservoice.com inlinemanual.com *.google-analytics.com *.googleadservices.com
|
351
|
+
bat.bing.com tapfiliate.com static.ads-twitter.com tagmanager.google.com analytics.twitter.com
|
352
|
+
https://connect.facebook.net https://app.inlinemanual.com; connect-src
|
353
|
+
''self'' https://*.jortt.nl wss://*.jortt.nl analytics.inlinemanual.com files.jortt.nl
|
354
|
+
www.google-analytics.com stats.g.doubleclick.net file-storage-app-production.s3.eu-central-1.amazonaws.com
|
355
|
+
https://app.inlinemanual.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com
|
356
|
+
files.jortt.nl tagmanager.google.com https://app.inlinemanual.com; font-src
|
357
|
+
''self'' data: fonts.gstatic.com files.jortt.nl https://app.inlinemanual.com; frame-src
|
358
|
+
''self'' *.jortt.nl files.jortt.nl b.frstre.com beacon.tapfiliate.com jortt.uservoice.com
|
359
|
+
*.vimeo.com https://connect.facebook.net; img-src ''self'' blob: data:
|
360
|
+
*.jortt.nl https://www.facebook.com files.jortt.nl www.google-analytics.com
|
361
|
+
stats.g.doubleclick.net www.google.nl www.google.com bat.bing.com googleads.g.doubleclick.net
|
362
|
+
https://www.googletagmanager.com https://widget.uservoice.com www.google.de
|
363
|
+
t.co *.gstatic.com https://ssl.google-analytics.com https://app.inlinemanual.com'
|
364
|
+
body:
|
365
|
+
encoding: UTF-8
|
366
|
+
string: '{"data":{"id":"8dda51ec-da43-404c-bef5-a2fefb672d5c","is_private":true,"customer_name":"Jane
|
367
|
+
Doe","address_street":null,"address_postal_code":null,"address_city":null,"address_country_code":"NL","address_country_name":"Nederland","address_extra_information":null,"shift_vat":null,"vat_number":null,"coc_number":null,"initials":null,"first_name":null,"last_name":null,"date_of_birth":null,"citizen_service_number":null,"attn":null,"phonenumber":null,"website":null,"email":null,"cc_emails":null,"email_salutation":"Geachte
|
368
|
+
heer, mevrouw,","additional_information":null,"payment_term":30,"invoice_language":"nl","payment_method_invoice":"pay_later","reference":null,"mollie_direct_debit_status":null,"mollie_customer_id":null,"mollie_mandate_id":null}}'
|
369
|
+
recorded_at: Thu, 24 Sep 2020 15:03:24 GMT
|
370
|
+
- request:
|
371
|
+
method: delete
|
372
|
+
uri: https://api.jortt.nl/customers/8dda51ec-da43-404c-bef5-a2fefb672d5c
|
373
|
+
body:
|
374
|
+
encoding: US-ASCII
|
375
|
+
string: ''
|
376
|
+
headers:
|
377
|
+
User-Agent:
|
378
|
+
- Faraday v1.0.1
|
379
|
+
Accept-Encoding:
|
380
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
381
|
+
Accept:
|
382
|
+
- "*/*"
|
383
|
+
response:
|
384
|
+
status:
|
385
|
+
code: 204
|
386
|
+
message: No Content
|
387
|
+
headers:
|
388
|
+
Date:
|
389
|
+
- Thu, 24 Sep 2020 15:03:24 GMT
|
390
|
+
Connection:
|
391
|
+
- keep-alive
|
392
|
+
Server:
|
393
|
+
- Apache
|
394
|
+
Status:
|
395
|
+
- 204 No Content
|
396
|
+
Content-Security-Policy:
|
397
|
+
- 'default-src ''self'' ''unsafe-inline'' blob: data: *.jortt.nl; script-src
|
398
|
+
''self'' ''unsafe-eval'' blob: ''unsafe-inline'' files.jortt.nl *.googletagmanager.com
|
399
|
+
*.uservoice.com inlinemanual.com *.google-analytics.com *.googleadservices.com
|
400
|
+
bat.bing.com tapfiliate.com static.ads-twitter.com tagmanager.google.com analytics.twitter.com
|
401
|
+
https://connect.facebook.net https://app.inlinemanual.com; connect-src
|
402
|
+
''self'' https://*.jortt.nl wss://*.jortt.nl analytics.inlinemanual.com files.jortt.nl
|
403
|
+
www.google-analytics.com stats.g.doubleclick.net file-storage-app-production.s3.eu-central-1.amazonaws.com
|
404
|
+
https://app.inlinemanual.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com
|
405
|
+
files.jortt.nl tagmanager.google.com https://app.inlinemanual.com; font-src
|
406
|
+
''self'' data: fonts.gstatic.com files.jortt.nl https://app.inlinemanual.com; frame-src
|
407
|
+
''self'' *.jortt.nl files.jortt.nl b.frstre.com beacon.tapfiliate.com jortt.uservoice.com
|
408
|
+
*.vimeo.com https://connect.facebook.net; img-src ''self'' blob: data:
|
409
|
+
*.jortt.nl https://www.facebook.com files.jortt.nl www.google-analytics.com
|
410
|
+
stats.g.doubleclick.net www.google.nl www.google.com bat.bing.com googleads.g.doubleclick.net
|
411
|
+
https://www.googletagmanager.com https://widget.uservoice.com www.google.de
|
412
|
+
t.co *.gstatic.com https://ssl.google-analytics.com https://app.inlinemanual.com'
|
413
|
+
body:
|
414
|
+
encoding: UTF-8
|
415
|
+
string: ''
|
416
|
+
recorded_at: Thu, 24 Sep 2020 15:03:24 GMT
|
417
|
+
- request:
|
418
|
+
method: delete
|
419
|
+
uri: https://api.jortt.nl/customers/c7c64c0c-1e27-4f8b-8edb-c8f192fdeef6
|
420
|
+
body:
|
421
|
+
encoding: US-ASCII
|
422
|
+
string: ''
|
423
|
+
headers:
|
424
|
+
User-Agent:
|
425
|
+
- Faraday v1.0.1
|
426
|
+
Accept-Encoding:
|
427
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
428
|
+
Accept:
|
429
|
+
- "*/*"
|
430
|
+
response:
|
431
|
+
status:
|
432
|
+
code: 204
|
433
|
+
message: No Content
|
434
|
+
headers:
|
435
|
+
Date:
|
436
|
+
- Thu, 24 Sep 2020 15:03:24 GMT
|
437
|
+
Connection:
|
438
|
+
- keep-alive
|
439
|
+
Server:
|
440
|
+
- Apache
|
441
|
+
Status:
|
442
|
+
- 204 No Content
|
443
|
+
Content-Security-Policy:
|
444
|
+
- 'default-src ''self'' ''unsafe-inline'' blob: data: *.jortt.nl; script-src
|
445
|
+
''self'' ''unsafe-eval'' blob: ''unsafe-inline'' files.jortt.nl *.googletagmanager.com
|
446
|
+
*.uservoice.com inlinemanual.com *.google-analytics.com *.googleadservices.com
|
447
|
+
bat.bing.com tapfiliate.com static.ads-twitter.com tagmanager.google.com analytics.twitter.com
|
448
|
+
https://connect.facebook.net https://app.inlinemanual.com; connect-src
|
449
|
+
''self'' https://*.jortt.nl wss://*.jortt.nl analytics.inlinemanual.com files.jortt.nl
|
450
|
+
www.google-analytics.com stats.g.doubleclick.net file-storage-app-production.s3.eu-central-1.amazonaws.com
|
451
|
+
https://app.inlinemanual.com; style-src ''self'' ''unsafe-inline'' fonts.googleapis.com
|
452
|
+
files.jortt.nl tagmanager.google.com https://app.inlinemanual.com; font-src
|
453
|
+
''self'' data: fonts.gstatic.com files.jortt.nl https://app.inlinemanual.com; frame-src
|
454
|
+
''self'' *.jortt.nl files.jortt.nl b.frstre.com beacon.tapfiliate.com jortt.uservoice.com
|
455
|
+
*.vimeo.com https://connect.facebook.net; img-src ''self'' blob: data:
|
456
|
+
*.jortt.nl https://www.facebook.com files.jortt.nl www.google-analytics.com
|
457
|
+
stats.g.doubleclick.net www.google.nl www.google.com bat.bing.com googleads.g.doubleclick.net
|
458
|
+
https://www.googletagmanager.com https://widget.uservoice.com www.google.de
|
459
|
+
t.co *.gstatic.com https://ssl.google-analytics.com https://app.inlinemanual.com'
|
460
|
+
body:
|
461
|
+
encoding: UTF-8
|
462
|
+
string: ''
|
463
|
+
recorded_at: Thu, 24 Sep 2020 15:03:24 GMT
|
464
|
+
recorded_with: VCR 6.0.0
|