exchanger 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +3 -2
- data/lib/exchanger.rb +1 -0
- data/lib/exchanger/elements/item.rb +6 -0
- data/lib/exchanger/operations/move_item.rb +46 -0
- data/lib/exchanger/version.rb +1 -1
- data/spec/cassettes/calendar_item/save.yml +224 -287
- data/spec/cassettes/calendar_item/save_cleanup.yml +37 -17
- data/spec/cassettes/calendar_item/save_file_attachment.yml +203 -96
- data/spec/cassettes/calendar_item/save_file_attachment_cleanup.yml +37 -17
- data/spec/cassettes/contact/destroy.yml +61 -26
- data/spec/cassettes/contact/destroy_setup.yml +66 -29
- data/spec/cassettes/contact/find.yml +132 -56
- data/spec/cassettes/contact/find_setup.yml +66 -29
- data/spec/cassettes/contact/save.yml +420 -235
- data/spec/cassettes/contact/save_cleanup.yml +61 -26
- data/spec/cassettes/folder/find_calendar.yml +38 -18
- data/spec/cassettes/folder/find_contacts.yml +66 -28
- data/spec/cassettes/folder/find_root.yml +66 -28
- data/spec/cassettes/folder/find_root_folders.yml +323 -72
- data/spec/cassettes/folder/get_user_configuration.yml +40 -20
- data/spec/cassettes/get_user_availability.yml +194 -40
- data/spec/cassettes/get_user_availability_default.yml +95 -48
- data/spec/cassettes/mailbox/search_test.yml +66 -26
- data/spec/cassettes/mailbox/search_test_members.yml +63 -26
- data/spec/exchanger/calendar_folder_spec.rb +2 -2
- data/spec/exchanger/calendar_item_spec.rb +5 -1
- data/spec/exchanger/contact_spec.rb +2 -2
- data/spec/exchanger/get_user_availability_spec.rb +5 -4
- metadata +12 -13
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://
|
5
|
+
uri: https://amsprd0710.outlook.com/EWS/Exchange.asmx
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: |
|
@@ -11,18 +11,24 @@ http_interactions:
|
|
11
11
|
<soap:Body>
|
12
12
|
<DeleteItem xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" DeleteType="HardDelete" SendMeetingCancellations="SendToAllAndSaveCopy">
|
13
13
|
<ItemIds>
|
14
|
-
<t:ItemId Id="
|
14
|
+
<t:ItemId Id="AAAkAG91dGxvb2tfNTY3NDUzNUY3QTY0QjIwMUBvdXRsb29rLmNvbQBGAAAAAAC11EXZT+3TSZbZG9cMT+XoBwAdX+/tTQhGSJ2g6HFKPliuAAAAAAENAAAdX+/tTQhGSJ2g6HFKPliuAAM8LS1rAAA="/>
|
15
15
|
</ItemIds>
|
16
16
|
</DeleteItem>
|
17
17
|
</soap:Body>
|
18
18
|
</soap:Envelope>
|
19
19
|
headers:
|
20
|
+
User-Agent:
|
21
|
+
- HTTPClient/1.0 (2.8.3, ruby 2.7.0 (2019-12-25))
|
22
|
+
Accept:
|
23
|
+
- "*/*"
|
24
|
+
Date:
|
25
|
+
- Tue, 07 Apr 2020 10:24:38 GMT
|
20
26
|
Soapaction:
|
21
27
|
- http://schemas.microsoft.com/exchange/services/2006/messages/DeleteItem
|
22
28
|
Content-Type:
|
23
29
|
- text/xml; charset=utf-8
|
24
30
|
Authorization:
|
25
|
-
- Basic
|
31
|
+
- Basic bWljaGFlbEBsaXR0b24uc2U6MTI4MHNhaWw=
|
26
32
|
response:
|
27
33
|
status:
|
28
34
|
code: 200
|
@@ -35,39 +41,53 @@ http_interactions:
|
|
35
41
|
Content-Type:
|
36
42
|
- text/xml; charset=utf-8
|
37
43
|
Server:
|
38
|
-
- Microsoft-IIS/
|
44
|
+
- Microsoft-IIS/10.0
|
39
45
|
Request-Id:
|
40
|
-
-
|
41
|
-
X-
|
42
|
-
-
|
46
|
+
- 9b6a427d-7ffe-4a40-ad5e-4088693a334d
|
47
|
+
X-Calculatedfetarget:
|
48
|
+
- PR0P264CU009.internal.outlook.com
|
43
49
|
X-Backendhttpstatus:
|
44
50
|
- '200'
|
51
|
+
- '200'
|
45
52
|
Set-Cookie:
|
46
|
-
- exchangecookie=
|
47
|
-
|
53
|
+
- exchangecookie=f900ae888a8b4dd1b1df2d1d22d3621f; expires=Wed, 07-Apr-2021
|
54
|
+
10:24:38 GMT; path=/; secure; HttpOnly
|
55
|
+
X-Feproxyinfo:
|
56
|
+
- PR0P264CA0214.FRAP264.PROD.OUTLOOK.COM
|
57
|
+
X-Calculatedbetarget:
|
58
|
+
- AM7PR05MB6693.eurprd05.prod.outlook.com
|
59
|
+
X-Rum-Validated:
|
60
|
+
- '1'
|
48
61
|
X-Ewshandler:
|
49
62
|
- DeleteItem
|
50
63
|
X-Aspnet-Version:
|
51
64
|
- 4.0.30319
|
65
|
+
X-Besku:
|
66
|
+
- WCS6
|
52
67
|
X-Diaginfo:
|
53
|
-
-
|
68
|
+
- AM7PR05MB6693
|
54
69
|
X-Beserver:
|
55
|
-
-
|
70
|
+
- AM7PR05MB6693
|
71
|
+
X-Proxy-Routingcorrectness:
|
72
|
+
- '1'
|
73
|
+
X-Proxy-Backendserverstatus:
|
74
|
+
- '200'
|
75
|
+
X-Feserver:
|
76
|
+
- HE1PR07CA0022
|
77
|
+
- PR0P264CA0214
|
56
78
|
X-Powered-By:
|
57
79
|
- ASP.NET
|
58
|
-
X-Feserver:
|
59
|
-
- CO2PR20CA0007
|
60
80
|
Date:
|
61
|
-
- Tue,
|
81
|
+
- Tue, 07 Apr 2020 10:24:38 GMT
|
62
82
|
body:
|
63
83
|
encoding: UTF-8
|
64
84
|
string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
|
65
|
-
MajorVersion="15" MinorVersion="
|
85
|
+
MajorVersion="15" MinorVersion="20" MajorBuildNumber="2878" MinorBuildNumber="21"
|
66
86
|
xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
67
87
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></s:Header><s:Body><m:DeleteItemResponse
|
68
88
|
xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
69
89
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:DeleteItemResponseMessage
|
70
90
|
ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode></m:DeleteItemResponseMessage></m:ResponseMessages></m:DeleteItemResponse></s:Body></s:Envelope>
|
71
91
|
http_version:
|
72
|
-
recorded_at: Tue,
|
73
|
-
recorded_with: VCR 3.0.
|
92
|
+
recorded_at: Tue, 07 Apr 2020 10:24:39 GMT
|
93
|
+
recorded_with: VCR 3.0.3
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://
|
5
|
+
uri: https://amsprd0710.outlook.com/EWS/Exchange.asmx
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: |
|
@@ -11,27 +11,36 @@ http_interactions:
|
|
11
11
|
<soap:Body>
|
12
12
|
<CreateItem xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" SendMeetingInvitations="SendToAllAndSaveCopy">
|
13
13
|
<SavedItemFolderId>
|
14
|
-
<t:FolderId Id="
|
14
|
+
<t:FolderId Id="AAAkAG91dGxvb2tfNTY3NDUzNUY3QTY0QjIwMUBvdXRsb29rLmNvbQAuAAAAAAC11EXZT+3TSZbZG9cMT+XoAQAdX+/tTQhGSJ2g6HFKPliuAAAAAAENAAA="/>
|
15
15
|
</SavedItemFolderId>
|
16
16
|
<Items>
|
17
17
|
<t:CalendarItem>
|
18
18
|
<t:Subject>Test Calendar Item</t:Subject>
|
19
19
|
<t:Body BodyType="Text">Body line 1.
|
20
20
|
Body line 2.</t:Body>
|
21
|
-
<t:
|
22
|
-
|
21
|
+
<t:Categories>
|
22
|
+
<t:String>Green category</t:String>
|
23
|
+
</t:Categories>
|
24
|
+
<t:Start>2020-04-07T12:24:39+02:00</t:Start>
|
25
|
+
<t:End>2020-04-07T12:54:39+02:00</t:End>
|
23
26
|
</t:CalendarItem>
|
24
27
|
</Items>
|
25
28
|
</CreateItem>
|
26
29
|
</soap:Body>
|
27
30
|
</soap:Envelope>
|
28
31
|
headers:
|
32
|
+
User-Agent:
|
33
|
+
- HTTPClient/1.0 (2.8.3, ruby 2.7.0 (2019-12-25))
|
34
|
+
Accept:
|
35
|
+
- "*/*"
|
36
|
+
Date:
|
37
|
+
- Tue, 07 Apr 2020 10:24:39 GMT
|
29
38
|
Soapaction:
|
30
39
|
- http://schemas.microsoft.com/exchange/services/2006/messages/CreateItem
|
31
40
|
Content-Type:
|
32
41
|
- text/xml; charset=utf-8
|
33
42
|
Authorization:
|
34
|
-
- Basic
|
43
|
+
- Basic bWljaGFlbEBsaXR0b24uc2U6MTI4MHNhaWw=
|
35
44
|
response:
|
36
45
|
status:
|
37
46
|
code: 200
|
@@ -44,46 +53,60 @@ http_interactions:
|
|
44
53
|
Content-Type:
|
45
54
|
- text/xml; charset=utf-8
|
46
55
|
Server:
|
47
|
-
- Microsoft-IIS/
|
56
|
+
- Microsoft-IIS/10.0
|
48
57
|
Request-Id:
|
49
|
-
-
|
50
|
-
X-
|
51
|
-
-
|
58
|
+
- 174038c4-f656-448b-b3c7-2f33a7821e8c
|
59
|
+
X-Calculatedfetarget:
|
60
|
+
- PR3P192CU001.internal.outlook.com
|
52
61
|
X-Backendhttpstatus:
|
53
62
|
- '200'
|
63
|
+
- '200'
|
54
64
|
Set-Cookie:
|
55
|
-
- exchangecookie=
|
56
|
-
|
65
|
+
- exchangecookie=f5a72e4b4cf54bcbb9b931ca09a925ce; expires=Wed, 07-Apr-2021
|
66
|
+
10:24:39 GMT; path=/; secure; HttpOnly
|
67
|
+
X-Feproxyinfo:
|
68
|
+
- PR3P192CA0019.EURP192.PROD.OUTLOOK.COM
|
69
|
+
X-Calculatedbetarget:
|
70
|
+
- AM7PR05MB6693.eurprd05.prod.outlook.com
|
71
|
+
X-Rum-Validated:
|
72
|
+
- '1'
|
57
73
|
X-Ewshandler:
|
58
74
|
- CreateItem
|
59
75
|
X-Aspnet-Version:
|
60
76
|
- 4.0.30319
|
77
|
+
X-Besku:
|
78
|
+
- WCS6
|
61
79
|
X-Diaginfo:
|
62
|
-
-
|
80
|
+
- AM7PR05MB6693
|
63
81
|
X-Beserver:
|
64
|
-
-
|
82
|
+
- AM7PR05MB6693
|
83
|
+
X-Proxy-Routingcorrectness:
|
84
|
+
- '1'
|
85
|
+
X-Proxy-Backendserverstatus:
|
86
|
+
- '200'
|
87
|
+
X-Feserver:
|
88
|
+
- HE1PR07CA0004
|
89
|
+
- PR3P192CA0019
|
65
90
|
X-Powered-By:
|
66
91
|
- ASP.NET
|
67
|
-
X-Feserver:
|
68
|
-
- BY1PR19CA0019
|
69
92
|
Date:
|
70
|
-
- Tue,
|
93
|
+
- Tue, 07 Apr 2020 10:24:39 GMT
|
71
94
|
body:
|
72
95
|
encoding: UTF-8
|
73
96
|
string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
|
74
|
-
MajorVersion="15" MinorVersion="
|
97
|
+
MajorVersion="15" MinorVersion="20" MajorBuildNumber="2878" MinorBuildNumber="21"
|
75
98
|
xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
76
99
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></s:Header><s:Body><m:CreateItemResponse
|
77
100
|
xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
78
101
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:CreateItemResponseMessage
|
79
102
|
ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:Items><t:CalendarItem><t:ItemId
|
80
|
-
Id="
|
81
|
-
ChangeKey="
|
103
|
+
Id="AAAkAG91dGxvb2tfNTY3NDUzNUY3QTY0QjIwMUBvdXRsb29rLmNvbQBGAAAAAAC11EXZT+3TSZbZG9cMT+XoBwAdX+/tTQhGSJ2g6HFKPliuAAAAAAENAAAdX+/tTQhGSJ2g6HFKPliuAAM8LS1sAAA="
|
104
|
+
ChangeKey="DwAAABYAAAAdX+/tTQhGSJ2g6HFKPliuAAM8U3A7"/></t:CalendarItem></m:Items></m:CreateItemResponseMessage></m:ResponseMessages></m:CreateItemResponse></s:Body></s:Envelope>
|
82
105
|
http_version:
|
83
|
-
recorded_at: Tue,
|
106
|
+
recorded_at: Tue, 07 Apr 2020 10:24:39 GMT
|
84
107
|
- request:
|
85
108
|
method: post
|
86
|
-
uri: https://
|
109
|
+
uri: https://amsprd0710.outlook.com/EWS/Exchange.asmx
|
87
110
|
body:
|
88
111
|
encoding: UTF-8
|
89
112
|
string: |
|
@@ -91,7 +114,7 @@ http_interactions:
|
|
91
114
|
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
92
115
|
<soap:Body>
|
93
116
|
<CreateAttachment xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
|
94
|
-
<ParentItemId Id="
|
117
|
+
<ParentItemId Id="AAAkAG91dGxvb2tfNTY3NDUzNUY3QTY0QjIwMUBvdXRsb29rLmNvbQBGAAAAAAC11EXZT+3TSZbZG9cMT+XoBwAdX+/tTQhGSJ2g6HFKPliuAAAAAAENAAAdX+/tTQhGSJ2g6HFKPliuAAM8LS1sAAA="/>
|
95
118
|
<Attachments>
|
96
119
|
<t:FileAttachment>
|
97
120
|
<t:Name>test.txt</t:Name>
|
@@ -104,12 +127,18 @@ http_interactions:
|
|
104
127
|
</soap:Body>
|
105
128
|
</soap:Envelope>
|
106
129
|
headers:
|
130
|
+
User-Agent:
|
131
|
+
- HTTPClient/1.0 (2.8.3, ruby 2.7.0 (2019-12-25))
|
132
|
+
Accept:
|
133
|
+
- "*/*"
|
134
|
+
Date:
|
135
|
+
- Tue, 07 Apr 2020 10:24:39 GMT
|
107
136
|
Soapaction:
|
108
137
|
- http://schemas.microsoft.com/exchange/services/2006/messages/CreateAttachment
|
109
138
|
Content-Type:
|
110
139
|
- text/xml; charset=utf-8
|
111
140
|
Authorization:
|
112
|
-
- Basic
|
141
|
+
- Basic bWljaGFlbEBsaXR0b24uc2U6MTI4MHNhaWw=
|
113
142
|
response:
|
114
143
|
status:
|
115
144
|
code: 200
|
@@ -122,47 +151,61 @@ http_interactions:
|
|
122
151
|
Content-Type:
|
123
152
|
- text/xml; charset=utf-8
|
124
153
|
Server:
|
125
|
-
- Microsoft-IIS/
|
154
|
+
- Microsoft-IIS/10.0
|
126
155
|
Request-Id:
|
127
|
-
-
|
128
|
-
X-
|
129
|
-
-
|
156
|
+
- 8104046e-54e2-4068-ad77-76cd392a31d2
|
157
|
+
X-Calculatedfetarget:
|
158
|
+
- PR3P193CU001.internal.outlook.com
|
130
159
|
X-Backendhttpstatus:
|
131
160
|
- '200'
|
161
|
+
- '200'
|
132
162
|
Set-Cookie:
|
133
|
-
- exchangecookie=
|
134
|
-
|
163
|
+
- exchangecookie=cefdac8d48e743b8aa10f8637b9f905b; expires=Wed, 07-Apr-2021
|
164
|
+
10:24:39 GMT; path=/; secure; HttpOnly
|
165
|
+
X-Feproxyinfo:
|
166
|
+
- PR3P193CA0018.EURP193.PROD.OUTLOOK.COM
|
167
|
+
X-Calculatedbetarget:
|
168
|
+
- AM7PR05MB6693.eurprd05.prod.outlook.com
|
169
|
+
X-Rum-Validated:
|
170
|
+
- '1'
|
135
171
|
X-Ewshandler:
|
136
172
|
- CreateAttachment
|
137
173
|
X-Aspnet-Version:
|
138
174
|
- 4.0.30319
|
175
|
+
X-Besku:
|
176
|
+
- WCS6
|
139
177
|
X-Diaginfo:
|
140
|
-
-
|
178
|
+
- AM7PR05MB6693
|
141
179
|
X-Beserver:
|
142
|
-
-
|
180
|
+
- AM7PR05MB6693
|
181
|
+
X-Proxy-Routingcorrectness:
|
182
|
+
- '1'
|
183
|
+
X-Proxy-Backendserverstatus:
|
184
|
+
- '200'
|
185
|
+
X-Feserver:
|
186
|
+
- HE1PR07CA0020
|
187
|
+
- PR3P193CA0018
|
143
188
|
X-Powered-By:
|
144
189
|
- ASP.NET
|
145
|
-
X-Feserver:
|
146
|
-
- BY1PR10CA0031
|
147
190
|
Date:
|
148
|
-
- Tue,
|
191
|
+
- Tue, 07 Apr 2020 10:24:39 GMT
|
149
192
|
body:
|
150
193
|
encoding: UTF-8
|
151
194
|
string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
|
152
|
-
MajorVersion="15" MinorVersion="
|
195
|
+
MajorVersion="15" MinorVersion="20" MajorBuildNumber="2878" MinorBuildNumber="21"
|
153
196
|
xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
154
197
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></s:Header><s:Body><m:CreateAttachmentResponse
|
155
198
|
xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
156
199
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:CreateAttachmentResponseMessage
|
157
200
|
ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:Attachments><t:FileAttachment><t:AttachmentId
|
158
|
-
Id="
|
159
|
-
RootItemId="
|
160
|
-
RootItemChangeKey="
|
201
|
+
Id="AAAkAG91dGxvb2tfNTY3NDUzNUY3QTY0QjIwMUBvdXRsb29rLmNvbQBGAAAAAAC11EXZT+3TSZbZG9cMT+XoBwAdX+/tTQhGSJ2g6HFKPliuAAAAAAENAAAdX+/tTQhGSJ2g6HFKPliuAAM8LS1sAAABEgAQADLNeHkK9uJGqYugq8GS560="
|
202
|
+
RootItemId="AAAkAG91dGxvb2tfNTY3NDUzNUY3QTY0QjIwMUBvdXRsb29rLmNvbQBGAAAAAAC11EXZT+3TSZbZG9cMT+XoBwAdX+/tTQhGSJ2g6HFKPliuAAAAAAENAAAdX+/tTQhGSJ2g6HFKPliuAAM8LS1sAAA="
|
203
|
+
RootItemChangeKey="DwAAABYAAAAdX+/tTQhGSJ2g6HFKPliuAAM8U3A+"/><t:LastModifiedTime>2020-04-07T10:24:39</t:LastModifiedTime></t:FileAttachment></m:Attachments></m:CreateAttachmentResponseMessage></m:ResponseMessages></m:CreateAttachmentResponse></s:Body></s:Envelope>
|
161
204
|
http_version:
|
162
|
-
recorded_at: Tue,
|
205
|
+
recorded_at: Tue, 07 Apr 2020 10:24:39 GMT
|
163
206
|
- request:
|
164
207
|
method: post
|
165
|
-
uri: https://
|
208
|
+
uri: https://amsprd0710.outlook.com/EWS/Exchange.asmx
|
166
209
|
body:
|
167
210
|
encoding: UTF-8
|
168
211
|
string: |
|
@@ -174,18 +217,24 @@ http_interactions:
|
|
174
217
|
<t:BaseShape>AllProperties</t:BaseShape>
|
175
218
|
</ItemShape>
|
176
219
|
<ItemIds>
|
177
|
-
<t:ItemId Id="
|
220
|
+
<t:ItemId Id="AAAkAG91dGxvb2tfNTY3NDUzNUY3QTY0QjIwMUBvdXRsb29rLmNvbQBGAAAAAAC11EXZT+3TSZbZG9cMT+XoBwAdX+/tTQhGSJ2g6HFKPliuAAAAAAENAAAdX+/tTQhGSJ2g6HFKPliuAAM8LS1sAAA="/>
|
178
221
|
</ItemIds>
|
179
222
|
</GetItem>
|
180
223
|
</soap:Body>
|
181
224
|
</soap:Envelope>
|
182
225
|
headers:
|
226
|
+
User-Agent:
|
227
|
+
- HTTPClient/1.0 (2.8.3, ruby 2.7.0 (2019-12-25))
|
228
|
+
Accept:
|
229
|
+
- "*/*"
|
230
|
+
Date:
|
231
|
+
- Tue, 07 Apr 2020 10:24:39 GMT
|
183
232
|
Soapaction:
|
184
233
|
- http://schemas.microsoft.com/exchange/services/2006/messages/GetItem
|
185
234
|
Content-Type:
|
186
235
|
- text/xml; charset=utf-8
|
187
236
|
Authorization:
|
188
|
-
- Basic
|
237
|
+
- Basic bWljaGFlbEBsaXR0b24uc2U6MTI4MHNhaWw=
|
189
238
|
response:
|
190
239
|
status:
|
191
240
|
code: 200
|
@@ -198,38 +247,54 @@ http_interactions:
|
|
198
247
|
Content-Type:
|
199
248
|
- text/xml; charset=utf-8
|
200
249
|
Server:
|
201
|
-
- Microsoft-IIS/
|
250
|
+
- Microsoft-IIS/10.0
|
202
251
|
Request-Id:
|
203
|
-
-
|
204
|
-
X-
|
205
|
-
-
|
252
|
+
- ef4a3b23-ecbe-4645-a5ef-bddc0b16bdf7
|
253
|
+
X-Calculatedfetarget:
|
254
|
+
- AM6P192CU003.internal.outlook.com
|
206
255
|
X-Backendhttpstatus:
|
207
256
|
- '200'
|
257
|
+
- '200'
|
208
258
|
Set-Cookie:
|
209
|
-
- exchangecookie=
|
210
|
-
|
259
|
+
- exchangecookie=467335c773344263aebb0d7b853e75d0; expires=Wed, 07-Apr-2021
|
260
|
+
10:24:39 GMT; path=/; secure; HttpOnly
|
261
|
+
X-Feproxyinfo:
|
262
|
+
- AM6P192CA0105.EURP192.PROD.OUTLOOK.COM
|
263
|
+
X-Calculatedbetarget:
|
264
|
+
- AM7PR05MB6693.eurprd05.prod.outlook.com
|
265
|
+
X-Rum-Validated:
|
266
|
+
- '1'
|
267
|
+
X-Ewshandler:
|
268
|
+
- GetItem
|
211
269
|
X-Aspnet-Version:
|
212
270
|
- 4.0.30319
|
271
|
+
X-Besku:
|
272
|
+
- WCS6
|
213
273
|
X-Diaginfo:
|
214
|
-
-
|
274
|
+
- AM7PR05MB6693
|
215
275
|
X-Beserver:
|
216
|
-
-
|
276
|
+
- AM7PR05MB6693
|
277
|
+
X-Proxy-Routingcorrectness:
|
278
|
+
- '1'
|
279
|
+
X-Proxy-Backendserverstatus:
|
280
|
+
- '200'
|
281
|
+
X-Feserver:
|
282
|
+
- AM6P192CA0105
|
283
|
+
- HE1PR07CA0015
|
217
284
|
X-Powered-By:
|
218
285
|
- ASP.NET
|
219
|
-
X-Feserver:
|
220
|
-
- BY1PR19CA0008
|
221
286
|
Date:
|
222
|
-
- Tue,
|
287
|
+
- Tue, 07 Apr 2020 10:24:38 GMT
|
223
288
|
body:
|
224
289
|
encoding: UTF-8
|
225
290
|
string: |-
|
226
|
-
<?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo MajorVersion="15" MinorVersion="
|
227
|
-
Body line 2.</t:Body><t:Attachments><t:FileAttachment><t:AttachmentId Id="
|
291
|
+
<?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo MajorVersion="15" MinorVersion="20" MajorBuildNumber="2878" MinorBuildNumber="21" xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></s:Header><s:Body><m:GetItemResponse xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:GetItemResponseMessage ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:Items><t:CalendarItem><t:ItemId Id="AAAkAG91dGxvb2tfNTY3NDUzNUY3QTY0QjIwMUBvdXRsb29rLmNvbQBGAAAAAAC11EXZT+3TSZbZG9cMT+XoBwAdX+/tTQhGSJ2g6HFKPliuAAAAAAENAAAdX+/tTQhGSJ2g6HFKPliuAAM8LS1sAAA=" ChangeKey="DwAAABYAAAAdX+/tTQhGSJ2g6HFKPliuAAM8U3A+"/><t:ParentFolderId Id="AAAkAG91dGxvb2tfNTY3NDUzNUY3QTY0QjIwMUBvdXRsb29rLmNvbQAuAAAAAAC11EXZT+3TSZbZG9cMT+XoAQAdX+/tTQhGSJ2g6HFKPliuAAAAAAENAAA=" ChangeKey="AQAAAA=="/><t:ItemClass>IPM.Appointment</t:ItemClass><t:Subject>Test Calendar Item</t:Subject><t:Sensitivity>Normal</t:Sensitivity><t:Body BodyType="Text">Body line 1.
|
292
|
+
Body line 2.</t:Body><t:Attachments><t:FileAttachment><t:AttachmentId Id="AAAkAG91dGxvb2tfNTY3NDUzNUY3QTY0QjIwMUBvdXRsb29rLmNvbQBGAAAAAAC11EXZT+3TSZbZG9cMT+XoBwAdX+/tTQhGSJ2g6HFKPliuAAAAAAENAAAdX+/tTQhGSJ2g6HFKPliuAAM8LS1sAAABEgAQADLNeHkK9uJGqYugq8GS560="/><t:Name>test.txt</t:Name><t:ContentType>text/plain</t:ContentType></t:FileAttachment></t:Attachments><t:DateTimeReceived>2020-04-07T10:24:39Z</t:DateTimeReceived><t:Size>4256</t:Size><t:Categories><t:String>Green category</t:String></t:Categories><t:Importance>Normal</t:Importance><t:IsSubmitted>false</t:IsSubmitted><t:IsDraft>false</t:IsDraft><t:IsFromMe>false</t:IsFromMe><t:IsResend>false</t:IsResend><t:IsUnmodified>false</t:IsUnmodified><t:DateTimeSent>2020-04-07T10:24:39Z</t:DateTimeSent><t:DateTimeCreated>2020-04-07T10:24:39Z</t:DateTimeCreated><t:ResponseObjects><t:CancelCalendarItem/><t:ForwardItem/></t:ResponseObjects><t:ReminderDueBy>2020-04-07T10:24:39Z</t:ReminderDueBy><t:ReminderIsSet>true</t:ReminderIsSet><t:ReminderMinutesBeforeStart>15</t:ReminderMinutesBeforeStart><t:DisplayCc/><t:DisplayTo/><t:HasAttachments>true</t:HasAttachments><t:Culture>en-US</t:Culture><t:Start>2020-04-07T10:24:39Z</t:Start><t:End>2020-04-07T10:54:39Z</t:End><t:IsAllDayEvent>false</t:IsAllDayEvent><t:LegacyFreeBusyStatus>Busy</t:LegacyFreeBusyStatus><t:IsMeeting>true</t:IsMeeting><t:IsCancelled>false</t:IsCancelled><t:IsRecurring>false</t:IsRecurring><t:MeetingRequestWasSent>false</t:MeetingRequestWasSent><t:IsResponseRequested>true</t:IsResponseRequested><t:CalendarItemType>Single</t:CalendarItemType><t:MyResponseType>Organizer</t:MyResponseType><t:Organizer><t:Mailbox><t:Name>Michael Litton</t:Name><t:EmailAddress>outlook_5674535F7A64B201@outlook.com</t:EmailAddress><t:RoutingType>SMTP</t:RoutingType></t:Mailbox></t:Organizer><t:Duration>PT30M</t:Duration><t:TimeZone>(UTC+00:00) Monrovia, Reykjavik</t:TimeZone><t:AppointmentSequenceNumber>0</t:AppointmentSequenceNumber><t:AppointmentState>1</t:AppointmentState><t:IsOnlineMeeting>false</t:IsOnlineMeeting></t:CalendarItem></m:Items></m:GetItemResponseMessage></m:ResponseMessages></m:GetItemResponse></s:Body></s:Envelope>
|
228
293
|
http_version:
|
229
|
-
recorded_at: Tue,
|
294
|
+
recorded_at: Tue, 07 Apr 2020 10:24:39 GMT
|
230
295
|
- request:
|
231
296
|
method: post
|
232
|
-
uri: https://
|
297
|
+
uri: https://amsprd0710.outlook.com/EWS/Exchange.asmx
|
233
298
|
body:
|
234
299
|
encoding: UTF-8
|
235
300
|
string: |
|
@@ -241,18 +306,24 @@ http_interactions:
|
|
241
306
|
<t:BaseShape>AllProperties</t:BaseShape>
|
242
307
|
</AttachmentShape>
|
243
308
|
<AttachmentIds>
|
244
|
-
<t:AttachmentId Id="
|
309
|
+
<t:AttachmentId Id="AAAkAG91dGxvb2tfNTY3NDUzNUY3QTY0QjIwMUBvdXRsb29rLmNvbQBGAAAAAAC11EXZT+3TSZbZG9cMT+XoBwAdX+/tTQhGSJ2g6HFKPliuAAAAAAENAAAdX+/tTQhGSJ2g6HFKPliuAAM8LS1sAAABEgAQADLNeHkK9uJGqYugq8GS560="/>
|
245
310
|
</AttachmentIds>
|
246
311
|
</GetAttachment>
|
247
312
|
</soap:Body>
|
248
313
|
</soap:Envelope>
|
249
314
|
headers:
|
315
|
+
User-Agent:
|
316
|
+
- HTTPClient/1.0 (2.8.3, ruby 2.7.0 (2019-12-25))
|
317
|
+
Accept:
|
318
|
+
- "*/*"
|
319
|
+
Date:
|
320
|
+
- Tue, 07 Apr 2020 10:24:39 GMT
|
250
321
|
Soapaction:
|
251
322
|
- http://schemas.microsoft.com/exchange/services/2006/messages/GetAttachment
|
252
323
|
Content-Type:
|
253
324
|
- text/xml; charset=utf-8
|
254
325
|
Authorization:
|
255
|
-
- Basic
|
326
|
+
- Basic bWljaGFlbEBsaXR0b24uc2U6MTI4MHNhaWw=
|
256
327
|
response:
|
257
328
|
status:
|
258
329
|
code: 200
|
@@ -265,43 +336,59 @@ http_interactions:
|
|
265
336
|
Content-Type:
|
266
337
|
- text/xml; charset=utf-8
|
267
338
|
Server:
|
268
|
-
- Microsoft-IIS/
|
339
|
+
- Microsoft-IIS/10.0
|
269
340
|
Request-Id:
|
270
|
-
-
|
271
|
-
X-
|
272
|
-
-
|
341
|
+
- 6a4ffa31-5a6b-476b-bc25-49b903c4e749
|
342
|
+
X-Calculatedfetarget:
|
343
|
+
- AM7PR02CU001.internal.outlook.com
|
273
344
|
X-Backendhttpstatus:
|
274
345
|
- '200'
|
346
|
+
- '200'
|
275
347
|
Set-Cookie:
|
276
|
-
- exchangecookie=
|
277
|
-
|
348
|
+
- exchangecookie=afe539dd47b04ee6851b4be0171e0044; expires=Wed, 07-Apr-2021
|
349
|
+
10:24:39 GMT; path=/; secure; HttpOnly
|
350
|
+
X-Feproxyinfo:
|
351
|
+
- AM7PR02CA0010.EURPRD02.PROD.OUTLOOK.COM
|
352
|
+
X-Calculatedbetarget:
|
353
|
+
- AM7PR05MB6693.eurprd05.prod.outlook.com
|
354
|
+
X-Rum-Validated:
|
355
|
+
- '1'
|
356
|
+
X-Ewshandler:
|
357
|
+
- GetAttachment
|
278
358
|
X-Aspnet-Version:
|
279
359
|
- 4.0.30319
|
360
|
+
X-Besku:
|
361
|
+
- WCS6
|
280
362
|
X-Diaginfo:
|
281
|
-
-
|
363
|
+
- AM7PR05MB6693
|
282
364
|
X-Beserver:
|
283
|
-
-
|
365
|
+
- AM7PR05MB6693
|
366
|
+
X-Proxy-Routingcorrectness:
|
367
|
+
- '1'
|
368
|
+
X-Proxy-Backendserverstatus:
|
369
|
+
- '200'
|
370
|
+
X-Feserver:
|
371
|
+
- AM7PR02CA0010
|
372
|
+
- HE1PR07CA0004
|
284
373
|
X-Powered-By:
|
285
374
|
- ASP.NET
|
286
|
-
X-Feserver:
|
287
|
-
- BY1PR19CA0018
|
288
375
|
Date:
|
289
|
-
- Tue,
|
376
|
+
- Tue, 07 Apr 2020 10:24:39 GMT
|
290
377
|
body:
|
291
378
|
encoding: UTF-8
|
292
379
|
string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
|
293
|
-
MajorVersion="15" MinorVersion="
|
294
|
-
xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://
|
295
|
-
xmlns:
|
296
|
-
xmlns:
|
297
|
-
xmlns:
|
380
|
+
MajorVersion="15" MinorVersion="20" MajorBuildNumber="2878" MinorBuildNumber="21"
|
381
|
+
xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
382
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></s:Header><s:Body><m:GetAttachmentResponse
|
383
|
+
xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
384
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:GetAttachmentResponseMessage
|
298
385
|
ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:Attachments><t:FileAttachment><t:AttachmentId
|
299
|
-
Id="
|
386
|
+
Id="AAAkAG91dGxvb2tfNTY3NDUzNUY3QTY0QjIwMUBvdXRsb29rLmNvbQBGAAAAAAC11EXZT+3TSZbZG9cMT+XoBwAdX+/tTQhGSJ2g6HFKPliuAAAAAAENAAAdX+/tTQhGSJ2g6HFKPliuAAM8LS1sAAABEgAQADLNeHkK9uJGqYugq8GS560="/><t:Name>test.txt</t:Name><t:ContentType>text/plain</t:ContentType><t:Content>VGVzdCBDb250ZW50</t:Content></t:FileAttachment></m:Attachments></m:GetAttachmentResponseMessage></m:ResponseMessages></m:GetAttachmentResponse></s:Body></s:Envelope>
|
300
387
|
http_version:
|
301
|
-
recorded_at: Tue,
|
388
|
+
recorded_at: Tue, 07 Apr 2020 10:24:39 GMT
|
302
389
|
- request:
|
303
390
|
method: post
|
304
|
-
uri: https://
|
391
|
+
uri: https://amsprd0710.outlook.com/EWS/Exchange.asmx
|
305
392
|
body:
|
306
393
|
encoding: UTF-8
|
307
394
|
string: |
|
@@ -310,18 +397,24 @@ http_interactions:
|
|
310
397
|
<soap:Body>
|
311
398
|
<DeleteAttachment xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
|
312
399
|
<AttachmentIds>
|
313
|
-
<t:AttachmentId Id="
|
400
|
+
<t:AttachmentId Id="AAAkAG91dGxvb2tfNTY3NDUzNUY3QTY0QjIwMUBvdXRsb29rLmNvbQBGAAAAAAC11EXZT+3TSZbZG9cMT+XoBwAdX+/tTQhGSJ2g6HFKPliuAAAAAAENAAAdX+/tTQhGSJ2g6HFKPliuAAM8LS1sAAABEgAQADLNeHkK9uJGqYugq8GS560="/>
|
314
401
|
</AttachmentIds>
|
315
402
|
</DeleteAttachment>
|
316
403
|
</soap:Body>
|
317
404
|
</soap:Envelope>
|
318
405
|
headers:
|
406
|
+
User-Agent:
|
407
|
+
- HTTPClient/1.0 (2.8.3, ruby 2.7.0 (2019-12-25))
|
408
|
+
Accept:
|
409
|
+
- "*/*"
|
410
|
+
Date:
|
411
|
+
- Tue, 07 Apr 2020 10:24:40 GMT
|
319
412
|
Soapaction:
|
320
413
|
- http://schemas.microsoft.com/exchange/services/2006/messages/DeleteAttachment
|
321
414
|
Content-Type:
|
322
415
|
- text/xml; charset=utf-8
|
323
416
|
Authorization:
|
324
|
-
- Basic
|
417
|
+
- Basic bWljaGFlbEBsaXR0b24uc2U6MTI4MHNhaWw=
|
325
418
|
response:
|
326
419
|
status:
|
327
420
|
code: 200
|
@@ -334,41 +427,55 @@ http_interactions:
|
|
334
427
|
Content-Type:
|
335
428
|
- text/xml; charset=utf-8
|
336
429
|
Server:
|
337
|
-
- Microsoft-IIS/
|
430
|
+
- Microsoft-IIS/10.0
|
338
431
|
Request-Id:
|
339
|
-
-
|
340
|
-
X-
|
341
|
-
-
|
432
|
+
- 5debcdf4-c2f9-4803-b4cb-adaf65f815e2
|
433
|
+
X-Calculatedfetarget:
|
434
|
+
- AM6PR08CU001.internal.outlook.com
|
342
435
|
X-Backendhttpstatus:
|
343
436
|
- '200'
|
437
|
+
- '200'
|
344
438
|
Set-Cookie:
|
345
|
-
- exchangecookie=
|
346
|
-
|
439
|
+
- exchangecookie=2da0576569b7494f97a10e5e846fbce0; expires=Wed, 07-Apr-2021
|
440
|
+
10:24:40 GMT; path=/; secure; HttpOnly
|
441
|
+
X-Feproxyinfo:
|
442
|
+
- AM6PR08CA0002.EURPRD08.PROD.OUTLOOK.COM
|
443
|
+
X-Calculatedbetarget:
|
444
|
+
- AM7PR05MB6693.eurprd05.prod.outlook.com
|
445
|
+
X-Rum-Validated:
|
446
|
+
- '1'
|
347
447
|
X-Ewshandler:
|
348
448
|
- DeleteAttachment
|
349
449
|
X-Aspnet-Version:
|
350
450
|
- 4.0.30319
|
451
|
+
X-Besku:
|
452
|
+
- WCS6
|
351
453
|
X-Diaginfo:
|
352
|
-
-
|
454
|
+
- AM7PR05MB6693
|
353
455
|
X-Beserver:
|
354
|
-
-
|
456
|
+
- AM7PR05MB6693
|
457
|
+
X-Proxy-Routingcorrectness:
|
458
|
+
- '1'
|
459
|
+
X-Proxy-Backendserverstatus:
|
460
|
+
- '200'
|
461
|
+
X-Feserver:
|
462
|
+
- AM6PR08CA0002
|
463
|
+
- HE1PR07CA0013
|
355
464
|
X-Powered-By:
|
356
465
|
- ASP.NET
|
357
|
-
X-Feserver:
|
358
|
-
- CY1PR21CA0023
|
359
466
|
Date:
|
360
|
-
- Tue,
|
467
|
+
- Tue, 07 Apr 2020 10:24:39 GMT
|
361
468
|
body:
|
362
469
|
encoding: UTF-8
|
363
470
|
string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
|
364
|
-
MajorVersion="15" MinorVersion="
|
471
|
+
MajorVersion="15" MinorVersion="20" MajorBuildNumber="2878" MinorBuildNumber="21"
|
365
472
|
xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
366
473
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></s:Header><s:Body><m:DeleteAttachmentResponse
|
367
474
|
xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
368
475
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:DeleteAttachmentResponseMessage
|
369
476
|
ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:RootItemId
|
370
|
-
RootItemId="
|
371
|
-
RootItemChangeKey="
|
477
|
+
RootItemId="AAAkAG91dGxvb2tfNTY3NDUzNUY3QTY0QjIwMUBvdXRsb29rLmNvbQBGAAAAAAC11EXZT+3TSZbZG9cMT+XoBwAdX+/tTQhGSJ2g6HFKPliuAAAAAAENAAAdX+/tTQhGSJ2g6HFKPliuAAM8LS1sAAA="
|
478
|
+
RootItemChangeKey="DwAAABYAAAAdX+/tTQhGSJ2g6HFKPliuAAM8U3BH"/></m:DeleteAttachmentResponseMessage></m:ResponseMessages></m:DeleteAttachmentResponse></s:Body></s:Envelope>
|
372
479
|
http_version:
|
373
|
-
recorded_at: Tue,
|
374
|
-
recorded_with: VCR 3.0.
|
480
|
+
recorded_at: Tue, 07 Apr 2020 10:24:40 GMT
|
481
|
+
recorded_with: VCR 3.0.3
|