exchanger 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/exchanger.rb +6 -0
- data/lib/exchanger/attributes.rb +2 -2
- data/lib/exchanger/element.rb +8 -5
- data/lib/exchanger/elements/attachment.rb +64 -0
- data/lib/exchanger/elements/file_attachment.rb +17 -0
- data/lib/exchanger/elements/item.rb +9 -1
- data/lib/exchanger/elements/item_attachment.rb +16 -0
- data/lib/exchanger/operations/create_attachment.rb +44 -0
- data/lib/exchanger/operations/delete_attachment.rb +34 -0
- data/lib/exchanger/operations/get_attachment.rb +44 -0
- data/lib/exchanger/version.rb +1 -1
- data/spec/cassettes/calendar_item/save.yml +80 -68
- data/spec/cassettes/calendar_item/save_cleanup.yml +11 -11
- data/spec/cassettes/calendar_item/save_file_attachment.yml +374 -0
- data/spec/cassettes/calendar_item/save_file_attachment_cleanup.yml +73 -0
- data/spec/exchanger/calendar_item_spec.rb +33 -7
- metadata +10 -2
@@ -11,7 +11,7 @@ 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="AAAhAGNoYWRfZXhjaGFuZ2VydGVzdGluZ0BvdXRsb29rLmNvbQBGAAAAAAAAqVUrvCLRSblrs10ZIBaxBwBO62zGwOguSJqyNahPUYshAAAAAAENAABO62zGwOguSJqyNahPUYshAAAcJGi8AAA="/>
|
15
15
|
</ItemIds>
|
16
16
|
</DeleteItem>
|
17
17
|
</soap:Body>
|
@@ -37,37 +37,37 @@ http_interactions:
|
|
37
37
|
Server:
|
38
38
|
- Microsoft-IIS/8.0
|
39
39
|
Request-Id:
|
40
|
-
-
|
40
|
+
- c9f0900b-b14e-4b4b-8a1b-f65ac64a7244
|
41
41
|
X-Calculatedbetarget:
|
42
|
-
-
|
42
|
+
- CO2PR0801MB552.namprd08.prod.outlook.com
|
43
43
|
X-Backendhttpstatus:
|
44
44
|
- '200'
|
45
45
|
Set-Cookie:
|
46
|
-
- exchangecookie=
|
47
|
-
|
46
|
+
- exchangecookie=9201d47cd2174b3d9e1af9464175b397; expires=Wed, 21-Jun-2017
|
47
|
+
14:13:14 GMT; path=/; HttpOnly
|
48
48
|
X-Ewshandler:
|
49
49
|
- DeleteItem
|
50
50
|
X-Aspnet-Version:
|
51
51
|
- 4.0.30319
|
52
52
|
X-Diaginfo:
|
53
|
-
-
|
53
|
+
- CO2PR0801MB552
|
54
54
|
X-Beserver:
|
55
|
-
-
|
55
|
+
- CO2PR0801MB552
|
56
56
|
X-Powered-By:
|
57
57
|
- ASP.NET
|
58
58
|
X-Feserver:
|
59
|
-
-
|
59
|
+
- CO2PR20CA0007
|
60
60
|
Date:
|
61
|
-
-
|
61
|
+
- Tue, 21 Jun 2016 14:13:13 GMT
|
62
62
|
body:
|
63
63
|
encoding: UTF-8
|
64
64
|
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="1" MajorBuildNumber="
|
65
|
+
MajorVersion="15" MinorVersion="1" MajorBuildNumber="523" MinorBuildNumber="16"
|
66
66
|
xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
67
67
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></s:Header><s:Body><m:DeleteItemResponse
|
68
68
|
xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
69
69
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:DeleteItemResponseMessage
|
70
70
|
ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode></m:DeleteItemResponseMessage></m:ResponseMessages></m:DeleteItemResponse></s:Body></s:Envelope>
|
71
71
|
http_version:
|
72
|
-
recorded_at:
|
72
|
+
recorded_at: Tue, 21 Jun 2016 14:13:14 GMT
|
73
73
|
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,374 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://FILTERED_USERNAME:FILTERED_PASSWORD@amsprd0710.outlook.com/EWS/Exchange.asmx
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |
|
9
|
+
<?xml version="1.0"?>
|
10
|
+
<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">
|
11
|
+
<soap:Body>
|
12
|
+
<CreateItem xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" SendMeetingInvitations="SendToAllAndSaveCopy">
|
13
|
+
<SavedItemFolderId>
|
14
|
+
<t:FolderId Id="AQAhAGNoYWRfZXhjaGFuZ2VydGVzdGluZ0BvdXRsb28Aay5jb20ALgAABKlVK7wi0Um5a7NdGSAWsQEATutsxsDoLkiasjWoT1GLIQAAAgENAAAA"/>
|
15
|
+
</SavedItemFolderId>
|
16
|
+
<Items>
|
17
|
+
<t:CalendarItem>
|
18
|
+
<t:Subject>Test Calendar Item</t:Subject>
|
19
|
+
<t:Body BodyType="Text">Body line 1.
|
20
|
+
Body line 2.</t:Body>
|
21
|
+
<t:Start>2016-06-21T09:13:14-05:00</t:Start>
|
22
|
+
<t:End>2016-06-21T09:43:14-05:00</t:End>
|
23
|
+
</t:CalendarItem>
|
24
|
+
</Items>
|
25
|
+
</CreateItem>
|
26
|
+
</soap:Body>
|
27
|
+
</soap:Envelope>
|
28
|
+
headers:
|
29
|
+
Soapaction:
|
30
|
+
- http://schemas.microsoft.com/exchange/services/2006/messages/CreateItem
|
31
|
+
Content-Type:
|
32
|
+
- text/xml; charset=utf-8
|
33
|
+
Authorization:
|
34
|
+
- Basic Y2hhZF9leGNoYW5nZXJ0ZXN0aW5nQG91dGxvb2suY29tOmV4Y2hhbmdlcl9zcGVjMzMzIQ==
|
35
|
+
response:
|
36
|
+
status:
|
37
|
+
code: 200
|
38
|
+
message: OK
|
39
|
+
headers:
|
40
|
+
Cache-Control:
|
41
|
+
- private
|
42
|
+
Transfer-Encoding:
|
43
|
+
- chunked
|
44
|
+
Content-Type:
|
45
|
+
- text/xml; charset=utf-8
|
46
|
+
Server:
|
47
|
+
- Microsoft-IIS/8.0
|
48
|
+
Request-Id:
|
49
|
+
- 9d7369a5-0482-43b4-be6a-78f400a31b21
|
50
|
+
X-Calculatedbetarget:
|
51
|
+
- CO2PR0801MB552.namprd08.prod.outlook.com
|
52
|
+
X-Backendhttpstatus:
|
53
|
+
- '200'
|
54
|
+
Set-Cookie:
|
55
|
+
- exchangecookie=a0afd69d84e544feafcbccf6d81cf3b1; expires=Wed, 21-Jun-2017
|
56
|
+
14:13:15 GMT; path=/; HttpOnly
|
57
|
+
X-Ewshandler:
|
58
|
+
- CreateItem
|
59
|
+
X-Aspnet-Version:
|
60
|
+
- 4.0.30319
|
61
|
+
X-Diaginfo:
|
62
|
+
- CO2PR0801MB552
|
63
|
+
X-Beserver:
|
64
|
+
- CO2PR0801MB552
|
65
|
+
X-Powered-By:
|
66
|
+
- ASP.NET
|
67
|
+
X-Feserver:
|
68
|
+
- BY1PR19CA0019
|
69
|
+
Date:
|
70
|
+
- Tue, 21 Jun 2016 14:13:13 GMT
|
71
|
+
body:
|
72
|
+
encoding: UTF-8
|
73
|
+
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="1" MajorBuildNumber="523" MinorBuildNumber="16"
|
75
|
+
xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
76
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></s:Header><s:Body><m:CreateItemResponse
|
77
|
+
xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
78
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:CreateItemResponseMessage
|
79
|
+
ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:Items><t:CalendarItem><t:ItemId
|
80
|
+
Id="AAAhAGNoYWRfZXhjaGFuZ2VydGVzdGluZ0BvdXRsb29rLmNvbQBGAAAAAAAAqVUrvCLRSblrs10ZIBaxBwBO62zGwOguSJqyNahPUYshAAAAAAENAABO62zGwOguSJqyNahPUYshAAAcJGi9AAA="
|
81
|
+
ChangeKey="DwAAABYAAABO62zGwOguSJqyNahPUYshAAAcJize"/></t:CalendarItem></m:Items></m:CreateItemResponseMessage></m:ResponseMessages></m:CreateItemResponse></s:Body></s:Envelope>
|
82
|
+
http_version:
|
83
|
+
recorded_at: Tue, 21 Jun 2016 14:13:14 GMT
|
84
|
+
- request:
|
85
|
+
method: post
|
86
|
+
uri: https://FILTERED_USERNAME:FILTERED_PASSWORD@amsprd0710.outlook.com/EWS/Exchange.asmx
|
87
|
+
body:
|
88
|
+
encoding: UTF-8
|
89
|
+
string: |
|
90
|
+
<?xml version="1.0"?>
|
91
|
+
<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
|
+
<soap:Body>
|
93
|
+
<CreateAttachment xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
|
94
|
+
<ParentItemId Id="AAAhAGNoYWRfZXhjaGFuZ2VydGVzdGluZ0BvdXRsb29rLmNvbQBGAAAAAAAAqVUrvCLRSblrs10ZIBaxBwBO62zGwOguSJqyNahPUYshAAAAAAENAABO62zGwOguSJqyNahPUYshAAAcJGi9AAA="/>
|
95
|
+
<Attachments>
|
96
|
+
<t:FileAttachment>
|
97
|
+
<t:Name>test.txt</t:Name>
|
98
|
+
<t:ContentType>text/plain</t:ContentType>
|
99
|
+
<t:Content>VGVzdCBDb250ZW50
|
100
|
+
</t:Content>
|
101
|
+
</t:FileAttachment>
|
102
|
+
</Attachments>
|
103
|
+
</CreateAttachment>
|
104
|
+
</soap:Body>
|
105
|
+
</soap:Envelope>
|
106
|
+
headers:
|
107
|
+
Soapaction:
|
108
|
+
- http://schemas.microsoft.com/exchange/services/2006/messages/CreateAttachment
|
109
|
+
Content-Type:
|
110
|
+
- text/xml; charset=utf-8
|
111
|
+
Authorization:
|
112
|
+
- Basic Y2hhZF9leGNoYW5nZXJ0ZXN0aW5nQG91dGxvb2suY29tOmV4Y2hhbmdlcl9zcGVjMzMzIQ==
|
113
|
+
response:
|
114
|
+
status:
|
115
|
+
code: 200
|
116
|
+
message: OK
|
117
|
+
headers:
|
118
|
+
Cache-Control:
|
119
|
+
- private
|
120
|
+
Transfer-Encoding:
|
121
|
+
- chunked
|
122
|
+
Content-Type:
|
123
|
+
- text/xml; charset=utf-8
|
124
|
+
Server:
|
125
|
+
- Microsoft-IIS/8.0
|
126
|
+
Request-Id:
|
127
|
+
- e3859936-4b38-49cf-8b68-c1de0a8030aa
|
128
|
+
X-Calculatedbetarget:
|
129
|
+
- CO2PR0801MB552.namprd08.prod.outlook.com
|
130
|
+
X-Backendhttpstatus:
|
131
|
+
- '200'
|
132
|
+
Set-Cookie:
|
133
|
+
- exchangecookie=e494592941624251b0e089f04d054993; expires=Wed, 21-Jun-2017
|
134
|
+
14:13:15 GMT; path=/; HttpOnly
|
135
|
+
X-Ewshandler:
|
136
|
+
- CreateAttachment
|
137
|
+
X-Aspnet-Version:
|
138
|
+
- 4.0.30319
|
139
|
+
X-Diaginfo:
|
140
|
+
- CO2PR0801MB552
|
141
|
+
X-Beserver:
|
142
|
+
- CO2PR0801MB552
|
143
|
+
X-Powered-By:
|
144
|
+
- ASP.NET
|
145
|
+
X-Feserver:
|
146
|
+
- BY1PR10CA0031
|
147
|
+
Date:
|
148
|
+
- Tue, 21 Jun 2016 14:13:14 GMT
|
149
|
+
body:
|
150
|
+
encoding: UTF-8
|
151
|
+
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="1" MajorBuildNumber="523" MinorBuildNumber="16"
|
153
|
+
xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
154
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></s:Header><s:Body><m:CreateAttachmentResponse
|
155
|
+
xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
156
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:CreateAttachmentResponseMessage
|
157
|
+
ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:Attachments><t:FileAttachment><t:AttachmentId
|
158
|
+
Id="AAAhAGNoYWRfZXhjaGFuZ2VydGVzdGluZ0BvdXRsb29rLmNvbQBGAAAAAAAAqVUrvCLRSblrs10ZIBaxBwBO62zGwOguSJqyNahPUYshAAAAAAENAABO62zGwOguSJqyNahPUYshAAAcJGi9AAABEgAQAD3x18GLNmVLgCkwN+NmLSk="
|
159
|
+
RootItemId="AAAhAGNoYWRfZXhjaGFuZ2VydGVzdGluZ0BvdXRsb29rLmNvbQBGAAAAAAAAqVUrvCLRSblrs10ZIBaxBwBO62zGwOguSJqyNahPUYshAAAAAAENAABO62zGwOguSJqyNahPUYshAAAcJGi9AAA="
|
160
|
+
RootItemChangeKey="DwAAABYAAABO62zGwOguSJqyNahPUYshAAAcJizf"/><t:LastModifiedTime>2016-06-21T14:13:15</t:LastModifiedTime></t:FileAttachment></m:Attachments></m:CreateAttachmentResponseMessage></m:ResponseMessages></m:CreateAttachmentResponse></s:Body></s:Envelope>
|
161
|
+
http_version:
|
162
|
+
recorded_at: Tue, 21 Jun 2016 14:13:15 GMT
|
163
|
+
- request:
|
164
|
+
method: post
|
165
|
+
uri: https://FILTERED_USERNAME:FILTERED_PASSWORD@amsprd0710.outlook.com/EWS/Exchange.asmx
|
166
|
+
body:
|
167
|
+
encoding: UTF-8
|
168
|
+
string: |
|
169
|
+
<?xml version="1.0"?>
|
170
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
171
|
+
<soap:Body>
|
172
|
+
<GetItem xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
|
173
|
+
<ItemShape>
|
174
|
+
<t:BaseShape>AllProperties</t:BaseShape>
|
175
|
+
</ItemShape>
|
176
|
+
<ItemIds>
|
177
|
+
<t:ItemId Id="AAAhAGNoYWRfZXhjaGFuZ2VydGVzdGluZ0BvdXRsb29rLmNvbQBGAAAAAAAAqVUrvCLRSblrs10ZIBaxBwBO62zGwOguSJqyNahPUYshAAAAAAENAABO62zGwOguSJqyNahPUYshAAAcJGi9AAA="/>
|
178
|
+
</ItemIds>
|
179
|
+
</GetItem>
|
180
|
+
</soap:Body>
|
181
|
+
</soap:Envelope>
|
182
|
+
headers:
|
183
|
+
Soapaction:
|
184
|
+
- http://schemas.microsoft.com/exchange/services/2006/messages/GetItem
|
185
|
+
Content-Type:
|
186
|
+
- text/xml; charset=utf-8
|
187
|
+
Authorization:
|
188
|
+
- Basic Y2hhZF9leGNoYW5nZXJ0ZXN0aW5nQG91dGxvb2suY29tOmV4Y2hhbmdlcl9zcGVjMzMzIQ==
|
189
|
+
response:
|
190
|
+
status:
|
191
|
+
code: 200
|
192
|
+
message: OK
|
193
|
+
headers:
|
194
|
+
Cache-Control:
|
195
|
+
- private
|
196
|
+
Transfer-Encoding:
|
197
|
+
- chunked
|
198
|
+
Content-Type:
|
199
|
+
- text/xml; charset=utf-8
|
200
|
+
Server:
|
201
|
+
- Microsoft-IIS/8.0
|
202
|
+
Request-Id:
|
203
|
+
- fd6f7300-940d-41c5-bedc-dfe56c9939d9
|
204
|
+
X-Calculatedbetarget:
|
205
|
+
- CO2PR0801MB552.namprd08.prod.outlook.com
|
206
|
+
X-Backendhttpstatus:
|
207
|
+
- '200'
|
208
|
+
Set-Cookie:
|
209
|
+
- exchangecookie=0297fe2cb6344f15a2ecc65eb0a989fb; expires=Wed, 21-Jun-2017
|
210
|
+
14:13:26 GMT; path=/; HttpOnly
|
211
|
+
X-Aspnet-Version:
|
212
|
+
- 4.0.30319
|
213
|
+
X-Diaginfo:
|
214
|
+
- CO2PR0801MB552
|
215
|
+
X-Beserver:
|
216
|
+
- CO2PR0801MB552
|
217
|
+
X-Powered-By:
|
218
|
+
- ASP.NET
|
219
|
+
X-Feserver:
|
220
|
+
- BY1PR19CA0008
|
221
|
+
Date:
|
222
|
+
- Tue, 21 Jun 2016 14:13:25 GMT
|
223
|
+
body:
|
224
|
+
encoding: UTF-8
|
225
|
+
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="1" MajorBuildNumber="523" MinorBuildNumber="16" xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="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 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><m:GetItemResponse xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" 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="AAAhAGNoYWRfZXhjaGFuZ2VydGVzdGluZ0BvdXRsb29rLmNvbQBGAAAAAAAAqVUrvCLRSblrs10ZIBaxBwBO62zGwOguSJqyNahPUYshAAAAAAENAABO62zGwOguSJqyNahPUYshAAAcJGi9AAA=" ChangeKey="DwAAABYAAABO62zGwOguSJqyNahPUYshAAAcJizf"/><t:ParentFolderId Id="AQAhAGNoYWRfZXhjaGFuZ2VydGVzdGluZ0BvdXRsb28Aay5jb20ALgAABKlVK7wi0Um5a7NdGSAWsQEATutsxsDoLkiasjWoT1GLIQAAAgENAAAA" 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.
|
227
|
+
Body line 2.</t:Body><t:Attachments><t:FileAttachment><t:AttachmentId Id="AAAhAGNoYWRfZXhjaGFuZ2VydGVzdGluZ0BvdXRsb29rLmNvbQBGAAAAAAAAqVUrvCLRSblrs10ZIBaxBwBO62zGwOguSJqyNahPUYshAAAAAAENAABO62zGwOguSJqyNahPUYshAAAcJGi9AAABEgAQAD3x18GLNmVLgCkwN+NmLSk="/><t:Name>test.txt</t:Name><t:ContentType>text/plain</t:ContentType></t:FileAttachment></t:Attachments><t:DateTimeReceived>2016-06-21T14:13:15Z</t:DateTimeReceived><t:Size>4166</t:Size><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>2016-06-21T14:13:15Z</t:DateTimeSent><t:DateTimeCreated>2016-06-21T14:13:15Z</t:DateTimeCreated><t:ResponseObjects><t:CancelCalendarItem/><t:ForwardItem/></t:ResponseObjects><t:ReminderDueBy>2016-06-21T14:13:14Z</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>2016-06-21T14:13:14Z</t:Start><t:End>2016-06-21T14:43:14Z</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>Exchanger SpecTester</t:Name><t:EmailAddress>FILTERED_EMAIL_ADDRESS</t:EmailAddress><t:RoutingType>SMTP</t:RoutingType></t:Mailbox></t:Organizer><t:Duration>PT30M</t:Duration><t:TimeZone>(UTC) 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
|
+
http_version:
|
229
|
+
recorded_at: Tue, 21 Jun 2016 14:13:26 GMT
|
230
|
+
- request:
|
231
|
+
method: post
|
232
|
+
uri: https://FILTERED_USERNAME:FILTERED_PASSWORD@amsprd0710.outlook.com/EWS/Exchange.asmx
|
233
|
+
body:
|
234
|
+
encoding: UTF-8
|
235
|
+
string: |
|
236
|
+
<?xml version="1.0"?>
|
237
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
238
|
+
<soap:Body>
|
239
|
+
<GetAttachment xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
|
240
|
+
<AttachmentShape>
|
241
|
+
<t:BaseShape>AllProperties</t:BaseShape>
|
242
|
+
</AttachmentShape>
|
243
|
+
<AttachmentIds>
|
244
|
+
<t:AttachmentId Id="AAAhAGNoYWRfZXhjaGFuZ2VydGVzdGluZ0BvdXRsb29rLmNvbQBGAAAAAAAAqVUrvCLRSblrs10ZIBaxBwBO62zGwOguSJqyNahPUYshAAAAAAENAABO62zGwOguSJqyNahPUYshAAAcJGi9AAABEgAQAD3x18GLNmVLgCkwN+NmLSk="/>
|
245
|
+
</AttachmentIds>
|
246
|
+
</GetAttachment>
|
247
|
+
</soap:Body>
|
248
|
+
</soap:Envelope>
|
249
|
+
headers:
|
250
|
+
Soapaction:
|
251
|
+
- http://schemas.microsoft.com/exchange/services/2006/messages/GetAttachment
|
252
|
+
Content-Type:
|
253
|
+
- text/xml; charset=utf-8
|
254
|
+
Authorization:
|
255
|
+
- Basic Y2hhZF9leGNoYW5nZXJ0ZXN0aW5nQG91dGxvb2suY29tOmV4Y2hhbmdlcl9zcGVjMzMzIQ==
|
256
|
+
response:
|
257
|
+
status:
|
258
|
+
code: 200
|
259
|
+
message: OK
|
260
|
+
headers:
|
261
|
+
Cache-Control:
|
262
|
+
- private
|
263
|
+
Transfer-Encoding:
|
264
|
+
- chunked
|
265
|
+
Content-Type:
|
266
|
+
- text/xml; charset=utf-8
|
267
|
+
Server:
|
268
|
+
- Microsoft-IIS/8.0
|
269
|
+
Request-Id:
|
270
|
+
- 57e66672-a146-42f9-9a84-9891ee8d4b6d
|
271
|
+
X-Calculatedbetarget:
|
272
|
+
- CO2PR0801MB552.namprd08.prod.outlook.com
|
273
|
+
X-Backendhttpstatus:
|
274
|
+
- '200'
|
275
|
+
Set-Cookie:
|
276
|
+
- exchangecookie=cd0159d4f952418e9e0cd7a2c1edf614; expires=Wed, 21-Jun-2017
|
277
|
+
14:13:27 GMT; path=/; HttpOnly
|
278
|
+
X-Aspnet-Version:
|
279
|
+
- 4.0.30319
|
280
|
+
X-Diaginfo:
|
281
|
+
- CO2PR0801MB552
|
282
|
+
X-Beserver:
|
283
|
+
- CO2PR0801MB552
|
284
|
+
X-Powered-By:
|
285
|
+
- ASP.NET
|
286
|
+
X-Feserver:
|
287
|
+
- BY1PR19CA0018
|
288
|
+
Date:
|
289
|
+
- Tue, 21 Jun 2016 14:13:26 GMT
|
290
|
+
body:
|
291
|
+
encoding: UTF-8
|
292
|
+
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="1" MajorBuildNumber="523" MinorBuildNumber="16"
|
294
|
+
xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"
|
295
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></s:Header><s:Body
|
296
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><m:GetAttachmentResponse
|
297
|
+
xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:GetAttachmentResponseMessage
|
298
|
+
ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:Attachments><t:FileAttachment><t:AttachmentId
|
299
|
+
Id="AAAhAGNoYWRfZXhjaGFuZ2VydGVzdGluZ0BvdXRsb29rLmNvbQBGAAAAAAAAqVUrvCLRSblrs10ZIBaxBwBO62zGwOguSJqyNahPUYshAAAAAAENAABO62zGwOguSJqyNahPUYshAAAcJGi9AAABEgAQAD3x18GLNmVLgCkwN+NmLSk="/><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
|
+
http_version:
|
301
|
+
recorded_at: Tue, 21 Jun 2016 14:13:26 GMT
|
302
|
+
- request:
|
303
|
+
method: post
|
304
|
+
uri: https://FILTERED_USERNAME:FILTERED_PASSWORD@amsprd0710.outlook.com/EWS/Exchange.asmx
|
305
|
+
body:
|
306
|
+
encoding: UTF-8
|
307
|
+
string: |
|
308
|
+
<?xml version="1.0"?>
|
309
|
+
<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">
|
310
|
+
<soap:Body>
|
311
|
+
<DeleteAttachment xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
|
312
|
+
<AttachmentIds>
|
313
|
+
<t:AttachmentId Id="AAAhAGNoYWRfZXhjaGFuZ2VydGVzdGluZ0BvdXRsb29rLmNvbQBGAAAAAAAAqVUrvCLRSblrs10ZIBaxBwBO62zGwOguSJqyNahPUYshAAAAAAENAABO62zGwOguSJqyNahPUYshAAAcJGi9AAABEgAQAD3x18GLNmVLgCkwN+NmLSk="/>
|
314
|
+
</AttachmentIds>
|
315
|
+
</DeleteAttachment>
|
316
|
+
</soap:Body>
|
317
|
+
</soap:Envelope>
|
318
|
+
headers:
|
319
|
+
Soapaction:
|
320
|
+
- http://schemas.microsoft.com/exchange/services/2006/messages/DeleteAttachment
|
321
|
+
Content-Type:
|
322
|
+
- text/xml; charset=utf-8
|
323
|
+
Authorization:
|
324
|
+
- Basic Y2hhZF9leGNoYW5nZXJ0ZXN0aW5nQG91dGxvb2suY29tOmV4Y2hhbmdlcl9zcGVjMzMzIQ==
|
325
|
+
response:
|
326
|
+
status:
|
327
|
+
code: 200
|
328
|
+
message: OK
|
329
|
+
headers:
|
330
|
+
Cache-Control:
|
331
|
+
- private
|
332
|
+
Transfer-Encoding:
|
333
|
+
- chunked
|
334
|
+
Content-Type:
|
335
|
+
- text/xml; charset=utf-8
|
336
|
+
Server:
|
337
|
+
- Microsoft-IIS/8.0
|
338
|
+
Request-Id:
|
339
|
+
- 0c5e6934-8122-4ffd-9439-75c3df3700d4
|
340
|
+
X-Calculatedbetarget:
|
341
|
+
- CO2PR0801MB552.namprd08.prod.outlook.com
|
342
|
+
X-Backendhttpstatus:
|
343
|
+
- '200'
|
344
|
+
Set-Cookie:
|
345
|
+
- exchangecookie=6c63f412ce7048b4b96755b17043c82c; expires=Wed, 21-Jun-2017
|
346
|
+
14:13:27 GMT; path=/; HttpOnly
|
347
|
+
X-Ewshandler:
|
348
|
+
- DeleteAttachment
|
349
|
+
X-Aspnet-Version:
|
350
|
+
- 4.0.30319
|
351
|
+
X-Diaginfo:
|
352
|
+
- CO2PR0801MB552
|
353
|
+
X-Beserver:
|
354
|
+
- CO2PR0801MB552
|
355
|
+
X-Powered-By:
|
356
|
+
- ASP.NET
|
357
|
+
X-Feserver:
|
358
|
+
- CY1PR21CA0023
|
359
|
+
Date:
|
360
|
+
- Tue, 21 Jun 2016 14:13:27 GMT
|
361
|
+
body:
|
362
|
+
encoding: UTF-8
|
363
|
+
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="1" MajorBuildNumber="523" MinorBuildNumber="16"
|
365
|
+
xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
366
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></s:Header><s:Body><m:DeleteAttachmentResponse
|
367
|
+
xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
368
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:DeleteAttachmentResponseMessage
|
369
|
+
ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:RootItemId
|
370
|
+
RootItemId="AAAhAGNoYWRfZXhjaGFuZ2VydGVzdGluZ0BvdXRsb29rLmNvbQBGAAAAAAAAqVUrvCLRSblrs10ZIBaxBwBO62zGwOguSJqyNahPUYshAAAAAAENAABO62zGwOguSJqyNahPUYshAAAcJGi9AAA="
|
371
|
+
RootItemChangeKey="DwAAABYAAABO62zGwOguSJqyNahPUYshAAAcJizg"/></m:DeleteAttachmentResponseMessage></m:ResponseMessages></m:DeleteAttachmentResponse></s:Body></s:Envelope>
|
372
|
+
http_version:
|
373
|
+
recorded_at: Tue, 21 Jun 2016 14:13:27 GMT
|
374
|
+
recorded_with: VCR 3.0.1
|
@@ -0,0 +1,73 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://FILTERED_USERNAME:FILTERED_PASSWORD@amsprd0710.outlook.com/EWS/Exchange.asmx
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |
|
9
|
+
<?xml version="1.0"?>
|
10
|
+
<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">
|
11
|
+
<soap:Body>
|
12
|
+
<DeleteItem xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" DeleteType="HardDelete" SendMeetingCancellations="SendToAllAndSaveCopy">
|
13
|
+
<ItemIds>
|
14
|
+
<t:ItemId Id="AAAhAGNoYWRfZXhjaGFuZ2VydGVzdGluZ0BvdXRsb29rLmNvbQBGAAAAAAAAqVUrvCLRSblrs10ZIBaxBwBO62zGwOguSJqyNahPUYshAAAAAAENAABO62zGwOguSJqyNahPUYshAAAcJGi9AAA="/>
|
15
|
+
</ItemIds>
|
16
|
+
</DeleteItem>
|
17
|
+
</soap:Body>
|
18
|
+
</soap:Envelope>
|
19
|
+
headers:
|
20
|
+
Soapaction:
|
21
|
+
- http://schemas.microsoft.com/exchange/services/2006/messages/DeleteItem
|
22
|
+
Content-Type:
|
23
|
+
- text/xml; charset=utf-8
|
24
|
+
Authorization:
|
25
|
+
- Basic Y2hhZF9leGNoYW5nZXJ0ZXN0aW5nQG91dGxvb2suY29tOmV4Y2hhbmdlcl9zcGVjMzMzIQ==
|
26
|
+
response:
|
27
|
+
status:
|
28
|
+
code: 200
|
29
|
+
message: OK
|
30
|
+
headers:
|
31
|
+
Cache-Control:
|
32
|
+
- private
|
33
|
+
Transfer-Encoding:
|
34
|
+
- chunked
|
35
|
+
Content-Type:
|
36
|
+
- text/xml; charset=utf-8
|
37
|
+
Server:
|
38
|
+
- Microsoft-IIS/8.0
|
39
|
+
Request-Id:
|
40
|
+
- 3ef1eef1-ee8b-4a62-b05e-85a2c72ad1e0
|
41
|
+
X-Calculatedbetarget:
|
42
|
+
- CO2PR0801MB552.namprd08.prod.outlook.com
|
43
|
+
X-Backendhttpstatus:
|
44
|
+
- '200'
|
45
|
+
Set-Cookie:
|
46
|
+
- exchangecookie=aa4862a055bf420b8708234ff32c168c; expires=Wed, 21-Jun-2017
|
47
|
+
14:13:28 GMT; path=/; HttpOnly
|
48
|
+
X-Ewshandler:
|
49
|
+
- DeleteItem
|
50
|
+
X-Aspnet-Version:
|
51
|
+
- 4.0.30319
|
52
|
+
X-Diaginfo:
|
53
|
+
- CO2PR0801MB552
|
54
|
+
X-Beserver:
|
55
|
+
- CO2PR0801MB552
|
56
|
+
X-Powered-By:
|
57
|
+
- ASP.NET
|
58
|
+
X-Feserver:
|
59
|
+
- BY1PR10CA0002
|
60
|
+
Date:
|
61
|
+
- Tue, 21 Jun 2016 14:13:28 GMT
|
62
|
+
body:
|
63
|
+
encoding: UTF-8
|
64
|
+
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="1" MajorBuildNumber="523" MinorBuildNumber="16"
|
66
|
+
xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
67
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></s:Header><s:Body><m:DeleteItemResponse
|
68
|
+
xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
69
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:DeleteItemResponseMessage
|
70
|
+
ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode></m:DeleteItemResponseMessage></m:ResponseMessages></m:DeleteItemResponse></s:Body></s:Envelope>
|
71
|
+
http_version:
|
72
|
+
recorded_at: Tue, 21 Jun 2016 14:13:28 GMT
|
73
|
+
recorded_with: VCR 3.0.1
|