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,34 +2,50 @@
|
|
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
|
-
encoding:
|
8
|
-
string:
|
9
|
-
|
10
|
-
xmlns:t
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |
|
9
|
+
<?xml version="1.0"?>
|
10
|
+
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages">
|
11
|
+
<soap:Body>
|
12
|
+
<m:GetUserAvailabilityRequest>
|
13
|
+
<t:TimeZone>
|
14
|
+
<t:Bias>0</t:Bias>
|
15
|
+
</t:TimeZone>
|
16
|
+
<m:MailboxDataArray>
|
17
|
+
<t:MailboxData>
|
18
|
+
<t:Email>
|
19
|
+
<t:Address>FILTERED_EMAIL_ADDRESS</t:Address>
|
20
|
+
</t:Email>
|
21
|
+
<t:AttendeeType>Required</t:AttendeeType>
|
22
|
+
<t:ExcludeConflicts>false</t:ExcludeConflicts>
|
23
|
+
</t:MailboxData>
|
24
|
+
</m:MailboxDataArray>
|
25
|
+
<t:FreeBusyViewOptions>
|
26
|
+
<t:TimeWindow>
|
27
|
+
<t:StartTime>2016-01-01T00:00:01</t:StartTime>
|
28
|
+
<t:EndTime>2016-01-31T23:59:59</t:EndTime>
|
29
|
+
</t:TimeWindow>
|
30
|
+
<t:MergedFreeBusyIntervalInMinutes>60</t:MergedFreeBusyIntervalInMinutes>
|
31
|
+
<t:RequestedView>DetailedMerged</t:RequestedView>
|
32
|
+
</t:FreeBusyViewOptions>
|
33
|
+
</m:GetUserAvailabilityRequest>
|
34
|
+
</soap:Body>
|
35
|
+
</soap:Envelope>
|
26
36
|
headers:
|
37
|
+
User-Agent:
|
38
|
+
- HTTPClient/1.0 (2.8.3, ruby 2.7.0 (2019-12-25))
|
39
|
+
Accept:
|
40
|
+
- "*/*"
|
41
|
+
Date:
|
42
|
+
- Tue, 07 Apr 2020 10:27:17 GMT
|
27
43
|
Soapaction:
|
28
44
|
- http://schemas.microsoft.com/exchange/services/2006/messages/GetUserAvailability
|
29
45
|
Content-Type:
|
30
46
|
- text/xml; charset=utf-8
|
31
47
|
Authorization:
|
32
|
-
- Basic
|
48
|
+
- Basic bWljaGFlbEBsaXR0b24uc2U6MTI4MHNhaWw=
|
33
49
|
response:
|
34
50
|
status:
|
35
51
|
code: 200
|
@@ -42,34 +58,172 @@ http_interactions:
|
|
42
58
|
Content-Type:
|
43
59
|
- text/xml; charset=utf-8
|
44
60
|
Server:
|
45
|
-
- Microsoft-IIS/
|
46
|
-
|
47
|
-
-
|
61
|
+
- Microsoft-IIS/10.0
|
62
|
+
Request-Id:
|
63
|
+
- d4d4c314-9898-41a2-a002-38b5c80be9b9
|
64
|
+
X-Calculatedfetarget:
|
65
|
+
- PR3P191CU001.internal.outlook.com
|
66
|
+
X-Backendhttpstatus:
|
67
|
+
- '200'
|
68
|
+
- '200'
|
48
69
|
Set-Cookie:
|
49
|
-
- exchangecookie=
|
50
|
-
|
70
|
+
- exchangecookie=bb7fb6d36c8346aa9e0df42e4b755efe; expires=Wed, 07-Apr-2021
|
71
|
+
10:27:17 GMT; path=/; secure; HttpOnly
|
72
|
+
X-Feproxyinfo:
|
73
|
+
- PR3P191CA0003.EURP191.PROD.OUTLOOK.COM
|
74
|
+
X-Calculatedbetarget:
|
75
|
+
- AM7PR05MB6693.eurprd05.prod.outlook.com
|
76
|
+
X-Rum-Validated:
|
77
|
+
- '1'
|
78
|
+
X-Ewshandler:
|
79
|
+
- GetUserAvailability
|
51
80
|
X-Aspnet-Version:
|
52
|
-
-
|
81
|
+
- 4.0.30319
|
82
|
+
X-Besku:
|
83
|
+
- WCS6
|
84
|
+
X-Diaginfo:
|
85
|
+
- AM7PR05MB6693
|
86
|
+
X-Beserver:
|
87
|
+
- AM7PR05MB6693
|
88
|
+
X-Proxy-Routingcorrectness:
|
89
|
+
- '1'
|
90
|
+
X-Proxy-Backendserverstatus:
|
91
|
+
- '200'
|
92
|
+
X-Feserver:
|
93
|
+
- HE1PR08CA0054
|
94
|
+
- PR3P191CA0003
|
53
95
|
X-Powered-By:
|
54
96
|
- ASP.NET
|
97
|
+
Date:
|
98
|
+
- Tue, 07 Apr 2020 10:27:17 GMT
|
99
|
+
body:
|
100
|
+
encoding: UTF-8
|
101
|
+
string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
|
102
|
+
MajorVersion="15" MinorVersion="20" MajorBuildNumber="2878" MinorBuildNumber="21"
|
103
|
+
xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
104
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></s:Header><s:Body><GetUserAvailabilityResponse
|
105
|
+
xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
106
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><FreeBusyResponseArray><FreeBusyResponse><ResponseMessage
|
107
|
+
ResponseClass="Success"><ResponseCode>NoError</ResponseCode></ResponseMessage><FreeBusyView><FreeBusyViewType
|
108
|
+
xmlns="http://schemas.microsoft.com/exchange/services/2006/types">DetailedMerged</FreeBusyViewType><MergedFreeBusy
|
109
|
+
xmlns="http://schemas.microsoft.com/exchange/services/2006/types">000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</MergedFreeBusy><CalendarEventArray
|
110
|
+
xmlns="http://schemas.microsoft.com/exchange/services/2006/types"><CalendarEvent><StartTime>2016-01-07T16:00:00</StartTime><EndTime>2016-01-07T16:30:00</EndTime><BusyType>Busy</BusyType><CalendarEventDetails><ID>00000000B5D445D94FEDD34996D91BD70C4FE5E807001D5FEFED4D0846489DA0E8714A3E58AE00000000010D00001D5FEFED4D0846489DA0E8714A3E58AE00033C2D2D660000</ID><Subject>Great
|
111
|
+
event</Subject><Location/><IsMeeting>false</IsMeeting><IsRecurring>false</IsRecurring><IsException>false</IsException><IsReminderSet>true</IsReminderSet><IsPrivate>false</IsPrivate></CalendarEventDetails></CalendarEvent></CalendarEventArray><WorkingHours
|
112
|
+
xmlns="http://schemas.microsoft.com/exchange/services/2006/types"><TimeZone><Bias>480</Bias><StandardTime><Bias>0</Bias><Time>02:00:00</Time><DayOrder>1</DayOrder><Month>11</Month><DayOfWeek>Sunday</DayOfWeek></StandardTime><DaylightTime><Bias>-60</Bias><Time>02:00:00</Time><DayOrder>2</DayOrder><Month>3</Month><DayOfWeek>Sunday</DayOfWeek></DaylightTime></TimeZone><WorkingPeriodArray><WorkingPeriod><DayOfWeek>Monday
|
113
|
+
Tuesday Wednesday Thursday Friday</DayOfWeek><StartTimeInMinutes>480</StartTimeInMinutes><EndTimeInMinutes>1020</EndTimeInMinutes></WorkingPeriod></WorkingPeriodArray></WorkingHours></FreeBusyView></FreeBusyResponse></FreeBusyResponseArray></GetUserAvailabilityResponse></s:Body></s:Envelope>
|
114
|
+
http_version:
|
115
|
+
recorded_at: Tue, 07 Apr 2020 10:27:17 GMT
|
116
|
+
- request:
|
117
|
+
method: post
|
118
|
+
uri: https://amsprd0710.outlook.com/EWS/Exchange.asmx
|
119
|
+
body:
|
120
|
+
encoding: UTF-8
|
121
|
+
string: |
|
122
|
+
<?xml version="1.0"?>
|
123
|
+
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages">
|
124
|
+
<soap:Body>
|
125
|
+
<m:GetUserAvailabilityRequest>
|
126
|
+
<t:TimeZone>
|
127
|
+
<t:Bias>0</t:Bias>
|
128
|
+
</t:TimeZone>
|
129
|
+
<m:MailboxDataArray>
|
130
|
+
<t:MailboxData>
|
131
|
+
<t:Email>
|
132
|
+
<t:Address>FILTERED_EMAIL_ADDRESS</t:Address>
|
133
|
+
</t:Email>
|
134
|
+
<t:AttendeeType>Required</t:AttendeeType>
|
135
|
+
<t:ExcludeConflicts>false</t:ExcludeConflicts>
|
136
|
+
</t:MailboxData>
|
137
|
+
</m:MailboxDataArray>
|
138
|
+
<t:FreeBusyViewOptions>
|
139
|
+
<t:TimeWindow>
|
140
|
+
<t:StartTime>2016-01-01T00:00:01</t:StartTime>
|
141
|
+
<t:EndTime>2016-01-31T23:59:59</t:EndTime>
|
142
|
+
</t:TimeWindow>
|
143
|
+
<t:MergedFreeBusyIntervalInMinutes>60</t:MergedFreeBusyIntervalInMinutes>
|
144
|
+
<t:RequestedView>DetailedMerged</t:RequestedView>
|
145
|
+
</t:FreeBusyViewOptions>
|
146
|
+
</m:GetUserAvailabilityRequest>
|
147
|
+
</soap:Body>
|
148
|
+
</soap:Envelope>
|
149
|
+
headers:
|
150
|
+
User-Agent:
|
151
|
+
- HTTPClient/1.0 (2.8.3, ruby 2.7.0 (2019-12-25))
|
152
|
+
Accept:
|
153
|
+
- "*/*"
|
154
|
+
Date:
|
155
|
+
- Tue, 07 Apr 2020 10:27:17 GMT
|
156
|
+
Soapaction:
|
157
|
+
- http://schemas.microsoft.com/exchange/services/2006/messages/GetUserAvailability
|
158
|
+
Content-Type:
|
159
|
+
- text/xml; charset=utf-8
|
160
|
+
Authorization:
|
161
|
+
- Basic bWljaGFlbEBsaXR0b24uc2U6MTI4MHNhaWw=
|
162
|
+
response:
|
163
|
+
status:
|
164
|
+
code: 200
|
165
|
+
message: OK
|
166
|
+
headers:
|
167
|
+
Cache-Control:
|
168
|
+
- private
|
169
|
+
Transfer-Encoding:
|
170
|
+
- chunked
|
171
|
+
Content-Type:
|
172
|
+
- text/xml; charset=utf-8
|
173
|
+
Server:
|
174
|
+
- Microsoft-IIS/10.0
|
175
|
+
Request-Id:
|
176
|
+
- 0cda73a6-81e3-4fc8-916c-ecc9b48b2e39
|
177
|
+
X-Calculatedfetarget:
|
178
|
+
- AM6PR02CU001.internal.outlook.com
|
179
|
+
X-Backendhttpstatus:
|
180
|
+
- '200'
|
181
|
+
- '200'
|
182
|
+
Set-Cookie:
|
183
|
+
- exchangecookie=8e5e602d45cf4374afaffdfefcbb158c; expires=Wed, 07-Apr-2021
|
184
|
+
10:27:17 GMT; path=/; secure; HttpOnly
|
185
|
+
X-Feproxyinfo:
|
186
|
+
- AM6PR02CA0032.EURPRD02.PROD.OUTLOOK.COM
|
187
|
+
X-Calculatedbetarget:
|
188
|
+
- AM7PR05MB6693.eurprd05.prod.outlook.com
|
189
|
+
X-Rum-Validated:
|
190
|
+
- '1'
|
191
|
+
X-Ewshandler:
|
192
|
+
- GetUserAvailability
|
193
|
+
X-Aspnet-Version:
|
194
|
+
- 4.0.30319
|
195
|
+
X-Besku:
|
196
|
+
- WCS6
|
55
197
|
X-Diaginfo:
|
56
|
-
-
|
198
|
+
- AM7PR05MB6693
|
199
|
+
X-Beserver:
|
200
|
+
- AM7PR05MB6693
|
201
|
+
X-Proxy-Routingcorrectness:
|
202
|
+
- '1'
|
203
|
+
X-Proxy-Backendserverstatus:
|
204
|
+
- '200'
|
205
|
+
X-Feserver:
|
206
|
+
- AM6PR02CA0032
|
207
|
+
- HE1PR08CA0060
|
208
|
+
X-Powered-By:
|
209
|
+
- ASP.NET
|
57
210
|
Date:
|
58
|
-
-
|
211
|
+
- Tue, 07 Apr 2020 10:27:16 GMT
|
59
212
|
body:
|
60
|
-
encoding:
|
213
|
+
encoding: UTF-8
|
61
214
|
string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
|
62
|
-
MajorVersion="
|
63
|
-
xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://
|
64
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
65
|
-
xmlns
|
66
|
-
xmlns="http://
|
215
|
+
MajorVersion="15" MinorVersion="20" MajorBuildNumber="2878" MinorBuildNumber="21"
|
216
|
+
xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
217
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></s:Header><s:Body><GetUserAvailabilityResponse
|
218
|
+
xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
219
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><FreeBusyResponseArray><FreeBusyResponse><ResponseMessage
|
67
220
|
ResponseClass="Success"><ResponseCode>NoError</ResponseCode></ResponseMessage><FreeBusyView><FreeBusyViewType
|
68
221
|
xmlns="http://schemas.microsoft.com/exchange/services/2006/types">DetailedMerged</FreeBusyViewType><MergedFreeBusy
|
69
|
-
xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
|
70
|
-
xmlns="http://schemas.microsoft.com/exchange/services/2006/types"><CalendarEvent><StartTime>2016-01-
|
71
|
-
|
222
|
+
xmlns="http://schemas.microsoft.com/exchange/services/2006/types">000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</MergedFreeBusy><CalendarEventArray
|
223
|
+
xmlns="http://schemas.microsoft.com/exchange/services/2006/types"><CalendarEvent><StartTime>2016-01-07T16:00:00</StartTime><EndTime>2016-01-07T16:30:00</EndTime><BusyType>Busy</BusyType><CalendarEventDetails><ID>00000000B5D445D94FEDD34996D91BD70C4FE5E807001D5FEFED4D0846489DA0E8714A3E58AE00000000010D00001D5FEFED4D0846489DA0E8714A3E58AE00033C2D2D660000</ID><Subject>Great
|
224
|
+
event</Subject><Location/><IsMeeting>false</IsMeeting><IsRecurring>false</IsRecurring><IsException>false</IsException><IsReminderSet>true</IsReminderSet><IsPrivate>false</IsPrivate></CalendarEventDetails></CalendarEvent></CalendarEventArray><WorkingHours
|
225
|
+
xmlns="http://schemas.microsoft.com/exchange/services/2006/types"><TimeZone><Bias>480</Bias><StandardTime><Bias>0</Bias><Time>02:00:00</Time><DayOrder>1</DayOrder><Month>11</Month><DayOfWeek>Sunday</DayOfWeek></StandardTime><DaylightTime><Bias>-60</Bias><Time>02:00:00</Time><DayOrder>2</DayOrder><Month>3</Month><DayOfWeek>Sunday</DayOfWeek></DaylightTime></TimeZone><WorkingPeriodArray><WorkingPeriod><DayOfWeek>Monday
|
72
226
|
Tuesday Wednesday Thursday Friday</DayOfWeek><StartTimeInMinutes>480</StartTimeInMinutes><EndTimeInMinutes>1020</EndTimeInMinutes></WorkingPeriod></WorkingPeriodArray></WorkingHours></FreeBusyView></FreeBusyResponse></FreeBusyResponseArray></GetUserAvailabilityResponse></s:Body></s:Envelope>
|
73
227
|
http_version:
|
74
|
-
recorded_at:
|
75
|
-
recorded_with: VCR
|
228
|
+
recorded_at: Tue, 07 Apr 2020 10:27:17 GMT
|
229
|
+
recorded_with: VCR 3.0.3
|
@@ -2,34 +2,64 @@
|
|
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
|
-
encoding:
|
8
|
-
string:
|
9
|
-
|
10
|
-
xmlns:t
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |
|
9
|
+
<?xml version="1.0"?>
|
10
|
+
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages">
|
11
|
+
<soap:Body>
|
12
|
+
<m:GetUserAvailabilityRequest>
|
13
|
+
<t:TimeZone>
|
14
|
+
<t:Bias>0</t:Bias>
|
15
|
+
<t:StandardTime>
|
16
|
+
<t:Bias>0</t:Bias>
|
17
|
+
<t:Time>04:00:00</t:Time>
|
18
|
+
<t:DayOrder>5</t:DayOrder>
|
19
|
+
<t:Month>10</t:Month>
|
20
|
+
<t:DayOfWeek>Sunday</t:DayOfWeek>
|
21
|
+
</t:StandardTime>
|
22
|
+
<t:DaylightTime>
|
23
|
+
<t:Bias>-60</t:Bias>
|
24
|
+
<t:Time>03:00:00</t:Time>
|
25
|
+
<t:DayOrder>5</t:DayOrder>
|
26
|
+
<t:Month>3</t:Month>
|
27
|
+
<t:DayOfWeek>Sunday</t:DayOfWeek>
|
28
|
+
</t:DaylightTime>
|
29
|
+
</t:TimeZone>
|
30
|
+
<m:MailboxDataArray>
|
31
|
+
<t:MailboxData>
|
32
|
+
<t:Email>
|
33
|
+
<t:Address>test.test@test.com</t:Address>
|
34
|
+
</t:Email>
|
35
|
+
<t:AttendeeType>Required</t:AttendeeType>
|
36
|
+
<t:ExcludeConflicts>false</t:ExcludeConflicts>
|
37
|
+
</t:MailboxData>
|
38
|
+
</m:MailboxDataArray>
|
39
|
+
<t:FreeBusyViewOptions>
|
40
|
+
<t:TimeWindow>
|
41
|
+
<t:StartTime>2020-04-07T00:00:01</t:StartTime>
|
42
|
+
<t:EndTime>2020-04-07T23:59:59</t:EndTime>
|
43
|
+
</t:TimeWindow>
|
44
|
+
<t:MergedFreeBusyIntervalInMinutes>60</t:MergedFreeBusyIntervalInMinutes>
|
45
|
+
<t:RequestedView>DetailedMerged</t:RequestedView>
|
46
|
+
</t:FreeBusyViewOptions>
|
47
|
+
</m:GetUserAvailabilityRequest>
|
48
|
+
</soap:Body>
|
49
|
+
</soap:Envelope>
|
26
50
|
headers:
|
51
|
+
User-Agent:
|
52
|
+
- HTTPClient/1.0 (2.8.3, ruby 2.7.0 (2019-12-25))
|
53
|
+
Accept:
|
54
|
+
- "*/*"
|
55
|
+
Date:
|
56
|
+
- Tue, 07 Apr 2020 10:27:17 GMT
|
27
57
|
Soapaction:
|
28
58
|
- http://schemas.microsoft.com/exchange/services/2006/messages/GetUserAvailability
|
29
59
|
Content-Type:
|
30
60
|
- text/xml; charset=utf-8
|
31
61
|
Authorization:
|
32
|
-
- Basic
|
62
|
+
- Basic bWljaGFlbEBsaXR0b24uc2U6MTI4MHNhaWw=
|
33
63
|
response:
|
34
64
|
status:
|
35
65
|
code: 200
|
@@ -42,37 +72,54 @@ http_interactions:
|
|
42
72
|
Content-Type:
|
43
73
|
- text/xml; charset=utf-8
|
44
74
|
Server:
|
45
|
-
- Microsoft-IIS/
|
46
|
-
|
47
|
-
-
|
75
|
+
- Microsoft-IIS/10.0
|
76
|
+
Request-Id:
|
77
|
+
- 370078cf-a27f-4b30-919f-add9f4ba0e11
|
78
|
+
X-Calculatedfetarget:
|
79
|
+
- AM6P195CU002.internal.outlook.com
|
80
|
+
X-Backendhttpstatus:
|
81
|
+
- '200'
|
82
|
+
- '200'
|
48
83
|
Set-Cookie:
|
49
|
-
- exchangecookie=
|
50
|
-
|
84
|
+
- exchangecookie=2f5b7ccc454a45aeb145b076725a2a67; expires=Wed, 07-Apr-2021
|
85
|
+
10:27:17 GMT; path=/; secure; HttpOnly
|
86
|
+
X-Feproxyinfo:
|
87
|
+
- AM6P195CA0047.EURP195.PROD.OUTLOOK.COM
|
88
|
+
X-Calculatedbetarget:
|
89
|
+
- AM7PR05MB6693.eurprd05.prod.outlook.com
|
90
|
+
X-Rum-Validated:
|
91
|
+
- '1'
|
92
|
+
X-Ewshandler:
|
93
|
+
- GetUserAvailability
|
51
94
|
X-Aspnet-Version:
|
52
|
-
-
|
95
|
+
- 4.0.30319
|
96
|
+
X-Besku:
|
97
|
+
- WCS6
|
98
|
+
X-Diaginfo:
|
99
|
+
- AM7PR05MB6693
|
100
|
+
X-Beserver:
|
101
|
+
- AM7PR05MB6693
|
102
|
+
X-Proxy-Routingcorrectness:
|
103
|
+
- '1'
|
104
|
+
X-Proxy-Backendserverstatus:
|
105
|
+
- '200'
|
106
|
+
X-Feserver:
|
107
|
+
- AM6P195CA0047
|
108
|
+
- HE1PR08CA0070
|
53
109
|
X-Powered-By:
|
54
110
|
- ASP.NET
|
55
|
-
X-Diaginfo:
|
56
|
-
- AMSPRD0710CA004
|
57
111
|
Date:
|
58
|
-
-
|
112
|
+
- Tue, 07 Apr 2020 10:27:16 GMT
|
59
113
|
body:
|
60
|
-
encoding:
|
61
|
-
string:
|
62
|
-
MajorVersion="
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
Directory object.
|
70
|
-
|
71
|
-
. Name of the server where exception originated: AMSPRD0710CA004</MessageText><ResponseCode>ErrorMailRecipientNotFound</ResponseCode><DescriptiveLinkKey>0</DescriptiveLinkKey><MessageXml><ExceptionType
|
72
|
-
xmlns="http://schemas.microsoft.com/exchange/services/2006/errors">Microsoft.Exchange.InfoWorker.Common.Availability.MailRecipientNotFoundException</ExceptionType><ExceptionCode
|
73
|
-
xmlns="http://schemas.microsoft.com/exchange/services/2006/errors">5009</ExceptionCode><ExceptionServerName
|
74
|
-
xmlns="http://schemas.microsoft.com/exchange/services/2006/errors">AMSPRD0710CA004</ExceptionServerName></MessageXml></ResponseMessage><FreeBusyView><FreeBusyViewType
|
75
|
-
xmlns="http://schemas.microsoft.com/exchange/services/2006/types">None</FreeBusyViewType></FreeBusyView></FreeBusyResponse></FreeBusyResponseArray></GetUserAvailabilityResponse></s:Body></s:Envelope>'
|
114
|
+
encoding: UTF-8
|
115
|
+
string: |-
|
116
|
+
<?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><GetUserAvailabilityResponse xmlns="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"><FreeBusyResponseArray><FreeBusyResponse><ResponseMessage ResponseClass="Error"><MessageText>Proxy web request failed. , inner exception: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
|
117
|
+
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
|
118
|
+
at System.Web.Services.Protocols.SoapHttpClientProtocol.EndInvoke(IAsyncResult asyncResult)
|
119
|
+
at Microsoft.Exchange.InfoWorker.Common.Availability.Proxy.Service.EndGetUserAvailability(IAsyncResult asyncResult)
|
120
|
+
at Microsoft.Exchange.InfoWorker.Common.Availability.FreeBusyApplication.EndProxyWebRequest(ProxyWebRequest proxyWebRequest, QueryList queryList, IService service, IAsyncResult asyncResult)
|
121
|
+
at Microsoft.Exchange.InfoWorker.Common.Availability.ProxyWebRequest.EndInvoke(IAsyncResult asyncResult)
|
122
|
+
at Microsoft.Exchange.InfoWorker.Common.Availability.AsyncWebRequest.EndInvokeWithErrorHandling()</MessageText><ResponseCode>ErrorProxyRequestProcessingFailed</ResponseCode><DescriptiveLinkKey>0</DescriptiveLinkKey><MessageXml><ExceptionType xmlns="http://schemas.microsoft.com/exchange/services/2006/errors">ProxyWebRequestProcessingException</ExceptionType><ExceptionCode xmlns="http://schemas.microsoft.com/exchange/services/2006/errors">5016</ExceptionCode><ExceptionServerName xmlns="http://schemas.microsoft.com/exchange/services/2006/errors">AM7PR05MB6693</ExceptionServerName><ExceptionMessage xmlns="http://schemas.microsoft.com/exchange/services/2006/errors">Proxy web request failed. , inner exception: The request failed with HTTP status 401: Unauthorized. LID: 43532</ExceptionMessage></MessageXml></ResponseMessage><FreeBusyView><FreeBusyViewType xmlns="http://schemas.microsoft.com/exchange/services/2006/types">None</FreeBusyViewType></FreeBusyView></FreeBusyResponse></FreeBusyResponseArray></GetUserAvailabilityResponse></s:Body></s:Envelope>
|
76
123
|
http_version:
|
77
|
-
recorded_at:
|
78
|
-
recorded_with: VCR
|
124
|
+
recorded_at: Tue, 07 Apr 2020 10:27:17 GMT
|
125
|
+
recorded_with: VCR 3.0.3
|
@@ -2,20 +2,31 @@
|
|
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
|
-
encoding:
|
8
|
-
string:
|
9
|
-
|
10
|
-
xmlns:
|
11
|
-
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |
|
9
|
+
<?xml version="1.0"?>
|
10
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
11
|
+
<soap:Body>
|
12
|
+
<ResolveNames xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" ReturnFullContactData="true">
|
13
|
+
<UnresolvedEntry>test</UnresolvedEntry>
|
14
|
+
</ResolveNames>
|
15
|
+
</soap:Body>
|
16
|
+
</soap:Envelope>
|
12
17
|
headers:
|
18
|
+
User-Agent:
|
19
|
+
- HTTPClient/1.0 (2.8.3, ruby 2.7.0 (2019-12-25))
|
20
|
+
Accept:
|
21
|
+
- "*/*"
|
22
|
+
Date:
|
23
|
+
- Tue, 07 Apr 2020 09:47:23 GMT
|
13
24
|
Soapaction:
|
14
25
|
- http://schemas.microsoft.com/exchange/services/2006/messages/ResolveNames
|
15
26
|
Content-Type:
|
16
27
|
- text/xml; charset=utf-8
|
17
28
|
Authorization:
|
18
|
-
- Basic
|
29
|
+
- Basic bWlrZUBob25leWJhZGdlcnN0dWRpby5vbm1pY3Jvc29mdC5jb206MjAyMHRyaWFsIQ==
|
19
30
|
response:
|
20
31
|
status:
|
21
32
|
code: 200
|
@@ -28,31 +39,60 @@ http_interactions:
|
|
28
39
|
Content-Type:
|
29
40
|
- text/xml; charset=utf-8
|
30
41
|
Server:
|
31
|
-
- Microsoft-IIS/
|
32
|
-
|
33
|
-
-
|
42
|
+
- Microsoft-IIS/10.0
|
43
|
+
Request-Id:
|
44
|
+
- 69451d37-2db4-4d96-929b-5140142a6969
|
45
|
+
X-Calculatedfetarget:
|
46
|
+
- CWLP123CU007.internal.outlook.com
|
47
|
+
X-Backendhttpstatus:
|
48
|
+
- '200'
|
49
|
+
- '200'
|
34
50
|
Set-Cookie:
|
35
|
-
-
|
36
|
-
|
51
|
+
- EXOBasicAuth=compactTicket=t%3dEwAYA9P5AwAUFFpUAo7J3Ve0bjLBWZWCclRC3EoAAV55Q4Y%2bGRXa8A86ZZvQrCJyleFDSv5%2fyGHHAZctCYhbV5dvRlqeRW24j0aAt6MY9m3x07B5Fk%2fdb6CEs8x34aTpVQ2gkK6dYBL00HKBA026OydJjDuVYzdeJPXv2t8x3U69a5%2b8Qc2CY3GEzs9iU86FnDmxn%2frzx4x6xrnV8lDslDk7Sk7HLdNmEzEEyLLlKlSaPmxVMvORUwuG5C9lt9eosqOwPhLCr3I6uuz3bOuqa2fh6xqSmQi9GGQOQwZTuXtsQyB99mUce30%2fl8Nz5A4OI7K3iJl5g32K%2bjfkujQ84FGdyz%2fyATuYt2rQtJ6znJ3Um72DExPglzxHj9tsjIYDZgAACJC9Chcv7Q4v6AHmq0VnRuDfLXLoYZpxbpdcwPz62fF6Soe7IVOdwJiMu0yeiVgiumnRqUYwAmUMj41DU%2beXllJmGv6Tuz7dFc%2fDMV4pDtx%2bIiK7%2bJsa1aIso1Wf10f1bQnqK8H8C4g62Qy%2fsRz%2fpN%2bPaQPHdsQ1Tm56sGUK7vfavW44I4cNvXCTJ9LU7nVzxFajJgDLSqHAWGBnRDUKRKAl%2bC5%2bkAk3PhBs%2f8fWFTeCeNCzCaLDgOwZwz6eNb0kg51%2br60%2b4EuTuXHycS4t5%2fgxdgvxRuF6z7VCSCPHV5oZakqJ%2bJcm9qQXjEkWSA3lkxw93vPS3uHA7D3%2fbHXdQ66BOwbplOjqSfM4viEYyGyytQjqS5vAHCgukOZLtxqwD3SbszinvcyvBQUbAO%2fprc4DocrDap7nTeJmi4jz1yrtwfswlACEKxAW3WoSA%2blJok5ZMKIwPc7vUOrW4MfaIUc%2fLLwt019HgKH%2f%2bpmJdVgj%2bLN36uEetlOwc%2f%2bNPSskkbweX4IENh7DL2tROhcrHc5nEd9yEsjnqH1WM%2bznWYcvTe9Y%2bOz5QKp9S%2b19v%2fQSvAYlpIBXQssuNWqA5Um3FrnU4jonrfsfecgZ%2fiYQiWzZs%2fYSVktqDjpwSJnWqvU2qfkYGPL3QdkhQVr4EdEpPhDmLlAC%26amp%3bp%3d&key=FILTERED_USERNAME+microsoft.exchange.webservices+83.227.14.226+&signature=pSFhMLMA0b/FaCXQesPhk4xEVw0xMKL4zl0TG0dKg7yyVx33AeHNiYeBaEY+I5ARy4kY5G/jsG1KqM+g57c0/n2qnBcf/ZkzBj23Fno2GR6Tpl+pgc8TNVlLNCPacbipcdf598ChYtZtPgkBDGYKJBTEMT+VWpy0invDaRkGtSUKxAGjJIerYM896dNQ92FBXHY+BjVzQqzg87ra8fQXoZYMPJLENCLxtafgcQV1hMU9qsJNjLqkbjonKP0+AfGIgX+lec8ZXbloWxEVE3Xkdq6G8DGW7c1suU74vJT9pmOlapEhDdtXbNbX6oU4Q9URWO9Ds2cBoOSsoC34WGO8Uw==&puid=10032000ACAAC568&expireTime=637218784430000000&membername=FILTERED_USERNAME&flags=False&userType=ManagedBusiness&ageGroup=0&organizationId=043db638-9a35-496c-ad03-3a122c56f4d8;
|
52
|
+
expires=Tue, 07-Apr-2020 17:47:23 GMT; path=/EWS; secure; HttpOnly
|
53
|
+
- exchangecookie=30e866d459054ae2bbc945dd7b5a86e5; expires=Wed, 07-Apr-2021
|
54
|
+
09:47:23 GMT; path=/; secure; HttpOnly
|
55
|
+
- exchangecookie=30e866d459054ae2bbc945dd7b5a86e5; expires=Wed, 07-Apr-2021
|
56
|
+
09:47:23 GMT; path=/; secure; HttpOnly
|
57
|
+
X-Feproxyinfo:
|
58
|
+
- CWLP123CA0151.GBRP123.PROD.OUTLOOK.COM
|
59
|
+
X-Calculatedbetarget:
|
60
|
+
- DB7PR05MB4986.eurprd05.prod.outlook.com
|
61
|
+
X-Rum-Validated:
|
62
|
+
- '1'
|
63
|
+
X-Ewshandler:
|
64
|
+
- ResolveNames
|
37
65
|
X-Aspnet-Version:
|
38
|
-
-
|
66
|
+
- 4.0.30319
|
67
|
+
X-Besku:
|
68
|
+
- WCS5
|
69
|
+
X-Diaginfo:
|
70
|
+
- DB7PR05MB4986
|
71
|
+
X-Beserver:
|
72
|
+
- DB7PR05MB4986
|
73
|
+
X-Proxy-Routingcorrectness:
|
74
|
+
- '1'
|
75
|
+
X-Proxy-Backendserverstatus:
|
76
|
+
- '200'
|
77
|
+
X-Feserver:
|
78
|
+
- CWLP123CA0151
|
79
|
+
- HE1PR0902CA0015
|
39
80
|
X-Powered-By:
|
40
81
|
- ASP.NET
|
41
|
-
X-Diaginfo:
|
42
|
-
- AMSPRD0710CA016
|
43
82
|
Date:
|
44
|
-
-
|
83
|
+
- Tue, 07 Apr 2020 09:47:23 GMT
|
45
84
|
body:
|
46
|
-
encoding:
|
85
|
+
encoding: UTF-8
|
47
86
|
string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
|
48
|
-
MajorVersion="
|
49
|
-
xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://
|
50
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
51
|
-
xmlns:
|
52
|
-
xmlns:
|
87
|
+
MajorVersion="15" MinorVersion="20" MajorBuildNumber="2878" MinorBuildNumber="20"
|
88
|
+
xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
89
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/></s:Header><s:Body><m:ResolveNamesResponse
|
90
|
+
xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
91
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:ResolveNamesResponseMessage
|
53
92
|
ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:ResolutionSet
|
54
|
-
TotalItemsInView="1" IncludesLastItemInRange="true"><t:Resolution><t:Mailbox><t:Name>
|
55
|
-
Key="EmailAddress1">
|
93
|
+
TotalItemsInView="1" IncludesLastItemInRange="true"><t:Resolution><t:Mailbox><t:Name>test_947c6511-6fcd-428b-a599-4708ece3a499</t:Name><t:EmailAddress>test@honeybadgerstudio.onmicrosoft.com</t:EmailAddress><t:RoutingType>SMTP</t:RoutingType><t:MailboxType>PublicDL</t:MailboxType></t:Mailbox><t:Contact><t:Culture>en-US</t:Culture><t:DisplayName>Test</t:DisplayName><t:EmailAddresses><t:Entry
|
94
|
+
Key="EmailAddress1">SPO:SPO_46d896c7-0d2b-438d-8104-cf799d793bb2@SPO_043db638-9a35-496c-ad03-3a122c56f4d8</t:Entry><t:Entry
|
95
|
+
Key="EmailAddress2">SMTP:test@honeybadgerstudio.onmicrosoft.com</t:Entry></t:EmailAddresses><t:AssistantName/><t:ContactSource>ActiveDirectory</t:ContactSource></t:Contact></t:Resolution></m:ResolutionSet></m:ResolveNamesResponseMessage></m:ResponseMessages></m:ResolveNamesResponse></s:Body></s:Envelope>
|
56
96
|
http_version:
|
57
|
-
recorded_at:
|
58
|
-
recorded_with: VCR
|
97
|
+
recorded_at: Tue, 07 Apr 2020 09:47:23 GMT
|
98
|
+
recorded_with: VCR 3.0.3
|