ticketevolution-ruby 0.7.5 → 0.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.markdown +7 -6
- data/lib/docs/objects.markdown +1 -1
- data/lib/ticket_evolution/core/api_error.rb +3 -2
- data/lib/ticket_evolution/core/collection.rb +3 -2
- data/lib/ticket_evolution/modules/create.rb +1 -1
- data/lib/ticket_evolution/modules/update.rb +10 -6
- data/lib/ticket_evolution/shipment.rb +6 -0
- data/lib/ticket_evolution/shipments.rb +23 -0
- data/lib/ticket_evolution/version.rb +1 -1
- data/spec/fixtures/net/endpoints/clients.yml +659 -736
- data/spec/fixtures/net/endpoints/clients/list.yml +30 -40
- data/spec/fixtures/net/endpoints/clients/update_fail.yml +565 -427
- data/spec/fixtures/net/endpoints/clients/update_success.yml +527 -383
- data/spec/lib/ticket_evolution/client_spec.rb +2 -2
- data/spec/lib/ticket_evolution/core/collection_spec.rb +1 -0
- data/spec/lib/ticket_evolution/shipment_spec.rb +27 -0
- data/spec/lib/ticket_evolution/shipments_spec.rb +39 -0
- data/spec/shared_examples/endpoints/update.rb +1 -6
- metadata +23 -23
@@ -1,48 +1,38 @@
|
|
1
|
-
---
|
2
|
-
- !ruby/struct:VCR::HTTPInteraction
|
3
|
-
request: !ruby/struct:VCR::Request
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
4
|
method: :get
|
5
5
|
uri: https://api.sandbox.ticketevolution.com:443/clients?per_page=1
|
6
|
-
body:
|
7
|
-
headers:
|
8
|
-
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
accept:
|
9
|
+
- application/vnd.ticketevolution.api+json; version=8
|
10
|
+
x-signature:
|
9
11
|
- CVHhWgZb27YMNhFegxDYpGpJJ0dN4Cjf7w4am0cYSmM=
|
10
|
-
x-token:
|
12
|
+
x-token:
|
11
13
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
12
|
-
|
13
|
-
|
14
|
-
accept-encoding:
|
15
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
-
response: !ruby/struct:VCR::Response
|
17
|
-
status: !ruby/struct:VCR::ResponseStatus
|
14
|
+
response: !ruby/struct:VCR::Response
|
15
|
+
status: !ruby/struct:VCR::ResponseStatus
|
18
16
|
code: 200
|
19
17
|
message: OK
|
20
|
-
headers:
|
21
|
-
|
22
|
-
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
23
|
-
transfer-encoding:
|
24
|
-
- chunked
|
25
|
-
connection:
|
26
|
-
- keep-alive
|
27
|
-
status:
|
28
|
-
- '200'
|
29
|
-
x-powered-by:
|
30
|
-
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
31
|
-
x-ua-compatible:
|
18
|
+
headers:
|
19
|
+
x-ua-compatible:
|
32
20
|
- IE=Edge,chrome=1
|
33
|
-
etag:
|
34
|
-
-
|
35
|
-
|
21
|
+
etag:
|
22
|
+
- "\"8681e223ff20d6cb63927c674942608e\""
|
23
|
+
x-powered-by:
|
24
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
25
|
+
content-type:
|
26
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
27
|
+
server:
|
28
|
+
- nginx/1.0.14 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
29
|
+
x-runtime:
|
30
|
+
- "0.045033"
|
31
|
+
cache-control:
|
36
32
|
- max-age=0, private, must-revalidate
|
37
|
-
|
38
|
-
-
|
39
|
-
|
40
|
-
-
|
41
|
-
|
42
|
-
|
43
|
-
body: ! '{"current_page":1,"per_page":1,"total_entries":119,"clients":[{"email_addresses":[{"label":null,"address":"tyrique@brown.info","id":"309"}],"addresses":[{"label":"Work","longitude":null,"extended_address":null,"street_address":"555
|
44
|
-
Evergreen Terrace","locality":"Springfield","region":"MG","country_code":"US","name":null,"latitude":null,"postal_code":"58008-0000","id":"170858"}],"office":{"url":"/offices/6","brokerage":{"abbreviation":"Ticket
|
45
|
-
Evolution","url":"/brokerages/61","name":"Ticket Evolution","id":"61"},"name":"Main
|
46
|
-
Office","id":"6"},"url":"/clients/3","updated_at":"2012-03-20T18:06:05Z","company":null,"phone_numbers":[{"number":"(301)555-1234","label":null,"extension":"999","country_code":null,"id":"333"}],"tags":["best
|
47
|
-
seller","promotion","vip"],"name":"Main Office","id":"3"}]}'
|
48
|
-
http_version: '1.1'
|
33
|
+
status:
|
34
|
+
- "200"
|
35
|
+
transfer-encoding:
|
36
|
+
- chunked
|
37
|
+
body: "{\"current_page\":1,\"clients\":[{\"addresses\":[],\"office\":{\"brokerage\":{\"abbreviation\":\"Ticket Evolution\",\"name\":\"Ticket Evolution\",\"id\":\"61\",\"url\":\"/brokerages/61\"},\"name\":\"Jersey City\",\"id\":\"6\",\"url\":\"/offices/6\"},\"updated_at\":\"2012-03-20T18:06:05Z\",\"company\":null,\"email_addresses\":[{\"id\":\"309\",\"address\":\"tyrique@brown.info\",\"label\":null}],\"phone_numbers\":[{\"country_code\":null,\"extension\":\"999\",\"id\":\"333\",\"label\":null,\"number\":\"(301)555-1234\"}],\"name\":\"Main Office\",\"url\":\"/clients/3\",\"id\":\"3\",\"tags\":[\"vip\",\"promotion\",\"best seller\"]}],\"per_page\":1,\"total_entries\":125}"
|
38
|
+
http_version: "1.1"
|
@@ -3,9 +3,9 @@
|
|
3
3
|
request: !ruby/struct:VCR::Request
|
4
4
|
method: :put
|
5
5
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2397
|
6
|
-
body:
|
7
|
-
str: ""
|
6
|
+
body:
|
8
7
|
:@taguri: x-private:null
|
8
|
+
str: ""
|
9
9
|
headers:
|
10
10
|
accept:
|
11
11
|
- application/vnd.ticketevolution.api+json; version=8
|
@@ -18,35 +18,35 @@
|
|
18
18
|
code: 422
|
19
19
|
message: Unprocessable Entity
|
20
20
|
headers:
|
21
|
+
x-ua-compatible:
|
22
|
+
- IE=Edge,chrome=1
|
23
|
+
x-powered-by:
|
24
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
25
|
+
strict-transport-security:
|
26
|
+
- max-age=31536000
|
21
27
|
content-type:
|
22
28
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
23
|
-
transfer-encoding:
|
24
|
-
- chunked
|
25
29
|
connection:
|
26
30
|
- keep-alive
|
27
|
-
status:
|
28
|
-
- "422"
|
29
|
-
x-powered-by:
|
30
|
-
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
31
|
-
x-ua-compatible:
|
32
|
-
- IE=Edge,chrome=1
|
33
31
|
x-runtime:
|
34
32
|
- "0.037598"
|
35
|
-
cache-control:
|
36
|
-
- no-cache
|
37
|
-
strict-transport-security:
|
38
|
-
- max-age=31536000
|
39
33
|
server:
|
40
34
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
35
|
+
status:
|
36
|
+
- "422"
|
37
|
+
cache-control:
|
38
|
+
- no-cache
|
39
|
+
transfer-encoding:
|
40
|
+
- chunked
|
41
41
|
body: "{\"updated_at\":\"2012-02-22T16:52:03Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2397\",\"id\":\"2397\"}"
|
42
42
|
http_version: "1.1"
|
43
43
|
- !ruby/struct:VCR::HTTPInteraction
|
44
44
|
request: !ruby/struct:VCR::Request
|
45
45
|
method: :put
|
46
46
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2397
|
47
|
-
body:
|
48
|
-
str: ""
|
47
|
+
body:
|
49
48
|
:@taguri: x-private:null
|
49
|
+
str: ""
|
50
50
|
headers:
|
51
51
|
accept:
|
52
52
|
- application/vnd.ticketevolution.api+json; version=8
|
@@ -59,35 +59,35 @@
|
|
59
59
|
code: 422
|
60
60
|
message: Unprocessable Entity
|
61
61
|
headers:
|
62
|
+
x-ua-compatible:
|
63
|
+
- IE=Edge,chrome=1
|
64
|
+
x-powered-by:
|
65
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
66
|
+
strict-transport-security:
|
67
|
+
- max-age=31536000
|
62
68
|
content-type:
|
63
69
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
64
|
-
transfer-encoding:
|
65
|
-
- chunked
|
66
70
|
connection:
|
67
71
|
- keep-alive
|
68
|
-
status:
|
69
|
-
- "422"
|
70
|
-
x-powered-by:
|
71
|
-
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
72
|
-
x-ua-compatible:
|
73
|
-
- IE=Edge,chrome=1
|
74
72
|
x-runtime:
|
75
73
|
- "0.037598"
|
76
|
-
cache-control:
|
77
|
-
- no-cache
|
78
|
-
strict-transport-security:
|
79
|
-
- max-age=31536000
|
80
74
|
server:
|
81
75
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
76
|
+
status:
|
77
|
+
- "422"
|
78
|
+
cache-control:
|
79
|
+
- no-cache
|
80
|
+
transfer-encoding:
|
81
|
+
- chunked
|
82
82
|
body: "{\"updated_at\":\"2012-02-22T16:52:03Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2397\",\"id\":\"2397\"}"
|
83
83
|
http_version: "1.1"
|
84
84
|
- !ruby/struct:VCR::HTTPInteraction
|
85
85
|
request: !ruby/struct:VCR::Request
|
86
86
|
method: :get
|
87
87
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2397?
|
88
|
-
body:
|
89
|
-
str: ""
|
88
|
+
body:
|
90
89
|
:@taguri: x-private:null
|
90
|
+
str: ""
|
91
91
|
headers:
|
92
92
|
accept:
|
93
93
|
- application/vnd.ticketevolution.api+json; version=8
|
@@ -100,37 +100,37 @@
|
|
100
100
|
code: 200
|
101
101
|
message: OK
|
102
102
|
headers:
|
103
|
-
|
104
|
-
-
|
105
|
-
transfer-encoding:
|
106
|
-
- chunked
|
107
|
-
connection:
|
108
|
-
- keep-alive
|
109
|
-
status:
|
110
|
-
- "200"
|
103
|
+
x-ua-compatible:
|
104
|
+
- IE=Edge,chrome=1
|
111
105
|
x-powered-by:
|
112
106
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
113
107
|
etag:
|
114
108
|
- "\"664380c9b754b1c1649eba9b1671bf1b\""
|
115
|
-
x-ua-compatible:
|
116
|
-
- IE=Edge,chrome=1
|
117
|
-
x-runtime:
|
118
|
-
- "0.043382"
|
119
|
-
cache-control:
|
120
|
-
- max-age=0, private, must-revalidate
|
121
109
|
strict-transport-security:
|
122
110
|
- max-age=31536000
|
111
|
+
content-type:
|
112
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
113
|
+
connection:
|
114
|
+
- keep-alive
|
115
|
+
x-runtime:
|
116
|
+
- "0.043382"
|
123
117
|
server:
|
124
118
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
119
|
+
status:
|
120
|
+
- "200"
|
121
|
+
cache-control:
|
122
|
+
- max-age=0, private, must-revalidate
|
123
|
+
transfer-encoding:
|
124
|
+
- chunked
|
125
125
|
body: "{\"updated_at\":\"2012-02-22T16:52:03Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2397\",\"id\":\"2397\"}"
|
126
126
|
http_version: "1.1"
|
127
127
|
- !ruby/struct:VCR::HTTPInteraction
|
128
128
|
request: !ruby/struct:VCR::Request
|
129
129
|
method: :get
|
130
130
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2397?
|
131
|
-
body:
|
132
|
-
str: ""
|
131
|
+
body:
|
133
132
|
:@taguri: x-private:null
|
133
|
+
str: ""
|
134
134
|
headers:
|
135
135
|
accept:
|
136
136
|
- application/vnd.ticketevolution.api+json; version=8
|
@@ -143,37 +143,37 @@
|
|
143
143
|
code: 200
|
144
144
|
message: OK
|
145
145
|
headers:
|
146
|
-
|
147
|
-
-
|
148
|
-
transfer-encoding:
|
149
|
-
- chunked
|
150
|
-
connection:
|
151
|
-
- keep-alive
|
152
|
-
status:
|
153
|
-
- "200"
|
146
|
+
x-ua-compatible:
|
147
|
+
- IE=Edge,chrome=1
|
154
148
|
x-powered-by:
|
155
149
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
156
150
|
etag:
|
157
151
|
- "\"664380c9b754b1c1649eba9b1671bf1b\""
|
158
|
-
x-ua-compatible:
|
159
|
-
- IE=Edge,chrome=1
|
160
|
-
x-runtime:
|
161
|
-
- "0.043382"
|
162
|
-
cache-control:
|
163
|
-
- max-age=0, private, must-revalidate
|
164
152
|
strict-transport-security:
|
165
153
|
- max-age=31536000
|
154
|
+
content-type:
|
155
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
156
|
+
connection:
|
157
|
+
- keep-alive
|
158
|
+
x-runtime:
|
159
|
+
- "0.043382"
|
166
160
|
server:
|
167
161
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
162
|
+
status:
|
163
|
+
- "200"
|
164
|
+
cache-control:
|
165
|
+
- max-age=0, private, must-revalidate
|
166
|
+
transfer-encoding:
|
167
|
+
- chunked
|
168
168
|
body: "{\"updated_at\":\"2012-02-22T16:52:03Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2397\",\"id\":\"2397\"}"
|
169
169
|
http_version: "1.1"
|
170
170
|
- !ruby/struct:VCR::HTTPInteraction
|
171
171
|
request: !ruby/struct:VCR::Request
|
172
172
|
method: :put
|
173
173
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2399
|
174
|
-
body:
|
175
|
-
str: ""
|
174
|
+
body:
|
176
175
|
:@taguri: x-private:null
|
176
|
+
str: ""
|
177
177
|
headers:
|
178
178
|
accept:
|
179
179
|
- application/vnd.ticketevolution.api+json; version=8
|
@@ -186,35 +186,35 @@
|
|
186
186
|
code: 422
|
187
187
|
message: Unprocessable Entity
|
188
188
|
headers:
|
189
|
+
x-ua-compatible:
|
190
|
+
- IE=Edge,chrome=1
|
191
|
+
x-powered-by:
|
192
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
193
|
+
strict-transport-security:
|
194
|
+
- max-age=31536000
|
189
195
|
content-type:
|
190
196
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
191
|
-
transfer-encoding:
|
192
|
-
- chunked
|
193
197
|
connection:
|
194
198
|
- keep-alive
|
195
|
-
status:
|
196
|
-
- "422"
|
197
|
-
x-powered-by:
|
198
|
-
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
199
|
-
x-ua-compatible:
|
200
|
-
- IE=Edge,chrome=1
|
201
199
|
x-runtime:
|
202
200
|
- "0.039304"
|
203
|
-
cache-control:
|
204
|
-
- no-cache
|
205
|
-
strict-transport-security:
|
206
|
-
- max-age=31536000
|
207
201
|
server:
|
208
202
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
203
|
+
status:
|
204
|
+
- "422"
|
205
|
+
cache-control:
|
206
|
+
- no-cache
|
207
|
+
transfer-encoding:
|
208
|
+
- chunked
|
209
209
|
body: "{\"updated_at\":\"2012-02-22T16:53:25Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2399\",\"id\":\"2399\"}"
|
210
210
|
http_version: "1.1"
|
211
211
|
- !ruby/struct:VCR::HTTPInteraction
|
212
212
|
request: !ruby/struct:VCR::Request
|
213
213
|
method: :put
|
214
214
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2399
|
215
|
-
body:
|
216
|
-
str: ""
|
215
|
+
body:
|
217
216
|
:@taguri: x-private:null
|
217
|
+
str: ""
|
218
218
|
headers:
|
219
219
|
accept:
|
220
220
|
- application/vnd.ticketevolution.api+json; version=8
|
@@ -227,35 +227,35 @@
|
|
227
227
|
code: 422
|
228
228
|
message: Unprocessable Entity
|
229
229
|
headers:
|
230
|
+
x-ua-compatible:
|
231
|
+
- IE=Edge,chrome=1
|
232
|
+
x-powered-by:
|
233
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
234
|
+
strict-transport-security:
|
235
|
+
- max-age=31536000
|
230
236
|
content-type:
|
231
237
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
232
|
-
transfer-encoding:
|
233
|
-
- chunked
|
234
238
|
connection:
|
235
239
|
- keep-alive
|
236
|
-
status:
|
237
|
-
- "422"
|
238
|
-
x-powered-by:
|
239
|
-
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
240
|
-
x-ua-compatible:
|
241
|
-
- IE=Edge,chrome=1
|
242
240
|
x-runtime:
|
243
241
|
- "0.039304"
|
244
|
-
cache-control:
|
245
|
-
- no-cache
|
246
|
-
strict-transport-security:
|
247
|
-
- max-age=31536000
|
248
242
|
server:
|
249
243
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
244
|
+
status:
|
245
|
+
- "422"
|
246
|
+
cache-control:
|
247
|
+
- no-cache
|
248
|
+
transfer-encoding:
|
249
|
+
- chunked
|
250
250
|
body: "{\"updated_at\":\"2012-02-22T16:53:25Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2399\",\"id\":\"2399\"}"
|
251
251
|
http_version: "1.1"
|
252
252
|
- !ruby/struct:VCR::HTTPInteraction
|
253
253
|
request: !ruby/struct:VCR::Request
|
254
254
|
method: :get
|
255
255
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2399?
|
256
|
-
body:
|
257
|
-
str: ""
|
256
|
+
body:
|
258
257
|
:@taguri: x-private:null
|
258
|
+
str: ""
|
259
259
|
headers:
|
260
260
|
accept:
|
261
261
|
- application/vnd.ticketevolution.api+json; version=8
|
@@ -268,37 +268,37 @@
|
|
268
268
|
code: 200
|
269
269
|
message: OK
|
270
270
|
headers:
|
271
|
-
|
272
|
-
-
|
273
|
-
transfer-encoding:
|
274
|
-
- chunked
|
275
|
-
connection:
|
276
|
-
- keep-alive
|
277
|
-
status:
|
278
|
-
- "200"
|
271
|
+
x-ua-compatible:
|
272
|
+
- IE=Edge,chrome=1
|
279
273
|
x-powered-by:
|
280
274
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
281
275
|
etag:
|
282
276
|
- "\"9a82f6565c00d85803d51ca3537943ce\""
|
283
|
-
x-ua-compatible:
|
284
|
-
- IE=Edge,chrome=1
|
285
|
-
x-runtime:
|
286
|
-
- "0.033625"
|
287
|
-
cache-control:
|
288
|
-
- max-age=0, private, must-revalidate
|
289
277
|
strict-transport-security:
|
290
278
|
- max-age=31536000
|
279
|
+
content-type:
|
280
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
281
|
+
connection:
|
282
|
+
- keep-alive
|
283
|
+
x-runtime:
|
284
|
+
- "0.033625"
|
291
285
|
server:
|
292
286
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
287
|
+
status:
|
288
|
+
- "200"
|
289
|
+
cache-control:
|
290
|
+
- max-age=0, private, must-revalidate
|
291
|
+
transfer-encoding:
|
292
|
+
- chunked
|
293
293
|
body: "{\"updated_at\":\"2012-02-22T16:53:25Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2399\",\"id\":\"2399\"}"
|
294
294
|
http_version: "1.1"
|
295
295
|
- !ruby/struct:VCR::HTTPInteraction
|
296
296
|
request: !ruby/struct:VCR::Request
|
297
297
|
method: :get
|
298
298
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2399?
|
299
|
-
body:
|
300
|
-
str: ""
|
299
|
+
body:
|
301
300
|
:@taguri: x-private:null
|
301
|
+
str: ""
|
302
302
|
headers:
|
303
303
|
accept:
|
304
304
|
- application/vnd.ticketevolution.api+json; version=8
|
@@ -311,37 +311,37 @@
|
|
311
311
|
code: 200
|
312
312
|
message: OK
|
313
313
|
headers:
|
314
|
-
|
315
|
-
-
|
316
|
-
transfer-encoding:
|
317
|
-
- chunked
|
318
|
-
connection:
|
319
|
-
- keep-alive
|
320
|
-
status:
|
321
|
-
- "200"
|
314
|
+
x-ua-compatible:
|
315
|
+
- IE=Edge,chrome=1
|
322
316
|
x-powered-by:
|
323
317
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
324
318
|
etag:
|
325
319
|
- "\"9a82f6565c00d85803d51ca3537943ce\""
|
326
|
-
x-ua-compatible:
|
327
|
-
- IE=Edge,chrome=1
|
328
|
-
x-runtime:
|
329
|
-
- "0.033625"
|
330
|
-
cache-control:
|
331
|
-
- max-age=0, private, must-revalidate
|
332
320
|
strict-transport-security:
|
333
321
|
- max-age=31536000
|
322
|
+
content-type:
|
323
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
324
|
+
connection:
|
325
|
+
- keep-alive
|
326
|
+
x-runtime:
|
327
|
+
- "0.033625"
|
334
328
|
server:
|
335
329
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
330
|
+
status:
|
331
|
+
- "200"
|
332
|
+
cache-control:
|
333
|
+
- max-age=0, private, must-revalidate
|
334
|
+
transfer-encoding:
|
335
|
+
- chunked
|
336
336
|
body: "{\"updated_at\":\"2012-02-22T16:53:25Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2399\",\"id\":\"2399\"}"
|
337
337
|
http_version: "1.1"
|
338
338
|
- !ruby/struct:VCR::HTTPInteraction
|
339
339
|
request: !ruby/struct:VCR::Request
|
340
340
|
method: :put
|
341
341
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2401
|
342
|
-
body:
|
343
|
-
str: ""
|
342
|
+
body:
|
344
343
|
:@taguri: x-private:null
|
344
|
+
str: ""
|
345
345
|
headers:
|
346
346
|
accept:
|
347
347
|
- application/vnd.ticketevolution.api+json; version=8
|
@@ -354,35 +354,35 @@
|
|
354
354
|
code: 422
|
355
355
|
message: Unprocessable Entity
|
356
356
|
headers:
|
357
|
+
x-ua-compatible:
|
358
|
+
- IE=Edge,chrome=1
|
359
|
+
x-powered-by:
|
360
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
361
|
+
strict-transport-security:
|
362
|
+
- max-age=31536000
|
357
363
|
content-type:
|
358
364
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
359
|
-
transfer-encoding:
|
360
|
-
- chunked
|
361
365
|
connection:
|
362
366
|
- keep-alive
|
367
|
+
x-runtime:
|
368
|
+
- "0.042055"
|
369
|
+
server:
|
370
|
+
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
363
371
|
status:
|
364
372
|
- "422"
|
365
|
-
x-powered-by:
|
366
|
-
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
367
|
-
x-ua-compatible:
|
368
|
-
- IE=Edge,chrome=1
|
369
|
-
x-runtime:
|
370
|
-
- "0.042055"
|
371
373
|
cache-control:
|
372
374
|
- no-cache
|
373
|
-
|
374
|
-
-
|
375
|
-
server:
|
376
|
-
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
375
|
+
transfer-encoding:
|
376
|
+
- chunked
|
377
377
|
body: "{\"updated_at\":\"2012-02-22T17:06:10Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2401\",\"id\":\"2401\"}"
|
378
378
|
http_version: "1.1"
|
379
379
|
- !ruby/struct:VCR::HTTPInteraction
|
380
380
|
request: !ruby/struct:VCR::Request
|
381
381
|
method: :put
|
382
382
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2401
|
383
|
-
body:
|
384
|
-
str: ""
|
383
|
+
body:
|
385
384
|
:@taguri: x-private:null
|
385
|
+
str: ""
|
386
386
|
headers:
|
387
387
|
accept:
|
388
388
|
- application/vnd.ticketevolution.api+json; version=8
|
@@ -395,35 +395,35 @@
|
|
395
395
|
code: 422
|
396
396
|
message: Unprocessable Entity
|
397
397
|
headers:
|
398
|
+
x-ua-compatible:
|
399
|
+
- IE=Edge,chrome=1
|
400
|
+
x-powered-by:
|
401
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
402
|
+
strict-transport-security:
|
403
|
+
- max-age=31536000
|
398
404
|
content-type:
|
399
405
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
400
|
-
transfer-encoding:
|
401
|
-
- chunked
|
402
406
|
connection:
|
403
407
|
- keep-alive
|
404
|
-
status:
|
405
|
-
- "422"
|
406
|
-
x-powered-by:
|
407
|
-
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
408
|
-
x-ua-compatible:
|
409
|
-
- IE=Edge,chrome=1
|
410
408
|
x-runtime:
|
411
409
|
- "0.042055"
|
412
|
-
cache-control:
|
413
|
-
- no-cache
|
414
|
-
strict-transport-security:
|
415
|
-
- max-age=31536000
|
416
410
|
server:
|
417
411
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
412
|
+
status:
|
413
|
+
- "422"
|
414
|
+
cache-control:
|
415
|
+
- no-cache
|
416
|
+
transfer-encoding:
|
417
|
+
- chunked
|
418
418
|
body: "{\"updated_at\":\"2012-02-22T17:06:10Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2401\",\"id\":\"2401\"}"
|
419
419
|
http_version: "1.1"
|
420
420
|
- !ruby/struct:VCR::HTTPInteraction
|
421
421
|
request: !ruby/struct:VCR::Request
|
422
422
|
method: :put
|
423
423
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2402
|
424
|
-
body:
|
425
|
-
str: ""
|
424
|
+
body:
|
426
425
|
:@taguri: x-private:null
|
426
|
+
str: ""
|
427
427
|
headers:
|
428
428
|
accept:
|
429
429
|
- application/vnd.ticketevolution.api+json; version=8
|
@@ -436,35 +436,35 @@
|
|
436
436
|
code: 422
|
437
437
|
message: Unprocessable Entity
|
438
438
|
headers:
|
439
|
+
x-ua-compatible:
|
440
|
+
- IE=Edge,chrome=1
|
441
|
+
x-powered-by:
|
442
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
443
|
+
strict-transport-security:
|
444
|
+
- max-age=31536000
|
439
445
|
content-type:
|
440
446
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
441
|
-
transfer-encoding:
|
442
|
-
- chunked
|
443
447
|
connection:
|
444
448
|
- keep-alive
|
445
|
-
status:
|
446
|
-
- "422"
|
447
|
-
x-powered-by:
|
448
|
-
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
449
|
-
x-ua-compatible:
|
450
|
-
- IE=Edge,chrome=1
|
451
449
|
x-runtime:
|
452
450
|
- "0.037546"
|
453
|
-
cache-control:
|
454
|
-
- no-cache
|
455
|
-
strict-transport-security:
|
456
|
-
- max-age=31536000
|
457
451
|
server:
|
458
452
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
453
|
+
status:
|
454
|
+
- "422"
|
455
|
+
cache-control:
|
456
|
+
- no-cache
|
457
|
+
transfer-encoding:
|
458
|
+
- chunked
|
459
459
|
body: "{\"updated_at\":\"2012-02-22T17:07:06Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2402\",\"id\":\"2402\"}"
|
460
460
|
http_version: "1.1"
|
461
461
|
- !ruby/struct:VCR::HTTPInteraction
|
462
462
|
request: !ruby/struct:VCR::Request
|
463
463
|
method: :put
|
464
464
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2402
|
465
|
-
body:
|
466
|
-
str: ""
|
465
|
+
body:
|
467
466
|
:@taguri: x-private:null
|
467
|
+
str: ""
|
468
468
|
headers:
|
469
469
|
accept:
|
470
470
|
- application/vnd.ticketevolution.api+json; version=8
|
@@ -477,35 +477,35 @@
|
|
477
477
|
code: 422
|
478
478
|
message: Unprocessable Entity
|
479
479
|
headers:
|
480
|
+
x-ua-compatible:
|
481
|
+
- IE=Edge,chrome=1
|
482
|
+
x-powered-by:
|
483
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
484
|
+
strict-transport-security:
|
485
|
+
- max-age=31536000
|
480
486
|
content-type:
|
481
487
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
482
|
-
transfer-encoding:
|
483
|
-
- chunked
|
484
488
|
connection:
|
485
489
|
- keep-alive
|
486
|
-
status:
|
487
|
-
- "422"
|
488
|
-
x-powered-by:
|
489
|
-
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
490
|
-
x-ua-compatible:
|
491
|
-
- IE=Edge,chrome=1
|
492
490
|
x-runtime:
|
493
491
|
- "0.037546"
|
494
|
-
cache-control:
|
495
|
-
- no-cache
|
496
|
-
strict-transport-security:
|
497
|
-
- max-age=31536000
|
498
492
|
server:
|
499
493
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
494
|
+
status:
|
495
|
+
- "422"
|
496
|
+
cache-control:
|
497
|
+
- no-cache
|
498
|
+
transfer-encoding:
|
499
|
+
- chunked
|
500
500
|
body: "{\"updated_at\":\"2012-02-22T17:07:06Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2402\",\"id\":\"2402\"}"
|
501
501
|
http_version: "1.1"
|
502
502
|
- !ruby/struct:VCR::HTTPInteraction
|
503
503
|
request: !ruby/struct:VCR::Request
|
504
504
|
method: :put
|
505
505
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2403
|
506
|
-
body:
|
507
|
-
str: ""
|
506
|
+
body:
|
508
507
|
:@taguri: x-private:null
|
508
|
+
str: ""
|
509
509
|
headers:
|
510
510
|
accept:
|
511
511
|
- application/vnd.ticketevolution.api+json; version=8
|
@@ -518,35 +518,35 @@
|
|
518
518
|
code: 422
|
519
519
|
message: Unprocessable Entity
|
520
520
|
headers:
|
521
|
+
x-ua-compatible:
|
522
|
+
- IE=Edge,chrome=1
|
523
|
+
x-powered-by:
|
524
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
525
|
+
strict-transport-security:
|
526
|
+
- max-age=31536000
|
521
527
|
content-type:
|
522
528
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
523
|
-
transfer-encoding:
|
524
|
-
- chunked
|
525
529
|
connection:
|
526
530
|
- keep-alive
|
527
|
-
status:
|
528
|
-
- "422"
|
529
|
-
x-powered-by:
|
530
|
-
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
531
|
-
x-ua-compatible:
|
532
|
-
- IE=Edge,chrome=1
|
533
531
|
x-runtime:
|
534
532
|
- "0.042914"
|
535
|
-
cache-control:
|
536
|
-
- no-cache
|
537
|
-
strict-transport-security:
|
538
|
-
- max-age=31536000
|
539
533
|
server:
|
540
534
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
535
|
+
status:
|
536
|
+
- "422"
|
537
|
+
cache-control:
|
538
|
+
- no-cache
|
539
|
+
transfer-encoding:
|
540
|
+
- chunked
|
541
541
|
body: "{\"updated_at\":\"2012-02-22T17:07:22Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2403\",\"id\":\"2403\"}"
|
542
542
|
http_version: "1.1"
|
543
543
|
- !ruby/struct:VCR::HTTPInteraction
|
544
544
|
request: !ruby/struct:VCR::Request
|
545
545
|
method: :put
|
546
546
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2403
|
547
|
-
body:
|
548
|
-
str: ""
|
547
|
+
body:
|
549
548
|
:@taguri: x-private:null
|
549
|
+
str: ""
|
550
550
|
headers:
|
551
551
|
accept:
|
552
552
|
- application/vnd.ticketevolution.api+json; version=8
|
@@ -559,35 +559,35 @@
|
|
559
559
|
code: 422
|
560
560
|
message: Unprocessable Entity
|
561
561
|
headers:
|
562
|
+
x-ua-compatible:
|
563
|
+
- IE=Edge,chrome=1
|
564
|
+
x-powered-by:
|
565
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
566
|
+
strict-transport-security:
|
567
|
+
- max-age=31536000
|
562
568
|
content-type:
|
563
569
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
564
|
-
transfer-encoding:
|
565
|
-
- chunked
|
566
570
|
connection:
|
567
571
|
- keep-alive
|
568
|
-
status:
|
569
|
-
- "422"
|
570
|
-
x-powered-by:
|
571
|
-
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
572
|
-
x-ua-compatible:
|
573
|
-
- IE=Edge,chrome=1
|
574
572
|
x-runtime:
|
575
573
|
- "0.042914"
|
576
|
-
cache-control:
|
577
|
-
- no-cache
|
578
|
-
strict-transport-security:
|
579
|
-
- max-age=31536000
|
580
574
|
server:
|
581
575
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
576
|
+
status:
|
577
|
+
- "422"
|
578
|
+
cache-control:
|
579
|
+
- no-cache
|
580
|
+
transfer-encoding:
|
581
|
+
- chunked
|
582
582
|
body: "{\"updated_at\":\"2012-02-22T17:07:22Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2403\",\"id\":\"2403\"}"
|
583
583
|
http_version: "1.1"
|
584
584
|
- !ruby/struct:VCR::HTTPInteraction
|
585
585
|
request: !ruby/struct:VCR::Request
|
586
586
|
method: :get
|
587
587
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2403?
|
588
|
-
body:
|
589
|
-
str: ""
|
588
|
+
body:
|
590
589
|
:@taguri: x-private:null
|
590
|
+
str: ""
|
591
591
|
headers:
|
592
592
|
accept:
|
593
593
|
- application/vnd.ticketevolution.api+json; version=8
|
@@ -600,37 +600,37 @@
|
|
600
600
|
code: 200
|
601
601
|
message: OK
|
602
602
|
headers:
|
603
|
-
|
604
|
-
-
|
605
|
-
transfer-encoding:
|
606
|
-
- chunked
|
607
|
-
connection:
|
608
|
-
- keep-alive
|
609
|
-
status:
|
610
|
-
- "200"
|
603
|
+
x-ua-compatible:
|
604
|
+
- IE=Edge,chrome=1
|
611
605
|
x-powered-by:
|
612
606
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
613
607
|
etag:
|
614
608
|
- "\"7cdb4b3fbba71ba67bc645a6f4b2a299\""
|
615
|
-
x-ua-compatible:
|
616
|
-
- IE=Edge,chrome=1
|
617
|
-
x-runtime:
|
618
|
-
- "0.043280"
|
619
|
-
cache-control:
|
620
|
-
- max-age=0, private, must-revalidate
|
621
609
|
strict-transport-security:
|
622
610
|
- max-age=31536000
|
611
|
+
content-type:
|
612
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
613
|
+
connection:
|
614
|
+
- keep-alive
|
615
|
+
x-runtime:
|
616
|
+
- "0.043280"
|
623
617
|
server:
|
624
618
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
619
|
+
status:
|
620
|
+
- "200"
|
621
|
+
cache-control:
|
622
|
+
- max-age=0, private, must-revalidate
|
623
|
+
transfer-encoding:
|
624
|
+
- chunked
|
625
625
|
body: "{\"updated_at\":\"2012-02-22T17:07:22Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2403\",\"id\":\"2403\"}"
|
626
626
|
http_version: "1.1"
|
627
627
|
- !ruby/struct:VCR::HTTPInteraction
|
628
628
|
request: !ruby/struct:VCR::Request
|
629
629
|
method: :get
|
630
630
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2403?
|
631
|
-
body:
|
632
|
-
str: ""
|
631
|
+
body:
|
633
632
|
:@taguri: x-private:null
|
633
|
+
str: ""
|
634
634
|
headers:
|
635
635
|
accept:
|
636
636
|
- application/vnd.ticketevolution.api+json; version=8
|
@@ -643,161 +643,208 @@
|
|
643
643
|
code: 200
|
644
644
|
message: OK
|
645
645
|
headers:
|
646
|
-
|
647
|
-
-
|
648
|
-
transfer-encoding:
|
649
|
-
- chunked
|
650
|
-
connection:
|
651
|
-
- keep-alive
|
652
|
-
status:
|
653
|
-
- "200"
|
646
|
+
x-ua-compatible:
|
647
|
+
- IE=Edge,chrome=1
|
654
648
|
x-powered-by:
|
655
649
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
656
650
|
etag:
|
657
651
|
- "\"7cdb4b3fbba71ba67bc645a6f4b2a299\""
|
658
|
-
x-ua-compatible:
|
659
|
-
- IE=Edge,chrome=1
|
660
|
-
x-runtime:
|
661
|
-
- "0.043280"
|
662
|
-
cache-control:
|
663
|
-
- max-age=0, private, must-revalidate
|
664
652
|
strict-transport-security:
|
665
653
|
- max-age=31536000
|
654
|
+
content-type:
|
655
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
656
|
+
connection:
|
657
|
+
- keep-alive
|
658
|
+
x-runtime:
|
659
|
+
- "0.043280"
|
666
660
|
server:
|
667
661
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
662
|
+
status:
|
663
|
+
- "200"
|
664
|
+
cache-control:
|
665
|
+
- max-age=0, private, must-revalidate
|
666
|
+
transfer-encoding:
|
667
|
+
- chunked
|
668
668
|
body: "{\"updated_at\":\"2012-02-22T17:07:22Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2403\",\"id\":\"2403\"}"
|
669
669
|
http_version: "1.1"
|
670
670
|
- !ruby/struct:VCR::HTTPInteraction
|
671
671
|
request: !ruby/struct:VCR::Request
|
672
|
-
method: :
|
673
|
-
uri: https://api.sandbox.ticketevolution.com:443/clients
|
674
|
-
body:
|
672
|
+
method: :put
|
673
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients/2405
|
674
|
+
body:
|
675
|
+
:@taguri: x-private:null
|
676
|
+
str: ""
|
675
677
|
headers:
|
676
678
|
accept:
|
677
679
|
- application/vnd.ticketevolution.api+json; version=8
|
678
680
|
x-signature:
|
679
|
-
-
|
681
|
+
- MrWIbSh/NXi2biXcRe1ggmG4zpr2PyJFRgHxNG8Jb2E=
|
680
682
|
x-token:
|
681
683
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
682
684
|
response: !ruby/struct:VCR::Response
|
683
685
|
status: !ruby/struct:VCR::ResponseStatus
|
684
|
-
code:
|
685
|
-
message:
|
686
|
+
code: 422
|
687
|
+
message: Unprocessable Entity
|
686
688
|
headers:
|
689
|
+
x-ua-compatible:
|
690
|
+
- IE=Edge,chrome=1
|
691
|
+
x-powered-by:
|
692
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
693
|
+
strict-transport-security:
|
694
|
+
- max-age=31536000
|
687
695
|
content-type:
|
688
696
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
689
|
-
transfer-encoding:
|
690
|
-
- chunked
|
691
697
|
connection:
|
692
698
|
- keep-alive
|
693
|
-
status:
|
694
|
-
- "201"
|
695
|
-
x-powered-by:
|
696
|
-
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
697
|
-
x-ua-compatible:
|
698
|
-
- IE=Edge,chrome=1
|
699
699
|
x-runtime:
|
700
|
-
- "0.
|
701
|
-
cache-control:
|
702
|
-
- no-cache
|
703
|
-
strict-transport-security:
|
704
|
-
- max-age=31536000
|
700
|
+
- "0.041863"
|
705
701
|
server:
|
706
702
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
707
|
-
|
703
|
+
status:
|
704
|
+
- "422"
|
705
|
+
cache-control:
|
706
|
+
- no-cache
|
707
|
+
transfer-encoding:
|
708
|
+
- chunked
|
709
|
+
body: "{\"updated_at\":\"2012-02-22T17:07:30Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2405\",\"id\":\"2405\"}"
|
708
710
|
http_version: "1.1"
|
709
711
|
- !ruby/struct:VCR::HTTPInteraction
|
710
712
|
request: !ruby/struct:VCR::Request
|
711
|
-
method: :
|
712
|
-
uri: https://api.sandbox.ticketevolution.com:443/clients
|
713
|
-
body:
|
713
|
+
method: :put
|
714
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients/2405
|
715
|
+
body:
|
716
|
+
:@taguri: x-private:null
|
717
|
+
str: ""
|
714
718
|
headers:
|
715
719
|
accept:
|
716
720
|
- application/vnd.ticketevolution.api+json; version=8
|
717
721
|
x-signature:
|
718
|
-
-
|
722
|
+
- MrWIbSh/NXi2biXcRe1ggmG4zpr2PyJFRgHxNG8Jb2E=
|
719
723
|
x-token:
|
720
724
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
721
725
|
response: !ruby/struct:VCR::Response
|
722
726
|
status: !ruby/struct:VCR::ResponseStatus
|
723
|
-
code:
|
724
|
-
message:
|
727
|
+
code: 422
|
728
|
+
message: Unprocessable Entity
|
725
729
|
headers:
|
730
|
+
x-ua-compatible:
|
731
|
+
- IE=Edge,chrome=1
|
732
|
+
x-powered-by:
|
733
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
734
|
+
strict-transport-security:
|
735
|
+
- max-age=31536000
|
726
736
|
content-type:
|
727
737
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
728
|
-
transfer-encoding:
|
729
|
-
- chunked
|
730
738
|
connection:
|
731
739
|
- keep-alive
|
732
|
-
status:
|
733
|
-
- "201"
|
734
|
-
x-powered-by:
|
735
|
-
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
736
|
-
x-ua-compatible:
|
737
|
-
- IE=Edge,chrome=1
|
738
740
|
x-runtime:
|
739
|
-
- "0.
|
740
|
-
cache-control:
|
741
|
-
- no-cache
|
742
|
-
strict-transport-security:
|
743
|
-
- max-age=31536000
|
741
|
+
- "0.041863"
|
744
742
|
server:
|
745
743
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
746
|
-
|
744
|
+
status:
|
745
|
+
- "422"
|
746
|
+
cache-control:
|
747
|
+
- no-cache
|
748
|
+
transfer-encoding:
|
749
|
+
- chunked
|
750
|
+
body: "{\"updated_at\":\"2012-02-22T17:07:30Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2405\",\"id\":\"2405\"}"
|
747
751
|
http_version: "1.1"
|
748
752
|
- !ruby/struct:VCR::HTTPInteraction
|
749
753
|
request: !ruby/struct:VCR::Request
|
750
|
-
method: :
|
751
|
-
uri: https://api.sandbox.ticketevolution.com:443/clients/2405
|
752
|
-
body:
|
753
|
-
str: ""
|
754
|
+
method: :get
|
755
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients/2405?
|
756
|
+
body:
|
754
757
|
:@taguri: x-private:null
|
758
|
+
str: ""
|
755
759
|
headers:
|
756
760
|
accept:
|
757
761
|
- application/vnd.ticketevolution.api+json; version=8
|
758
762
|
x-signature:
|
759
|
-
-
|
763
|
+
- EXQBKNfU7Q71J9jwkO5wYxOTK1SfAv6A2UAFR96sCYA=
|
760
764
|
x-token:
|
761
765
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
762
766
|
response: !ruby/struct:VCR::Response
|
763
767
|
status: !ruby/struct:VCR::ResponseStatus
|
764
|
-
code:
|
765
|
-
message:
|
768
|
+
code: 200
|
769
|
+
message: OK
|
766
770
|
headers:
|
771
|
+
x-ua-compatible:
|
772
|
+
- IE=Edge,chrome=1
|
773
|
+
x-powered-by:
|
774
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
775
|
+
etag:
|
776
|
+
- "\"38122730abd37dd6927e1f64be073626\""
|
777
|
+
strict-transport-security:
|
778
|
+
- max-age=31536000
|
767
779
|
content-type:
|
768
780
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
769
|
-
transfer-encoding:
|
770
|
-
- chunked
|
771
781
|
connection:
|
772
782
|
- keep-alive
|
783
|
+
x-runtime:
|
784
|
+
- "0.045359"
|
785
|
+
server:
|
786
|
+
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
773
787
|
status:
|
774
|
-
- "
|
775
|
-
|
776
|
-
-
|
788
|
+
- "200"
|
789
|
+
cache-control:
|
790
|
+
- max-age=0, private, must-revalidate
|
791
|
+
transfer-encoding:
|
792
|
+
- chunked
|
793
|
+
body: "{\"updated_at\":\"2012-02-22T17:07:30Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2405\",\"id\":\"2405\"}"
|
794
|
+
http_version: "1.1"
|
795
|
+
- !ruby/struct:VCR::HTTPInteraction
|
796
|
+
request: !ruby/struct:VCR::Request
|
797
|
+
method: :get
|
798
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients/2405?
|
799
|
+
body:
|
800
|
+
:@taguri: x-private:null
|
801
|
+
str: ""
|
802
|
+
headers:
|
803
|
+
accept:
|
804
|
+
- application/vnd.ticketevolution.api+json; version=8
|
805
|
+
x-signature:
|
806
|
+
- EXQBKNfU7Q71J9jwkO5wYxOTK1SfAv6A2UAFR96sCYA=
|
807
|
+
x-token:
|
808
|
+
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
809
|
+
response: !ruby/struct:VCR::Response
|
810
|
+
status: !ruby/struct:VCR::ResponseStatus
|
811
|
+
code: 200
|
812
|
+
message: OK
|
813
|
+
headers:
|
777
814
|
x-ua-compatible:
|
778
815
|
- IE=Edge,chrome=1
|
779
|
-
x-
|
780
|
-
-
|
781
|
-
|
782
|
-
-
|
816
|
+
x-powered-by:
|
817
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
818
|
+
etag:
|
819
|
+
- "\"38122730abd37dd6927e1f64be073626\""
|
783
820
|
strict-transport-security:
|
784
821
|
- max-age=31536000
|
822
|
+
content-type:
|
823
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
824
|
+
connection:
|
825
|
+
- keep-alive
|
826
|
+
x-runtime:
|
827
|
+
- "0.045359"
|
785
828
|
server:
|
786
829
|
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
787
|
-
|
830
|
+
status:
|
831
|
+
- "200"
|
832
|
+
cache-control:
|
833
|
+
- max-age=0, private, must-revalidate
|
834
|
+
transfer-encoding:
|
835
|
+
- chunked
|
836
|
+
body: "{\"updated_at\":\"2012-02-22T17:07:30Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2405\",\"id\":\"2405\"}"
|
788
837
|
http_version: "1.1"
|
789
838
|
- !ruby/struct:VCR::HTTPInteraction
|
790
839
|
request: !ruby/struct:VCR::Request
|
791
840
|
method: :put
|
792
841
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2405
|
793
|
-
body:
|
794
|
-
str: ""
|
795
|
-
:@taguri: x-private:null
|
842
|
+
body: "{\"updated_at\":\"2012-02-22T17:07:30Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"\",\"url\":\"/clients/2405\",\"status_code\":201,\"server_message\":\"Generally returned by successful POST requests. \"}"
|
796
843
|
headers:
|
797
844
|
accept:
|
798
845
|
- application/vnd.ticketevolution.api+json; version=8
|
799
846
|
x-signature:
|
800
|
-
-
|
847
|
+
- J4lvi21wPC1S/RShZKr/pLmjxBlMUw6nfmfAZ0MOzhs=
|
801
848
|
x-token:
|
802
849
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
803
850
|
response: !ruby/struct:VCR::Response
|
@@ -805,38 +852,40 @@
|
|
805
852
|
code: 422
|
806
853
|
message: Unprocessable Entity
|
807
854
|
headers:
|
855
|
+
x-ua-compatible:
|
856
|
+
- IE=Edge,chrome=1
|
857
|
+
x-powered-by:
|
858
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
859
|
+
strict-transport-security:
|
860
|
+
- max-age=31536000
|
808
861
|
content-type:
|
809
862
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
810
|
-
transfer-encoding:
|
811
|
-
- chunked
|
812
863
|
connection:
|
813
864
|
- keep-alive
|
865
|
+
x-runtime:
|
866
|
+
- "0.064119"
|
867
|
+
server:
|
868
|
+
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
814
869
|
status:
|
815
870
|
- "422"
|
816
|
-
x-powered-by:
|
817
|
-
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
818
|
-
x-ua-compatible:
|
819
|
-
- IE=Edge,chrome=1
|
820
|
-
x-runtime:
|
821
|
-
- "0.041863"
|
822
871
|
cache-control:
|
823
872
|
- no-cache
|
824
|
-
|
825
|
-
-
|
826
|
-
server:
|
827
|
-
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
873
|
+
transfer-encoding:
|
874
|
+
- chunked
|
828
875
|
body: "{\"updated_at\":\"2012-02-22T17:07:30Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2405\",\"id\":\"2405\"}"
|
829
876
|
http_version: "1.1"
|
830
877
|
- !ruby/struct:VCR::HTTPInteraction
|
831
878
|
request: !ruby/struct:VCR::Request
|
832
879
|
method: :get
|
833
|
-
uri: https://api.sandbox.ticketevolution.com:443/clients/2405
|
834
|
-
body:
|
835
|
-
str: ""
|
880
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients/2405
|
881
|
+
body:
|
836
882
|
:@taguri: x-private:null
|
883
|
+
str: ""
|
837
884
|
headers:
|
838
885
|
accept:
|
839
886
|
- application/vnd.ticketevolution.api+json; version=8
|
887
|
+
accept-encoding:
|
888
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
840
889
|
x-signature:
|
841
890
|
- EXQBKNfU7Q71J9jwkO5wYxOTK1SfAv6A2UAFR96sCYA=
|
842
891
|
x-token:
|
@@ -846,40 +895,81 @@
|
|
846
895
|
code: 200
|
847
896
|
message: OK
|
848
897
|
headers:
|
898
|
+
x-ua-compatible:
|
899
|
+
- IE=Edge,chrome=1
|
900
|
+
x-powered-by:
|
901
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
902
|
+
etag:
|
903
|
+
- "\"38122730abd37dd6927e1f64be073626\""
|
904
|
+
strict-transport-security:
|
905
|
+
- max-age=31536000
|
849
906
|
content-type:
|
850
907
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
851
|
-
transfer-encoding:
|
852
|
-
- chunked
|
853
908
|
connection:
|
854
909
|
- keep-alive
|
910
|
+
x-runtime:
|
911
|
+
- "0.061728"
|
912
|
+
server:
|
913
|
+
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
855
914
|
status:
|
856
915
|
- "200"
|
857
|
-
x-powered-by:
|
858
|
-
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
859
|
-
etag:
|
860
|
-
- "\"38122730abd37dd6927e1f64be073626\""
|
861
|
-
x-ua-compatible:
|
862
|
-
- IE=Edge,chrome=1
|
863
|
-
x-runtime:
|
864
|
-
- "0.045359"
|
865
916
|
cache-control:
|
866
917
|
- max-age=0, private, must-revalidate
|
918
|
+
transfer-encoding:
|
919
|
+
- chunked
|
920
|
+
body: "{\"updated_at\":\"2012-02-22T17:07:30Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2405\",\"id\":\"2405\"}"
|
921
|
+
http_version: "1.1"
|
922
|
+
- !ruby/struct:VCR::HTTPInteraction
|
923
|
+
request: !ruby/struct:VCR::Request
|
924
|
+
method: :put
|
925
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients/2405
|
926
|
+
body: "{\"addresses\":[],\"email_addresses\":[],\"name\":\"\",\"phone_numbers\":[],\"server_message\":\"Generally returned by successful POST requests. \",\"status_code\":201,\"updated_at\":\"2012-02-22T17:07:30Z\",\"url\":\"/clients/2405\"}"
|
927
|
+
headers:
|
928
|
+
accept:
|
929
|
+
- application/vnd.ticketevolution.api+json; version=8
|
930
|
+
x-signature:
|
931
|
+
- Xf/nsdiHiYbpLeGbgDDsOBfXJpGtlinClG/MoyzgkdI=
|
932
|
+
x-token:
|
933
|
+
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
934
|
+
response: !ruby/struct:VCR::Response
|
935
|
+
status: !ruby/struct:VCR::ResponseStatus
|
936
|
+
code: 422
|
937
|
+
message: Unprocessable Entity
|
938
|
+
headers:
|
939
|
+
x-ua-compatible:
|
940
|
+
- IE=Edge,chrome=1
|
941
|
+
x-powered-by:
|
942
|
+
- Phusion Passenger (mod_rails/mod_rack) 2.2.10
|
867
943
|
strict-transport-security:
|
868
944
|
- max-age=31536000
|
945
|
+
content-type:
|
946
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
947
|
+
connection:
|
948
|
+
- keep-alive
|
949
|
+
x-runtime:
|
950
|
+
- "0.028101"
|
869
951
|
server:
|
870
|
-
- nginx/
|
871
|
-
|
952
|
+
- nginx/0.7.65 + Phusion Passenger 2.2.10 (mod_rails/mod_rack)
|
953
|
+
status:
|
954
|
+
- "422"
|
955
|
+
cache-control:
|
956
|
+
- no-cache
|
957
|
+
transfer-encoding:
|
958
|
+
- chunked
|
959
|
+
body: "{\"updated_at\":\"2012-02-22T17:07:30Z\",\"phone_numbers\":[],\"url\":\"/clients/2405\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[{\"postal_code\":\"77338\",\"street_address\":\"21338 maple harvest lane\",\"extended_address\":null,\"locality\":\"Humble\",\"latitude\":null,\"country_code\":null,\"region\":\"Tx\",\"name\":\"Martil martinez\",\"longitude\":null},{\"postal_code\":\"77338\",\"street_address\":\"21338 maple harvest lane\",\"extended_address\":null,\"locality\":\"Humble\",\"latitude\":null,\"country_code\":null,\"region\":\"Tx\",\"name\":null,\"longitude\":null}],\"name\":null,\"id\":\"2405\",\"email_addresses\":[]}"
|
872
960
|
http_version: "1.1"
|
873
961
|
- !ruby/struct:VCR::HTTPInteraction
|
874
962
|
request: !ruby/struct:VCR::Request
|
875
963
|
method: :get
|
876
|
-
uri: https://api.sandbox.ticketevolution.com:443/clients/2405
|
964
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients/2405
|
877
965
|
body: !!null
|
878
966
|
str: ""
|
879
|
-
|
967
|
+
"@taguri": x-private:null
|
880
968
|
headers:
|
881
969
|
accept:
|
882
970
|
- application/vnd.ticketevolution.api+json; version=8
|
971
|
+
accept-encoding:
|
972
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
883
973
|
x-signature:
|
884
974
|
- EXQBKNfU7Q71J9jwkO5wYxOTK1SfAv6A2UAFR96sCYA=
|
885
975
|
x-token:
|
@@ -889,193 +979,241 @@
|
|
889
979
|
code: 200
|
890
980
|
message: OK
|
891
981
|
headers:
|
982
|
+
x-ua-compatible:
|
983
|
+
- IE=Edge,chrome=1
|
984
|
+
x-powered-by:
|
985
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
986
|
+
etag:
|
987
|
+
- "\"cd1417e2efc16139c294987f74bfb8e5\""
|
988
|
+
strict-transport-security:
|
989
|
+
- max-age=31536000
|
892
990
|
content-type:
|
893
991
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
894
|
-
transfer-encoding:
|
895
|
-
- chunked
|
896
992
|
connection:
|
897
993
|
- keep-alive
|
994
|
+
x-runtime:
|
995
|
+
- "0.039907"
|
996
|
+
server:
|
997
|
+
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
898
998
|
status:
|
899
999
|
- "200"
|
900
|
-
x-powered-by:
|
901
|
-
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
902
|
-
etag:
|
903
|
-
- "\"38122730abd37dd6927e1f64be073626\""
|
904
|
-
x-ua-compatible:
|
905
|
-
- IE=Edge,chrome=1
|
906
|
-
x-runtime:
|
907
|
-
- "0.045359"
|
908
1000
|
cache-control:
|
909
1001
|
- max-age=0, private, must-revalidate
|
910
|
-
|
911
|
-
-
|
912
|
-
|
913
|
-
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
914
|
-
body: "{\"updated_at\":\"2012-02-22T17:07:30Z\",\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2405\",\"id\":\"2405\"}"
|
1002
|
+
transfer-encoding:
|
1003
|
+
- chunked
|
1004
|
+
body: "{\"updated_at\":\"2012-02-22T17:07:30Z\",\"phone_numbers\":[],\"email_addresses\":[],\"addresses\":[{\"latitude\":null,\"postal_code\":\"77338\",\"longitude\":null,\"street_address\":\"21338 maple harvest lane\",\"extended_address\":null,\"locality\":\"Humble\",\"label\":null,\"name\":\"Martil martinez\",\"id\":\"170037\",\"country_code\":null,\"region\":\"Tx\"},{\"latitude\":null,\"postal_code\":\"77338\",\"longitude\":null,\"street_address\":\"21338 maple harvest lane\",\"extended_address\":null,\"locality\":\"Humble\",\"label\":null,\"name\":null,\"id\":\"170038\",\"country_code\":null,\"region\":\"Tx\"}],\"tags\":[],\"company\":null,\"name\":\"foo\",\"id\":\"2405\",\"url\":\"/clients/2405\"}"
|
915
1005
|
http_version: "1.1"
|
916
1006
|
- !ruby/struct:VCR::HTTPInteraction
|
917
1007
|
request: !ruby/struct:VCR::Request
|
918
1008
|
method: :put
|
919
1009
|
uri: https://api.sandbox.ticketevolution.com:443/clients/2405
|
920
|
-
body: "{\"
|
1010
|
+
body: "{\"name\":\"\"}"
|
921
1011
|
headers:
|
1012
|
+
accept:
|
1013
|
+
- application/vnd.ticketevolution.api+json; version=8
|
922
1014
|
x-signature:
|
923
|
-
-
|
1015
|
+
- MrWIbSh/NXi2biXcRe1ggmG4zpr2PyJFRgHxNG8Jb2E=
|
924
1016
|
x-token:
|
925
1017
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
926
|
-
accept:
|
927
|
-
- application/vnd.ticketevolution.api+json; version=8
|
928
1018
|
response: !ruby/struct:VCR::Response
|
929
1019
|
status: !ruby/struct:VCR::ResponseStatus
|
930
1020
|
code: 422
|
931
1021
|
message: Unprocessable Entity
|
932
1022
|
headers:
|
1023
|
+
x-ua-compatible:
|
1024
|
+
- IE=Edge,chrome=1
|
1025
|
+
x-powered-by:
|
1026
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
933
1027
|
content-type:
|
934
1028
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
935
|
-
|
936
|
-
-
|
937
|
-
|
938
|
-
-
|
1029
|
+
x-runtime:
|
1030
|
+
- "0.246782"
|
1031
|
+
server:
|
1032
|
+
- nginx/1.0.14 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
939
1033
|
status:
|
940
1034
|
- "422"
|
941
|
-
|
942
|
-
-
|
1035
|
+
cache-control:
|
1036
|
+
- no-cache
|
1037
|
+
transfer-encoding:
|
1038
|
+
- chunked
|
1039
|
+
body: "{\"addresses\":[{\"region\":\"Tx\",\"street_address\":\"21338 maple harvest lane\",\"longitude\":null,\"country_code\":null,\"extended_address\":null,\"name\":\"Martil martinez\",\"id\":\"170037\",\"locality\":\"Humble\",\"label\":null,\"latitude\":null,\"postal_code\":\"77338\"},{\"region\":\"Tx\",\"street_address\":\"21338 maple harvest lane\",\"longitude\":null,\"country_code\":null,\"extended_address\":null,\"name\":null,\"id\":\"170038\",\"locality\":\"Humble\",\"label\":null,\"latitude\":null,\"postal_code\":\"77338\"}],\"updated_at\":\"2012-02-22T17:07:30Z\",\"company\":null,\"email_addresses\":[],\"errors\":{\"name\":[\"can't be blank\"]},\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2405\",\"id\":\"2405\",\"tags\":[]}"
|
1040
|
+
http_version: "1.1"
|
1041
|
+
- !ruby/struct:VCR::HTTPInteraction
|
1042
|
+
request: !ruby/struct:VCR::Request
|
1043
|
+
method: :put
|
1044
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients/2885
|
1045
|
+
body: "{\"name\":\"\"}"
|
1046
|
+
headers:
|
1047
|
+
accept:
|
1048
|
+
- application/vnd.ticketevolution.api+json; version=8
|
1049
|
+
x-signature:
|
1050
|
+
- 21Dgy2C1YUnDX/WzVX1tSXUjm94R2swCspcBGWXooLY=
|
1051
|
+
x-token:
|
1052
|
+
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
1053
|
+
response: !ruby/struct:VCR::Response
|
1054
|
+
status: !ruby/struct:VCR::ResponseStatus
|
1055
|
+
code: 422
|
1056
|
+
message: Unprocessable Entity
|
1057
|
+
headers:
|
943
1058
|
x-ua-compatible:
|
944
1059
|
- IE=Edge,chrome=1
|
1060
|
+
x-powered-by:
|
1061
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
1062
|
+
content-type:
|
1063
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
945
1064
|
x-runtime:
|
946
|
-
- "0.
|
1065
|
+
- "0.025702"
|
1066
|
+
server:
|
1067
|
+
- nginx/1.0.14 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
1068
|
+
status:
|
1069
|
+
- "422"
|
947
1070
|
cache-control:
|
948
1071
|
- no-cache
|
949
|
-
|
950
|
-
-
|
951
|
-
|
952
|
-
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
953
|
-
body: "{\"updated_at\":\"2012-02-22T17:07:30Z\",\"errors\":{\"name\":[\"can't be blank\"]},\"addresses\":[],\"email_addresses\":[],\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2405\",\"id\":\"2405\"}"
|
1072
|
+
transfer-encoding:
|
1073
|
+
- chunked
|
1074
|
+
body: "{\"addresses\":[{\"region\":\"Co\",\"street_address\":\"10355 Dover St\",\"longitude\":null,\"country_code\":null,\"extended_address\":\"#1535\",\"name\":\"Shawna Snyder\",\"id\":\"171895\",\"locality\":\"Westminster\",\"label\":null,\"latitude\":null,\"postal_code\":\"80021\"},{\"region\":\"Co\",\"street_address\":\"10355 Dover St\",\"longitude\":null,\"country_code\":null,\"extended_address\":\"#1535\",\"name\":null,\"id\":\"171896\",\"locality\":\"Westminster\",\"label\":null,\"latitude\":null,\"postal_code\":\"80021\"}],\"updated_at\":\"2012-05-09T15:10:20Z\",\"company\":null,\"email_addresses\":[],\"errors\":{\"name\":[\"can't be blank\"]},\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2885\",\"id\":\"2885\",\"tags\":[]}"
|
954
1075
|
http_version: "1.1"
|
955
1076
|
- !ruby/struct:VCR::HTTPInteraction
|
956
1077
|
request: !ruby/struct:VCR::Request
|
957
1078
|
method: :get
|
958
|
-
uri: https://api.sandbox.ticketevolution.com:443/clients/
|
959
|
-
body:
|
960
|
-
str: ""
|
961
|
-
:@taguri: x-private:null
|
1079
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients/2885
|
1080
|
+
body:
|
962
1081
|
headers:
|
1082
|
+
accept:
|
1083
|
+
- application/vnd.ticketevolution.api+json; version=8
|
963
1084
|
x-signature:
|
964
|
-
-
|
1085
|
+
- qN04zsJKUwXQyMjBgk4Qe/z+grInLBiOjoNnhcWLFIs=
|
965
1086
|
x-token:
|
966
1087
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
967
|
-
accept:
|
968
|
-
- application/vnd.ticketevolution.api+json; version=8
|
969
|
-
accept-encoding:
|
970
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
971
1088
|
response: !ruby/struct:VCR::Response
|
972
1089
|
status: !ruby/struct:VCR::ResponseStatus
|
973
1090
|
code: 200
|
974
1091
|
message: OK
|
975
1092
|
headers:
|
1093
|
+
x-ua-compatible:
|
1094
|
+
- IE=Edge,chrome=1
|
1095
|
+
x-powered-by:
|
1096
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
1097
|
+
etag:
|
1098
|
+
- "\"9d13f8ec241b01ae3e9ed2f9a849f46a\""
|
976
1099
|
content-type:
|
977
1100
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
978
|
-
|
979
|
-
-
|
980
|
-
|
981
|
-
-
|
1101
|
+
x-runtime:
|
1102
|
+
- "0.027885"
|
1103
|
+
server:
|
1104
|
+
- nginx/1.0.14 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
982
1105
|
status:
|
983
1106
|
- "200"
|
984
|
-
|
985
|
-
-
|
986
|
-
|
987
|
-
-
|
1107
|
+
cache-control:
|
1108
|
+
- max-age=0, private, must-revalidate
|
1109
|
+
transfer-encoding:
|
1110
|
+
- chunked
|
1111
|
+
body: "{\"addresses\":[{\"region\":\"Co\",\"street_address\":\"10355 Dover St\",\"longitude\":null,\"country_code\":null,\"extended_address\":\"#1535\",\"name\":\"Shawna Snyder\",\"id\":\"171895\",\"locality\":\"Westminster\",\"label\":null,\"latitude\":null,\"postal_code\":\"80021\"},{\"region\":\"Co\",\"street_address\":\"10355 Dover St\",\"longitude\":null,\"country_code\":null,\"extended_address\":\"#1535\",\"name\":null,\"id\":\"171896\",\"locality\":\"Westminster\",\"label\":null,\"latitude\":null,\"postal_code\":\"80021\"}],\"updated_at\":\"2012-05-09T15:10:20Z\",\"company\":null,\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2885\",\"id\":\"2885\",\"tags\":[]}"
|
1112
|
+
http_version: "1.1"
|
1113
|
+
- !ruby/struct:VCR::HTTPInteraction
|
1114
|
+
request: !ruby/struct:VCR::Request
|
1115
|
+
method: :post
|
1116
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients
|
1117
|
+
body: "{\"clients\":[{\"name\":\"foo\"}]}"
|
1118
|
+
headers:
|
1119
|
+
accept:
|
1120
|
+
- application/vnd.ticketevolution.api+json; version=8
|
1121
|
+
x-signature:
|
1122
|
+
- Fjw96P6d0OgfpnxvFdz3E6L4KwmWOG/GzHLYaqPBltE=
|
1123
|
+
x-token:
|
1124
|
+
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
1125
|
+
response: !ruby/struct:VCR::Response
|
1126
|
+
status: !ruby/struct:VCR::ResponseStatus
|
1127
|
+
code: 201
|
1128
|
+
message: Created
|
1129
|
+
headers:
|
988
1130
|
x-ua-compatible:
|
989
1131
|
- IE=Edge,chrome=1
|
1132
|
+
x-powered-by:
|
1133
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
1134
|
+
content-type:
|
1135
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
1136
|
+
server:
|
1137
|
+
- nginx/1.0.14 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
990
1138
|
x-runtime:
|
991
|
-
- "0.
|
1139
|
+
- "0.097109"
|
992
1140
|
cache-control:
|
993
|
-
-
|
994
|
-
|
995
|
-
-
|
996
|
-
|
997
|
-
-
|
998
|
-
body: "{\"updated_at\":\"2012-
|
1141
|
+
- no-cache
|
1142
|
+
status:
|
1143
|
+
- "201"
|
1144
|
+
transfer-encoding:
|
1145
|
+
- chunked
|
1146
|
+
body: "{\"clients\":[{\"addresses\":[{\"region\":null,\"street_address\":null,\"longitude\":null,\"country_code\":null,\"extended_address\":null,\"name\":null,\"id\":\"171901\",\"locality\":null,\"label\":\"billing address\",\"latitude\":null,\"postal_code\":null},{\"region\":null,\"street_address\":null,\"longitude\":null,\"country_code\":null,\"extended_address\":null,\"name\":null,\"id\":\"171902\",\"locality\":null,\"label\":\"billing address\",\"latitude\":null,\"postal_code\":null},{\"region\":\"ON\",\"street_address\":\"19 brant\",\"longitude\":null,\"country_code\":\"CA\",\"extended_address\":null,\"name\":\"Clare Anstie\",\"id\":\"171903\",\"locality\":\"toronto\",\"label\":\"billing address\",\"latitude\":null,\"postal_code\":\"m5v2l2\"}],\"updated_at\":\"2012-05-09T15:12:20Z\",\"company\":null,\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2888\",\"id\":\"2888\",\"tags\":[]}]}"
|
999
1147
|
http_version: "1.1"
|
1000
1148
|
- !ruby/struct:VCR::HTTPInteraction
|
1001
1149
|
request: !ruby/struct:VCR::Request
|
1002
1150
|
method: :put
|
1003
|
-
uri: https://api.sandbox.ticketevolution.com:443/clients/
|
1004
|
-
body: "{\"
|
1151
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients/2888
|
1152
|
+
body: "{\"name\":\"\"}"
|
1005
1153
|
headers:
|
1154
|
+
accept:
|
1155
|
+
- application/vnd.ticketevolution.api+json; version=8
|
1006
1156
|
x-signature:
|
1007
|
-
-
|
1157
|
+
- ijpEQ/Ka6YKGAN0VBV37XZnlU6TBHpnlZe/LRaPhUsc=
|
1008
1158
|
x-token:
|
1009
1159
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
1010
|
-
accept:
|
1011
|
-
- application/vnd.ticketevolution.api+json; version=8
|
1012
1160
|
response: !ruby/struct:VCR::Response
|
1013
1161
|
status: !ruby/struct:VCR::ResponseStatus
|
1014
1162
|
code: 422
|
1015
1163
|
message: Unprocessable Entity
|
1016
1164
|
headers:
|
1165
|
+
x-ua-compatible:
|
1166
|
+
- IE=Edge,chrome=1
|
1167
|
+
x-powered-by:
|
1168
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
1017
1169
|
content-type:
|
1018
1170
|
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
1019
|
-
|
1020
|
-
-
|
1021
|
-
connection:
|
1022
|
-
- keep-alive
|
1023
|
-
status:
|
1024
|
-
- "422"
|
1025
|
-
x-powered-by:
|
1026
|
-
- Phusion Passenger (mod_rails/mod_rack) 2.2.10
|
1171
|
+
server:
|
1172
|
+
- nginx/1.0.14 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
1027
1173
|
x-runtime:
|
1028
|
-
- "0.
|
1029
|
-
x-ua-compatible:
|
1030
|
-
- IE=Edge,chrome=1
|
1031
|
-
strict-transport-security:
|
1032
|
-
- max-age=31536000
|
1174
|
+
- "0.027675"
|
1033
1175
|
cache-control:
|
1034
1176
|
- no-cache
|
1035
|
-
|
1036
|
-
-
|
1037
|
-
|
1177
|
+
status:
|
1178
|
+
- "422"
|
1179
|
+
transfer-encoding:
|
1180
|
+
- chunked
|
1181
|
+
body: "{\"addresses\":[{\"region\":null,\"street_address\":null,\"longitude\":null,\"country_code\":null,\"extended_address\":null,\"name\":null,\"id\":\"171901\",\"locality\":null,\"label\":\"billing address\",\"latitude\":null,\"postal_code\":null},{\"region\":null,\"street_address\":null,\"longitude\":null,\"country_code\":null,\"extended_address\":null,\"name\":null,\"id\":\"171902\",\"locality\":null,\"label\":\"billing address\",\"latitude\":null,\"postal_code\":null},{\"region\":\"ON\",\"street_address\":\"19 brant\",\"longitude\":null,\"country_code\":\"CA\",\"extended_address\":null,\"name\":\"Clare Anstie\",\"id\":\"171903\",\"locality\":\"toronto\",\"label\":\"billing address\",\"latitude\":null,\"postal_code\":\"m5v2l2\"}],\"updated_at\":\"2012-05-09T15:12:20Z\",\"company\":null,\"email_addresses\":[],\"errors\":{\"name\":[\"can't be blank\"]},\"phone_numbers\":[],\"name\":null,\"url\":\"/clients/2888\",\"id\":\"2888\",\"tags\":[]}"
|
1038
1182
|
http_version: "1.1"
|
1039
1183
|
- !ruby/struct:VCR::HTTPInteraction
|
1040
1184
|
request: !ruby/struct:VCR::Request
|
1041
1185
|
method: :get
|
1042
|
-
uri: https://api.sandbox.ticketevolution.com:443/clients/
|
1186
|
+
uri: https://api.sandbox.ticketevolution.com:443/clients/2888
|
1043
1187
|
body:
|
1044
1188
|
headers:
|
1189
|
+
accept:
|
1190
|
+
- application/vnd.ticketevolution.api+json; version=8
|
1045
1191
|
x-signature:
|
1046
|
-
-
|
1192
|
+
- FxaXbZrJDZOLadYacF2sTD3UP555NGUZ+YOQ/O+dNpE=
|
1047
1193
|
x-token:
|
1048
1194
|
- b2b5a7a33b1a78896ed1b53d81c5c9cc
|
1049
|
-
accept:
|
1050
|
-
- application/vnd.ticketevolution.api+json; version=8
|
1051
|
-
accept-encoding:
|
1052
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1053
1195
|
response: !ruby/struct:VCR::Response
|
1054
1196
|
status: !ruby/struct:VCR::ResponseStatus
|
1055
1197
|
code: 200
|
1056
1198
|
message: OK
|
1057
1199
|
headers:
|
1058
|
-
|
1059
|
-
-
|
1060
|
-
|
1061
|
-
-
|
1062
|
-
connection:
|
1063
|
-
- keep-alive
|
1064
|
-
status:
|
1065
|
-
- "200"
|
1200
|
+
x-ua-compatible:
|
1201
|
+
- IE=Edge,chrome=1
|
1202
|
+
etag:
|
1203
|
+
- "\"238c933513535069a2c81145b16d37bf\""
|
1066
1204
|
x-powered-by:
|
1067
1205
|
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
1068
|
-
|
1069
|
-
-
|
1206
|
+
content-type:
|
1207
|
+
- application/vnd.ticketevolution.api+json; version=8; charset=utf-8
|
1208
|
+
server:
|
1209
|
+
- nginx/1.0.14 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
1210
|
+
x-runtime:
|
1211
|
+
- "0.026172"
|
1070
1212
|
cache-control:
|
1071
1213
|
- max-age=0, private, must-revalidate
|
1072
|
-
|
1073
|
-
- "
|
1074
|
-
|
1075
|
-
-
|
1076
|
-
|
1077
|
-
- max-age=31536000
|
1078
|
-
server:
|
1079
|
-
- nginx/1.0.11 + Phusion Passenger 3.0.11 (mod_rails/mod_rack)
|
1080
|
-
body: "{\"updated_at\":\"2012-02-22T17:07:30Z\",\"phone_numbers\":[],\"email_addresses\":[],\"addresses\":[{\"latitude\":null,\"postal_code\":\"77338\",\"longitude\":null,\"street_address\":\"21338 maple harvest lane\",\"extended_address\":null,\"locality\":\"Humble\",\"label\":null,\"name\":\"Martil martinez\",\"id\":\"170037\",\"country_code\":null,\"region\":\"Tx\"},{\"latitude\":null,\"postal_code\":\"77338\",\"longitude\":null,\"street_address\":\"21338 maple harvest lane\",\"extended_address\":null,\"locality\":\"Humble\",\"label\":null,\"name\":null,\"id\":\"170038\",\"country_code\":null,\"region\":\"Tx\"}],\"tags\":[],\"company\":null,\"name\":\"foo\",\"id\":\"2405\",\"url\":\"/clients/2405\"}"
|
1214
|
+
status:
|
1215
|
+
- "200"
|
1216
|
+
transfer-encoding:
|
1217
|
+
- chunked
|
1218
|
+
body: "{\"addresses\":[{\"region\":null,\"street_address\":null,\"longitude\":null,\"country_code\":null,\"extended_address\":null,\"name\":null,\"id\":\"171901\",\"locality\":null,\"label\":\"billing address\",\"latitude\":null,\"postal_code\":null},{\"region\":null,\"street_address\":null,\"longitude\":null,\"country_code\":null,\"extended_address\":null,\"name\":null,\"id\":\"171902\",\"locality\":null,\"label\":\"billing address\",\"latitude\":null,\"postal_code\":null},{\"region\":\"ON\",\"street_address\":\"19 brant\",\"longitude\":null,\"country_code\":\"CA\",\"extended_address\":null,\"name\":\"Clare Anstie\",\"id\":\"171903\",\"locality\":\"toronto\",\"label\":\"billing address\",\"latitude\":null,\"postal_code\":\"m5v2l2\"}],\"updated_at\":\"2012-05-09T15:12:20Z\",\"company\":null,\"email_addresses\":[],\"phone_numbers\":[],\"name\":\"foo\",\"url\":\"/clients/2888\",\"id\":\"2888\",\"tags\":[]}"
|
1081
1219
|
http_version: "1.1"
|