sendcloud-ruby 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,84 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://D74gAPTNto4N28N:Yb6m0YVBXtWm2zTdk@panel.sendcloud.nl/api/v2/parcels
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"parcel":{"name":"Rob van den Heuvel","address":"Torenallee","city":"Eindhoven","postal_code":"5617BC","country":"NL","shipment":{"id":1},"requestShipment":false,"telephone":"","email":"","data":[]}}'
9
+ headers:
10
+ Content-Type:
11
+ - application/json
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ Date:
18
+ - Tue, 27 Jan 2015 12:38:05 GMT
19
+ Server:
20
+ - Apache/2.4.7 (Ubuntu)
21
+ X-Powered-By:
22
+ - PHP/5.5.9-1ubuntu4.5
23
+ Set-Cookie:
24
+ - ci_session=a%3A5%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%2256b3b198eec5d15421d22310b09d0b85%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A15%3A%22213.184.251.170%22%3Bs%3A10%3A%22user_agent%22%3Bb%3A0%3Bs%3A13%3A%22last_activity%22%3Bi%3A1422362285%3Bs%3A9%3A%22user_data%22%3Bs%3A0%3A%22%22%3B%7D86b00f0efcaa3a811db2efff3de84af7;
25
+ expires=Tue, 27-Jan-2015 14:38:05 GMT; Max-Age=7200; path=/
26
+ Status:
27
+ - '200'
28
+ Content-Length:
29
+ - '415'
30
+ Vary:
31
+ - Accept-Encoding
32
+ Cache-Control:
33
+ - max-age=0, no-store
34
+ Content-Type:
35
+ - application/json
36
+ body:
37
+ encoding: UTF-8
38
+ string: '{"parcel":{"id":388185,"name":"Rob van den Heuvel","company_name":null,"address":"Torenallee ","address_divided":{"street":"Torenallee","house_number":null},"city":"Eindhoven","postal_code":"5617BC","telephone":"","email":"","date_created":"27-01-2015
39
+ 13:38:05","reference":"","data":[],"country":{"iso_3":"NLD","iso_2":"NL","name":"Nederland"},"shipment":{"id":1,"name":"Pakket
40
+ Nederland (PostNL)","options":[]}}}'
41
+ http_version:
42
+ recorded_at: Tue, 27 Jan 2015 12:38:05 GMT
43
+ - request:
44
+ method: put
45
+ uri: https://D74gAPTNto4N28N:Yb6m0YVBXtWm2zTdk@panel.sendcloud.nl/api/v2/parcels
46
+ body:
47
+ encoding: UTF-8
48
+ string: '{"parcel":{"id":388185,"requestShipment":true}}'
49
+ headers:
50
+ Content-Type:
51
+ - application/json
52
+ response:
53
+ status:
54
+ code: 200
55
+ message: OK
56
+ headers:
57
+ Date:
58
+ - Tue, 27 Jan 2015 12:38:06 GMT
59
+ Server:
60
+ - Apache/2.4.7 (Ubuntu)
61
+ X-Powered-By:
62
+ - PHP/5.5.9-1ubuntu4.5
63
+ Set-Cookie:
64
+ - ci_session=a%3A5%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%2248a76b25860babf794c187afeac04a4c%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A15%3A%22213.184.251.170%22%3Bs%3A10%3A%22user_agent%22%3Bb%3A0%3Bs%3A13%3A%22last_activity%22%3Bi%3A1422362286%3Bs%3A9%3A%22user_data%22%3Bs%3A0%3A%22%22%3B%7D496e51efcd60349f5eb9fbc48ed8ff1b;
65
+ expires=Tue, 27-Jan-2015 14:38:06 GMT; Max-Age=7200; path=/
66
+ Status:
67
+ - '200'
68
+ Content-Length:
69
+ - '1205'
70
+ Vary:
71
+ - Accept-Encoding
72
+ Cache-Control:
73
+ - max-age=0, no-store
74
+ Content-Type:
75
+ - application/json
76
+ body:
77
+ encoding: UTF-8
78
+ string: '{"parcel":{"id":388185,"name":"Rob van den Heuvel","company_name":null,"address":"Torenallee ","address_divided":{"street":"Torenallee","house_number":null},"city":"Eindhoven","postal_code":"5617BC","telephone":"","email":"","date_created":"27-01-2015
79
+ 13:38:05","reference":"","tracking_number":"3SYZXG106077438","label":{"normal_printer":["https:\/\/panel.sendcloud.nl\/api\/v2\/labels\/normal_printer\/388185?start_from=0&hash=c5bcb9dafccc0d1d5cfafdf677bd45085d35ff9f","https:\/\/panel.sendcloud.nl\/api\/v2\/labels\/normal_printer\/388185?start_from=1&hash=c5bcb9dafccc0d1d5cfafdf677bd45085d35ff9f","https:\/\/panel.sendcloud.nl\/api\/v2\/labels\/normal_printer\/388185?start_from=2&hash=c5bcb9dafccc0d1d5cfafdf677bd45085d35ff9f","https:\/\/panel.sendcloud.nl\/api\/v2\/labels\/normal_printer\/388185?start_from=3&hash=c5bcb9dafccc0d1d5cfafdf677bd45085d35ff9f"],"label_printer":"https:\/\/panel.sendcloud.nl\/api\/v2\/labels\/label_printer\/388185?hash=c5bcb9dafccc0d1d5cfafdf677bd45085d35ff9f"},"status":{"id":0,"message":"Gereed
80
+ voor verzending","history":null},"data":[],"country":{"iso_3":"NLD","iso_2":"NL","name":"Nederland"},"shipment":{"id":1,"name":"Pakket
81
+ Nederland (PostNL)","options":[]}}}'
82
+ http_version:
83
+ recorded_at: Tue, 27 Jan 2015 12:38:06 GMT
84
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,40 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: put
5
+ uri: https://D74gAPTNto4N28N:Yb6m0YVBXtWm2zTdk@panel.sendcloud.nl/api/v2/parcels
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"parcel":{"id":123456,"requestShipment":true}}'
9
+ headers:
10
+ Content-Type:
11
+ - application/json
12
+ response:
13
+ status:
14
+ code: 404
15
+ message: Not Found
16
+ headers:
17
+ Date:
18
+ - Tue, 27 Jan 2015 12:38:07 GMT
19
+ Server:
20
+ - Apache/2.4.7 (Ubuntu)
21
+ X-Powered-By:
22
+ - PHP/5.5.9-1ubuntu4.5
23
+ Set-Cookie:
24
+ - ci_session=a%3A5%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%2259d2a2a40c9e3ad4ca779c56a90a853b%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A15%3A%22213.184.251.170%22%3Bs%3A10%3A%22user_agent%22%3Bb%3A0%3Bs%3A13%3A%22last_activity%22%3Bi%3A1422362287%3Bs%3A9%3A%22user_data%22%3Bs%3A0%3A%22%22%3B%7Dbc310bed5fdc7be65eba62a267b2a0e6;
25
+ expires=Tue, 27-Jan-2015 14:38:07 GMT; Max-Age=7200; path=/
26
+ Status:
27
+ - '404'
28
+ Content-Length:
29
+ - '99'
30
+ Cache-Control:
31
+ - max-age=0, no-store
32
+ Content-Type:
33
+ - application/json
34
+ body:
35
+ encoding: UTF-8
36
+ string: '{"error":{"code":404,"request":"api\/v2\/parcels","message":"Parcel
37
+ is not found with ID: 123456"}}'
38
+ http_version:
39
+ recorded_at: Tue, 27 Jan 2015 12:38:07 GMT
40
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,43 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://D74gAPTNto4N28N:Yb6m0YVBXtWm2zTdk@panel.sendcloud.nl/api/v2/parcels
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"parcel":{"name":"Rob van den Heuvel","address":"Torenallee","city":"Eindhoven","postal_code":"5617BC","country":"NL","shipment":{"id":1},"requestShipment":false,"telephone":"","email":"","data":[]}}'
9
+ headers:
10
+ Content-Type:
11
+ - application/json
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ Date:
18
+ - Tue, 27 Jan 2015 12:38:07 GMT
19
+ Server:
20
+ - Apache/2.4.7 (Ubuntu)
21
+ X-Powered-By:
22
+ - PHP/5.5.9-1ubuntu4.5
23
+ Set-Cookie:
24
+ - ci_session=a%3A5%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%22c2f91e6459b2538109681f403602785b%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A15%3A%22213.184.251.170%22%3Bs%3A10%3A%22user_agent%22%3Bb%3A0%3Bs%3A13%3A%22last_activity%22%3Bi%3A1422362287%3Bs%3A9%3A%22user_data%22%3Bs%3A0%3A%22%22%3B%7D0cf709a43000a4fe450f18b85a584cd0;
25
+ expires=Tue, 27-Jan-2015 14:38:07 GMT; Max-Age=7200; path=/
26
+ Status:
27
+ - '200'
28
+ Content-Length:
29
+ - '415'
30
+ Vary:
31
+ - Accept-Encoding
32
+ Cache-Control:
33
+ - max-age=0, no-store
34
+ Content-Type:
35
+ - application/json
36
+ body:
37
+ encoding: UTF-8
38
+ string: '{"parcel":{"id":388186,"name":"Rob van den Heuvel","company_name":null,"address":"Torenallee ","address_divided":{"street":"Torenallee","house_number":null},"city":"Eindhoven","postal_code":"5617BC","telephone":"","email":"","date_created":"27-01-2015
39
+ 13:38:07","reference":"","data":[],"country":{"iso_3":"NLD","iso_2":"NL","name":"Nederland"},"shipment":{"id":1,"name":"Pakket
40
+ Nederland (PostNL)","options":[]}}}'
41
+ http_version:
42
+ recorded_at: Tue, 27 Jan 2015 12:38:07 GMT
43
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,122 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://D74gAPTNto4N28N:Yb6m0YVBXtWm2zTdk@panel.sendcloud.nl/api/v2/parcels
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"parcel":{"name":"Rob van den Heuvel","address":"Torenallee","city":"Eindhoven","postal_code":"5617BC","country":"NL","shipment":{"id":1},"requestShipment":false,"telephone":"","email":"","data":[]}}'
9
+ headers:
10
+ Content-Type:
11
+ - application/json
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ Date:
18
+ - Tue, 27 Jan 2015 15:20:18 GMT
19
+ Server:
20
+ - Apache/2.4.7 (Ubuntu)
21
+ X-Powered-By:
22
+ - PHP/5.5.9-1ubuntu4.5
23
+ Set-Cookie:
24
+ - ci_session=a%3A5%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%226047c24421495689dc16b4051fbebb45%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A15%3A%22213.184.251.170%22%3Bs%3A10%3A%22user_agent%22%3Bb%3A0%3Bs%3A13%3A%22last_activity%22%3Bi%3A1422372018%3Bs%3A9%3A%22user_data%22%3Bs%3A0%3A%22%22%3B%7Daf3cab06ed95b433199f749f7bb2227c;
25
+ expires=Tue, 27-Jan-2015 17:20:18 GMT; Max-Age=7200; path=/
26
+ Status:
27
+ - '200'
28
+ Content-Length:
29
+ - '415'
30
+ Vary:
31
+ - Accept-Encoding
32
+ Cache-Control:
33
+ - max-age=0, no-store
34
+ Content-Type:
35
+ - application/json
36
+ body:
37
+ encoding: UTF-8
38
+ string: '{"parcel":{"id":388819,"name":"Rob van den Heuvel","company_name":null,"address":"Torenallee ","address_divided":{"street":"Torenallee","house_number":null},"city":"Eindhoven","postal_code":"5617BC","telephone":"","email":"","date_created":"27-01-2015
39
+ 16:20:18","reference":"","data":[],"country":{"iso_3":"NLD","iso_2":"NL","name":"Nederland"},"shipment":{"id":1,"name":"Pakket
40
+ Nederland (PostNL)","options":[]}}}'
41
+ http_version:
42
+ recorded_at: Tue, 27 Jan 2015 15:20:18 GMT
43
+ - request:
44
+ method: put
45
+ uri: https://D74gAPTNto4N28N:Yb6m0YVBXtWm2zTdk@panel.sendcloud.nl/api/v2/parcels
46
+ body:
47
+ encoding: UTF-8
48
+ string: '{"parcel":{"id":388819,"requestShipment":true}}'
49
+ headers:
50
+ Content-Type:
51
+ - application/json
52
+ response:
53
+ status:
54
+ code: 200
55
+ message: OK
56
+ headers:
57
+ Date:
58
+ - Tue, 27 Jan 2015 15:20:18 GMT
59
+ Server:
60
+ - Apache/2.4.7 (Ubuntu)
61
+ X-Powered-By:
62
+ - PHP/5.5.9-1ubuntu4.5
63
+ Set-Cookie:
64
+ - ci_session=a%3A5%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%22253b4543c31bada24509467e595ef3bd%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A15%3A%22213.184.251.170%22%3Bs%3A10%3A%22user_agent%22%3Bb%3A0%3Bs%3A13%3A%22last_activity%22%3Bi%3A1422372018%3Bs%3A9%3A%22user_data%22%3Bs%3A0%3A%22%22%3B%7Dc7ee1377f6b1def6f070fb59de5f30ff;
65
+ expires=Tue, 27-Jan-2015 17:20:18 GMT; Max-Age=7200; path=/
66
+ Status:
67
+ - '200'
68
+ Content-Length:
69
+ - '1205'
70
+ Vary:
71
+ - Accept-Encoding
72
+ Cache-Control:
73
+ - max-age=0, no-store
74
+ Content-Type:
75
+ - application/json
76
+ body:
77
+ encoding: UTF-8
78
+ string: '{"parcel":{"id":388819,"name":"Rob van den Heuvel","company_name":null,"address":"Torenallee ","address_divided":{"street":"Torenallee","house_number":null},"city":"Eindhoven","postal_code":"5617BC","telephone":"","email":"","date_created":"27-01-2015
79
+ 16:20:18","reference":"","tracking_number":"3SYZXG160644522","label":{"normal_printer":["https:\/\/panel.sendcloud.nl\/api\/v2\/labels\/normal_printer\/388819?start_from=0&hash=1607b3abc9ccdc09ab0e963bea21d32fb51d2f93","https:\/\/panel.sendcloud.nl\/api\/v2\/labels\/normal_printer\/388819?start_from=1&hash=1607b3abc9ccdc09ab0e963bea21d32fb51d2f93","https:\/\/panel.sendcloud.nl\/api\/v2\/labels\/normal_printer\/388819?start_from=2&hash=1607b3abc9ccdc09ab0e963bea21d32fb51d2f93","https:\/\/panel.sendcloud.nl\/api\/v2\/labels\/normal_printer\/388819?start_from=3&hash=1607b3abc9ccdc09ab0e963bea21d32fb51d2f93"],"label_printer":"https:\/\/panel.sendcloud.nl\/api\/v2\/labels\/label_printer\/388819?hash=1607b3abc9ccdc09ab0e963bea21d32fb51d2f93"},"status":{"id":0,"message":"Gereed
80
+ voor verzending","history":null},"data":[],"country":{"iso_3":"NLD","iso_2":"NL","name":"Nederland"},"shipment":{"id":1,"name":"Pakket
81
+ Nederland (PostNL)","options":[]}}}'
82
+ http_version:
83
+ recorded_at: Tue, 27 Jan 2015 15:20:19 GMT
84
+ - request:
85
+ method: get
86
+ uri: https://D74gAPTNto4N28N:Yb6m0YVBXtWm2zTdk@panel.sendcloud.nl/api/v2/labels/388819
87
+ body:
88
+ encoding: US-ASCII
89
+ string: ''
90
+ headers:
91
+ Content-Type:
92
+ - application/json
93
+ response:
94
+ status:
95
+ code: 200
96
+ message: OK
97
+ headers:
98
+ Date:
99
+ - Tue, 27 Jan 2015 15:20:19 GMT
100
+ Server:
101
+ - Apache/2.4.7 (Ubuntu)
102
+ X-Powered-By:
103
+ - PHP/5.5.9-1ubuntu4.5
104
+ Set-Cookie:
105
+ - ci_session=a%3A5%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%22aae2369bc3ba73f88b3f7a8fb541324d%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A15%3A%22213.184.251.170%22%3Bs%3A10%3A%22user_agent%22%3Bb%3A0%3Bs%3A13%3A%22last_activity%22%3Bi%3A1422372019%3Bs%3A9%3A%22user_data%22%3Bs%3A0%3A%22%22%3B%7Df8a5a3abc451e249b1d214415bc9ab59;
106
+ expires=Tue, 27-Jan-2015 17:20:19 GMT; Max-Age=7200; path=/
107
+ Status:
108
+ - '200'
109
+ Content-Length:
110
+ - '687'
111
+ Vary:
112
+ - Accept-Encoding
113
+ Cache-Control:
114
+ - max-age=0, no-store
115
+ Content-Type:
116
+ - application/json
117
+ body:
118
+ encoding: UTF-8
119
+ string: '{"label":{"normal_printer":["https:\/\/panel.sendcloud.nl\/api\/v2\/labels\/normal_printer\/388819?start_from=0&hash=1607b3abc9ccdc09ab0e963bea21d32fb51d2f93","https:\/\/panel.sendcloud.nl\/api\/v2\/labels\/normal_printer\/388819?start_from=1&hash=1607b3abc9ccdc09ab0e963bea21d32fb51d2f93","https:\/\/panel.sendcloud.nl\/api\/v2\/labels\/normal_printer\/388819?start_from=2&hash=1607b3abc9ccdc09ab0e963bea21d32fb51d2f93","https:\/\/panel.sendcloud.nl\/api\/v2\/labels\/normal_printer\/388819?start_from=3&hash=1607b3abc9ccdc09ab0e963bea21d32fb51d2f93"],"label_printer":"https:\/\/panel.sendcloud.nl\/api\/v2\/labels\/label_printer\/388819?hash=1607b3abc9ccdc09ab0e963bea21d32fb51d2f93"}}'
120
+ http_version:
121
+ recorded_at: Tue, 27 Jan 2015 15:20:19 GMT
122
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,40 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://D74gAPTNto4N28N:Yb6m0YVBXtWm2zTdk@panel.sendcloud.nl/api/v2/labels/123456
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Content-Type:
11
+ - application/json
12
+ response:
13
+ status:
14
+ code: 404
15
+ message: Not Found
16
+ headers:
17
+ Date:
18
+ - Tue, 27 Jan 2015 15:20:09 GMT
19
+ Server:
20
+ - Apache/2.4.7 (Ubuntu)
21
+ X-Powered-By:
22
+ - PHP/5.5.9-1ubuntu4.5
23
+ Set-Cookie:
24
+ - ci_session=a%3A5%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%22a8f43a53fc1ba7d584f545a41a4bf609%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A15%3A%22213.184.251.170%22%3Bs%3A10%3A%22user_agent%22%3Bb%3A0%3Bs%3A13%3A%22last_activity%22%3Bi%3A1422372009%3Bs%3A9%3A%22user_data%22%3Bs%3A0%3A%22%22%3B%7Dccb61dabf21651a204418faa7fbbfb19;
25
+ expires=Tue, 27-Jan-2015 17:20:09 GMT; Max-Age=7200; path=/
26
+ Status:
27
+ - '404'
28
+ Content-Length:
29
+ - '119'
30
+ Cache-Control:
31
+ - max-age=0, no-store
32
+ Content-Type:
33
+ - application/json
34
+ body:
35
+ encoding: UTF-8
36
+ string: '{"error":{"code":404,"request":"api\/v2\/labels\/123456","message":"Cannot
37
+ find parcel with given Parcel ID (123456)"}}'
38
+ http_version:
39
+ recorded_at: Tue, 27 Jan 2015 15:20:09 GMT
40
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,38 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://D74gAPTNto4N28N:Yb6m0YVBXtWm2zTdk@panel.sendcloud.nl/api/v2/parcels/123456
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 404
13
+ message: Not Found
14
+ headers:
15
+ Date:
16
+ - Tue, 27 Jan 2015 14:56:45 GMT
17
+ Server:
18
+ - Apache/2.4.7 (Ubuntu)
19
+ X-Powered-By:
20
+ - PHP/5.5.9-1ubuntu4.5
21
+ Set-Cookie:
22
+ - ci_session=a%3A5%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%225bb03541d2779e887820cab9112e1415%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A15%3A%22213.184.251.170%22%3Bs%3A10%3A%22user_agent%22%3Bb%3A0%3Bs%3A13%3A%22last_activity%22%3Bi%3A1422370605%3Bs%3A9%3A%22user_data%22%3Bs%3A0%3A%22%22%3B%7D3bcc068e026b29b49ebeb56726d9c2a0;
23
+ expires=Tue, 27-Jan-2015 16:56:45 GMT; Max-Age=7200; path=/
24
+ Status:
25
+ - '404'
26
+ Content-Length:
27
+ - '112'
28
+ Cache-Control:
29
+ - max-age=0, no-store
30
+ Content-Type:
31
+ - application/json
32
+ body:
33
+ encoding: UTF-8
34
+ string: '{"error":{"code":404,"request":"api\/v2\/parcels\/123456","message":"You
35
+ aren''t authorized to get this parcel"}}'
36
+ http_version:
37
+ recorded_at: Tue, 27 Jan 2015 14:56:45 GMT
38
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,81 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://D74gAPTNto4N28N:Yb6m0YVBXtWm2zTdk@panel.sendcloud.nl/api/v2/parcels
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"parcel":{"name":"Rob van den Heuvel","address":"Torenallee","city":"Eindhoven","postal_code":"5617BC","country":"NL","shipment":{"id":1},"requestShipment":false,"telephone":"","email":"","data":[]}}'
9
+ headers:
10
+ Content-Type:
11
+ - application/json
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ Date:
18
+ - Tue, 27 Jan 2015 13:21:27 GMT
19
+ Server:
20
+ - Apache/2.4.7 (Ubuntu)
21
+ X-Powered-By:
22
+ - PHP/5.5.9-1ubuntu4.5
23
+ Set-Cookie:
24
+ - ci_session=a%3A5%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%2230d2407bddd0be6bd39a47e7aad39186%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A15%3A%22213.184.251.170%22%3Bs%3A10%3A%22user_agent%22%3Bb%3A0%3Bs%3A13%3A%22last_activity%22%3Bi%3A1422364887%3Bs%3A9%3A%22user_data%22%3Bs%3A0%3A%22%22%3B%7Db630b77cccfb54f47269a194b00d3a48;
25
+ expires=Tue, 27-Jan-2015 15:21:27 GMT; Max-Age=7200; path=/
26
+ Status:
27
+ - '200'
28
+ Content-Length:
29
+ - '415'
30
+ Vary:
31
+ - Accept-Encoding
32
+ Cache-Control:
33
+ - max-age=0, no-store
34
+ Content-Type:
35
+ - application/json
36
+ body:
37
+ encoding: UTF-8
38
+ string: '{"parcel":{"id":388312,"name":"Rob van den Heuvel","company_name":null,"address":"Torenallee ","address_divided":{"street":"Torenallee","house_number":null},"city":"Eindhoven","postal_code":"5617BC","telephone":"","email":"","date_created":"27-01-2015
39
+ 14:21:27","reference":"","data":[],"country":{"iso_3":"NLD","iso_2":"NL","name":"Nederland"},"shipment":{"id":1,"name":"Pakket
40
+ Nederland (PostNL)","options":[]}}}'
41
+ http_version:
42
+ recorded_at: Tue, 27 Jan 2015 13:21:27 GMT
43
+ - request:
44
+ method: get
45
+ uri: https://D74gAPTNto4N28N:Yb6m0YVBXtWm2zTdk@panel.sendcloud.nl/api/v2/parcels/388312
46
+ body:
47
+ encoding: US-ASCII
48
+ string: ''
49
+ headers: {}
50
+ response:
51
+ status:
52
+ code: 200
53
+ message: OK
54
+ headers:
55
+ Date:
56
+ - Tue, 27 Jan 2015 13:21:27 GMT
57
+ Server:
58
+ - Apache/2.4.7 (Ubuntu)
59
+ X-Powered-By:
60
+ - PHP/5.5.9-1ubuntu4.5
61
+ Set-Cookie:
62
+ - ci_session=a%3A5%3A%7Bs%3A10%3A%22session_id%22%3Bs%3A32%3A%2202fa65caaa1a72a01b8f1910bc1fcbd1%22%3Bs%3A10%3A%22ip_address%22%3Bs%3A15%3A%22213.184.251.170%22%3Bs%3A10%3A%22user_agent%22%3Bb%3A0%3Bs%3A13%3A%22last_activity%22%3Bi%3A1422364887%3Bs%3A9%3A%22user_data%22%3Bs%3A0%3A%22%22%3B%7Dc8186872d56e023e594f7b8c56b74e98;
63
+ expires=Tue, 27-Jan-2015 15:21:27 GMT; Max-Age=7200; path=/
64
+ Status:
65
+ - '200'
66
+ Content-Length:
67
+ - '415'
68
+ Vary:
69
+ - Accept-Encoding
70
+ Cache-Control:
71
+ - max-age=0, no-store
72
+ Content-Type:
73
+ - application/json
74
+ body:
75
+ encoding: UTF-8
76
+ string: '{"parcel":{"id":388312,"name":"Rob van den Heuvel","company_name":null,"address":"Torenallee ","address_divided":{"street":"Torenallee","house_number":null},"city":"Eindhoven","postal_code":"5617BC","telephone":"","email":"","date_created":"27-01-2015
77
+ 14:21:27","reference":"","data":[],"country":{"iso_3":"NLD","iso_2":"NL","name":"Nederland"},"shipment":{"id":1,"name":"Pakket
78
+ Nederland (PostNL)","options":[]}}}'
79
+ http_version:
80
+ recorded_at: Tue, 27 Jan 2015 13:21:27 GMT
81
+ recorded_with: VCR 2.9.3