exchanger 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +53 -0
  3. data/lib/exchanger.rb +2 -0
  4. data/lib/exchanger/elements/attendee.rb +4 -0
  5. data/lib/exchanger/elements/base_folder.rb +9 -0
  6. data/lib/exchanger/elements/calendar_item.rb +5 -0
  7. data/lib/exchanger/elements/calendar_view.rb +12 -0
  8. data/lib/exchanger/elements/item.rb +9 -0
  9. data/lib/exchanger/operations/create_item.rb +4 -2
  10. data/lib/exchanger/operations/find_item.rb +5 -1
  11. data/lib/exchanger/persistence.rb +4 -0
  12. data/lib/exchanger/version.rb +1 -1
  13. data/spec/cassettes/contact/destroy.yml +58 -0
  14. data/spec/cassettes/contact/destroy_setup.yml +61 -0
  15. data/spec/cassettes/contact/find.yml +119 -0
  16. data/spec/cassettes/contact/find_setup.yml +61 -0
  17. data/spec/cassettes/contact/save.yml +399 -0
  18. data/spec/cassettes/contact/save_cleanup.yml +58 -0
  19. data/spec/cassettes/folder/find_calendar.yml +60 -0
  20. data/spec/cassettes/folder/find_contacts.yml +60 -0
  21. data/spec/cassettes/folder/find_root.yml +60 -0
  22. data/spec/cassettes/folder/find_root_folders.yml +108 -0
  23. data/spec/cassettes/get_user_availability.yml +75 -0
  24. data/spec/cassettes/get_user_availability_default.yml +78 -0
  25. data/spec/cassettes/mailbox/search_test.yml +58 -0
  26. data/spec/cassettes/mailbox/search_test_members.yml +58 -0
  27. data/spec/config.yml +9 -6
  28. data/spec/config.yml.example +3 -3
  29. data/spec/exchanger/calendar_folder_spec.rb +13 -0
  30. data/spec/exchanger/calendar_item_spec.rb +13 -0
  31. data/spec/{client_spec.rb → exchanger/client_spec.rb} +1 -1
  32. data/spec/exchanger/contact_spec.rb +102 -0
  33. data/spec/exchanger/element_spec.rb +4 -0
  34. data/spec/{field_spec.rb → exchanger/field_spec.rb} +1 -1
  35. data/spec/exchanger/folder_spec.rb +17 -0
  36. data/spec/exchanger/get_user_availability_spec.rb +46 -0
  37. data/spec/exchanger/mailbox_spec.rb +18 -0
  38. data/spec/fixtures/get_user_availability.yml +4 -0
  39. data/spec/fixtures/get_user_availability.yml.example +3 -3
  40. data/spec/spec_helper.rb +18 -1
  41. metadata +91 -69
  42. data/spec/calendar_item_spec.rb +0 -26
  43. data/spec/contact_spec.rb +0 -67
  44. data/spec/element_spec.rb +0 -4
  45. data/spec/folder_spec.rb +0 -13
  46. data/spec/get_user_availability_spec.rb +0 -44
  47. data/spec/mailbox_spec.rb +0 -9
@@ -0,0 +1,58 @@
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: US-ASCII
8
+ string: ! "<?xml version=\"1.0\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"
9
+ xmlns:t=\"http://schemas.microsoft.com/exchange/services/2006/types\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
10
+ xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\n <soap:Body>\n <DeleteItem
11
+ xmlns=\"http://schemas.microsoft.com/exchange/services/2006/messages\" DeleteType=\"HardDelete\">\n
12
+ \ <ItemIds>\n <t:ItemId Id=\"AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa4YAAA==\"/>\n
13
+ \ </ItemIds>\n </DeleteItem>\n </soap:Body>\n</soap:Envelope>\n"
14
+ headers:
15
+ Soapaction:
16
+ - http://schemas.microsoft.com/exchange/services/2006/messages/DeleteItem
17
+ Content-Type:
18
+ - text/xml; charset=utf-8
19
+ Authorization:
20
+ - Basic ZWJlaWdhcnRzQGViZWlnYXJ0cy5vbm1pY3Jvc29mdC5jb206S3k1a2ltUDZTNmlIQQ==
21
+ response:
22
+ status:
23
+ code: 200
24
+ message: OK
25
+ headers:
26
+ Cache-Control:
27
+ - private
28
+ Transfer-Encoding:
29
+ - chunked
30
+ Content-Type:
31
+ - text/xml; charset=utf-8
32
+ Server:
33
+ - Microsoft-IIS/7.5
34
+ Requestid:
35
+ - 66b54450-321d-4ac8-afcc-c4cdb28ee1a9
36
+ Set-Cookie:
37
+ - exchangecookie=30e152f9fdf94926bb3a8d9d312983b2; expires=Fri, 11-Oct-2013
38
+ 19:19:46 GMT; path=/; HttpOnly
39
+ X-Aspnet-Version:
40
+ - 2.0.50727
41
+ X-Powered-By:
42
+ - ASP.NET
43
+ X-Diaginfo:
44
+ - AMSPRD0710CA004
45
+ Date:
46
+ - Thu, 11 Oct 2012 19:19:46 GMT
47
+ body:
48
+ encoding: US-ASCII
49
+ string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
50
+ MajorVersion="14" MinorVersion="16" MajorBuildNumber="207" MinorBuildNumber="9"
51
+ xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"
52
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/></s:Header><s:Body
53
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><m:DeleteItemResponse
54
+ xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:DeleteItemResponseMessage
55
+ ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode></m:DeleteItemResponseMessage></m:ResponseMessages></m:DeleteItemResponse></s:Body></s:Envelope>
56
+ http_version:
57
+ recorded_at: Thu, 11 Oct 2012 19:19:45 GMT
58
+ recorded_with: VCR 2.2.5
@@ -0,0 +1,60 @@
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: US-ASCII
8
+ string: ! "<?xml version=\"1.0\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n
9
+ \ <soap:Body>\n <GetFolder xmlns=\"http://schemas.microsoft.com/exchange/services/2006/messages\"
10
+ xmlns:t=\"http://schemas.microsoft.com/exchange/services/2006/types\">\n <FolderShape>\n
11
+ \ <t:BaseShape>Default</t:BaseShape>\n </FolderShape>\n <FolderIds>\n
12
+ \ <t:DistinguishedFolderId Id=\"calendar\"/>\n </FolderIds>\n </GetFolder>\n
13
+ \ </soap:Body>\n</soap:Envelope>\n"
14
+ headers:
15
+ Soapaction:
16
+ - http://schemas.microsoft.com/exchange/services/2006/messages/GetFolder
17
+ Content-Type:
18
+ - text/xml; charset=utf-8
19
+ Authorization:
20
+ - Basic ZWJlaWdhcnRzQGViZWlnYXJ0cy5vbm1pY3Jvc29mdC5jb206S3k1a2ltUDZTNmlIQQ==
21
+ response:
22
+ status:
23
+ code: 200
24
+ message: OK
25
+ headers:
26
+ Cache-Control:
27
+ - private
28
+ Transfer-Encoding:
29
+ - chunked
30
+ Content-Type:
31
+ - text/xml; charset=utf-8
32
+ Server:
33
+ - Microsoft-IIS/7.5
34
+ Requestid:
35
+ - 56ded872-6c51-47fa-acfa-b3aa88c55c52
36
+ Set-Cookie:
37
+ - exchangecookie=a294c6d2503b4af2acab2ab6195297e4; expires=Fri, 11-Oct-2013
38
+ 19:33:54 GMT; path=/; HttpOnly
39
+ X-Aspnet-Version:
40
+ - 2.0.50727
41
+ X-Powered-By:
42
+ - ASP.NET
43
+ X-Diaginfo:
44
+ - AMSPRD0710CA014
45
+ Date:
46
+ - Thu, 11 Oct 2012 19:33:54 GMT
47
+ body:
48
+ encoding: US-ASCII
49
+ string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
50
+ MajorVersion="14" MinorVersion="16" MajorBuildNumber="207" MinorBuildNumber="9"
51
+ xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"
52
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/></s:Header><s:Body
53
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><m:GetFolderResponse
54
+ xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:GetFolderResponseMessage
55
+ ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:Folders><t:CalendarFolder><t:FolderId
56
+ Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2hAAAA"
57
+ ChangeKey="AgAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARe3B"/><t:DisplayName>Calendar</t:DisplayName><t:ChildFolderCount>0</t:ChildFolderCount></t:CalendarFolder></m:Folders></m:GetFolderResponseMessage></m:ResponseMessages></m:GetFolderResponse></s:Body></s:Envelope>
58
+ http_version:
59
+ recorded_at: Thu, 11 Oct 2012 19:33:54 GMT
60
+ recorded_with: VCR 2.2.5
@@ -0,0 +1,60 @@
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: US-ASCII
8
+ string: ! "<?xml version=\"1.0\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n
9
+ \ <soap:Body>\n <GetFolder xmlns=\"http://schemas.microsoft.com/exchange/services/2006/messages\"
10
+ xmlns:t=\"http://schemas.microsoft.com/exchange/services/2006/types\">\n <FolderShape>\n
11
+ \ <t:BaseShape>Default</t:BaseShape>\n </FolderShape>\n <FolderIds>\n
12
+ \ <t:DistinguishedFolderId Id=\"contacts\"/>\n </FolderIds>\n </GetFolder>\n
13
+ \ </soap:Body>\n</soap:Envelope>\n"
14
+ headers:
15
+ Soapaction:
16
+ - http://schemas.microsoft.com/exchange/services/2006/messages/GetFolder
17
+ Content-Type:
18
+ - text/xml; charset=utf-8
19
+ Authorization:
20
+ - Basic ZWJlaWdhcnRzQGViZWlnYXJ0cy5vbm1pY3Jvc29mdC5jb206S3k1a2ltUDZTNmlIQQ==
21
+ response:
22
+ status:
23
+ code: 200
24
+ message: OK
25
+ headers:
26
+ Cache-Control:
27
+ - private
28
+ Transfer-Encoding:
29
+ - chunked
30
+ Content-Type:
31
+ - text/xml; charset=utf-8
32
+ Server:
33
+ - Microsoft-IIS/7.5
34
+ Requestid:
35
+ - 3e8962c0-5098-4ece-a5c9-b232e21ad4ad
36
+ Set-Cookie:
37
+ - exchangecookie=2d9e740e5f274046955df12f14e6ef66; expires=Fri, 11-Oct-2013
38
+ 19:19:03 GMT; path=/; HttpOnly
39
+ X-Aspnet-Version:
40
+ - 2.0.50727
41
+ X-Powered-By:
42
+ - ASP.NET
43
+ X-Diaginfo:
44
+ - AMSPRD0710CA015
45
+ Date:
46
+ - Thu, 11 Oct 2012 19:19:03 GMT
47
+ body:
48
+ encoding: US-ASCII
49
+ string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
50
+ MajorVersion="14" MinorVersion="16" MajorBuildNumber="207" MinorBuildNumber="9"
51
+ xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"
52
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/></s:Header><s:Body
53
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><m:GetFolderResponse
54
+ xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:GetFolderResponseMessage
55
+ ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:Folders><t:ContactsFolder><t:FolderId
56
+ Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA"
57
+ ChangeKey="AwAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARe3C"/><t:DisplayName>Contacts</t:DisplayName><t:TotalCount>6</t:TotalCount><t:ChildFolderCount>0</t:ChildFolderCount></t:ContactsFolder></m:Folders></m:GetFolderResponseMessage></m:ResponseMessages></m:GetFolderResponse></s:Body></s:Envelope>
58
+ http_version:
59
+ recorded_at: Thu, 11 Oct 2012 19:19:03 GMT
60
+ recorded_with: VCR 2.2.5
@@ -0,0 +1,60 @@
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: US-ASCII
8
+ string: ! "<?xml version=\"1.0\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n
9
+ \ <soap:Body>\n <GetFolder xmlns=\"http://schemas.microsoft.com/exchange/services/2006/messages\"
10
+ xmlns:t=\"http://schemas.microsoft.com/exchange/services/2006/types\">\n <FolderShape>\n
11
+ \ <t:BaseShape>Default</t:BaseShape>\n </FolderShape>\n <FolderIds>\n
12
+ \ <t:DistinguishedFolderId Id=\"root\"/>\n </FolderIds>\n </GetFolder>\n
13
+ \ </soap:Body>\n</soap:Envelope>\n"
14
+ headers:
15
+ Soapaction:
16
+ - http://schemas.microsoft.com/exchange/services/2006/messages/GetFolder
17
+ Content-Type:
18
+ - text/xml; charset=utf-8
19
+ Authorization:
20
+ - Basic ZWJlaWdhcnRzQGViZWlnYXJ0cy5vbm1pY3Jvc29mdC5jb206S3k1a2ltUDZTNmlIQQ==
21
+ response:
22
+ status:
23
+ code: 200
24
+ message: OK
25
+ headers:
26
+ Cache-Control:
27
+ - private
28
+ Transfer-Encoding:
29
+ - chunked
30
+ Content-Type:
31
+ - text/xml; charset=utf-8
32
+ Server:
33
+ - Microsoft-IIS/7.5
34
+ Requestid:
35
+ - 860270cb-bc40-47cd-9020-c826b72a98d0
36
+ Set-Cookie:
37
+ - exchangecookie=fb8d8d5616d948398d7e3c637aea0025; expires=Fri, 11-Oct-2013
38
+ 19:33:16 GMT; path=/; HttpOnly
39
+ X-Aspnet-Version:
40
+ - 2.0.50727
41
+ X-Powered-By:
42
+ - ASP.NET
43
+ X-Diaginfo:
44
+ - AMSPRD0710CA017
45
+ Date:
46
+ - Thu, 11 Oct 2012 19:33:15 GMT
47
+ body:
48
+ encoding: US-ASCII
49
+ string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
50
+ MajorVersion="14" MinorVersion="16" MajorBuildNumber="207" MinorBuildNumber="9"
51
+ xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"
52
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/></s:Header><s:Body
53
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><m:GetFolderResponse
54
+ xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:GetFolderResponseMessage
55
+ ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:Folders><t:Folder><t:FolderId
56
+ Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2UAAAA"
57
+ ChangeKey="AQAAAA=="/><t:DisplayName/><t:TotalCount>0</t:TotalCount><t:ChildFolderCount>16</t:ChildFolderCount><t:UnreadCount>0</t:UnreadCount></t:Folder></m:Folders></m:GetFolderResponseMessage></m:ResponseMessages></m:GetFolderResponse></s:Body></s:Envelope>
58
+ http_version:
59
+ recorded_at: Thu, 11 Oct 2012 19:33:16 GMT
60
+ recorded_with: VCR 2.2.5
@@ -0,0 +1,108 @@
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: US-ASCII
8
+ string: ! "<?xml version=\"1.0\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n
9
+ \ <soap:Body>\n <FindFolder xmlns=\"http://schemas.microsoft.com/exchange/services/2006/messages\"
10
+ xmlns:t=\"http://schemas.microsoft.com/exchange/services/2006/types\" Traversal=\"Shallow\">\n
11
+ \ <FolderShape>\n <t:BaseShape>AllProperties</t:BaseShape>\n </FolderShape>\n
12
+ \ <ParentFolderIds>\n <t:FolderId Id=\"AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2UAAAA\"/>\n
13
+ \ </ParentFolderIds>\n </FindFolder>\n </soap:Body>\n</soap:Envelope>\n"
14
+ headers:
15
+ Soapaction:
16
+ - http://schemas.microsoft.com/exchange/services/2006/messages/FindFolder
17
+ Content-Type:
18
+ - text/xml; charset=utf-8
19
+ Authorization:
20
+ - Basic ZWJlaWdhcnRzQGViZWlnYXJ0cy5vbm1pY3Jvc29mdC5jb206S3k1a2ltUDZTNmlIQQ==
21
+ response:
22
+ status:
23
+ code: 200
24
+ message: OK
25
+ headers:
26
+ Cache-Control:
27
+ - private
28
+ Transfer-Encoding:
29
+ - chunked
30
+ Content-Type:
31
+ - text/xml; charset=utf-8
32
+ Server:
33
+ - Microsoft-IIS/7.5
34
+ Requestid:
35
+ - 332c92f4-f44d-4667-a091-7d2d95623487
36
+ Set-Cookie:
37
+ - exchangecookie=5a75e3d2891d4618b640c00a625332d5; expires=Fri, 11-Oct-2013
38
+ 19:33:16 GMT; path=/; HttpOnly
39
+ X-Aspnet-Version:
40
+ - 2.0.50727
41
+ X-Powered-By:
42
+ - ASP.NET
43
+ X-Diaginfo:
44
+ - AMSPRD0710CA017
45
+ Date:
46
+ - Thu, 11 Oct 2012 19:33:16 GMT
47
+ body:
48
+ encoding: US-ASCII
49
+ string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
50
+ MajorVersion="14" MinorVersion="16" MajorBuildNumber="207" MinorBuildNumber="9"
51
+ xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"
52
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/></s:Header><s:Body
53
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><m:FindFolderResponse
54
+ xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:FindFolderResponseMessage
55
+ ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:RootFolder
56
+ TotalItemsInView="16" IncludesLastItemInRange="true"><t:Folders><t:Folder><t:FolderId
57
+ Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2eAAAA"
58
+ ChangeKey="AQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARe21"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2UAAAA"
59
+ ChangeKey="AQAAAA=="/><t:DisplayName>Common Views</t:DisplayName><t:TotalCount>0</t:TotalCount><t:ChildFolderCount>0</t:ChildFolderCount><t:UnreadCount>0</t:UnreadCount></t:Folder><t:Folder><t:FolderId
60
+ Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2WAAAA"
61
+ ChangeKey="AQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARe24"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2UAAAA"
62
+ ChangeKey="AQAAAA=="/><t:DisplayName>Deferred Action</t:DisplayName><t:TotalCount>0</t:TotalCount><t:ChildFolderCount>0</t:ChildFolderCount><t:UnreadCount>0</t:UnreadCount></t:Folder><t:Folder><t:FolderId
63
+ Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRkRfAAAA"
64
+ ChangeKey="AQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARkRh"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2UAAAA"
65
+ ChangeKey="AQAAAA=="/><t:DisplayName>ExchangeSyncData</t:DisplayName><t:TotalCount>0</t:TotalCount><t:ChildFolderCount>0</t:ChildFolderCount><t:UnreadCount>0</t:UnreadCount></t:Folder><t:Folder><t:FolderId
66
+ Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2cAAAA"
67
+ ChangeKey="AQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARe2z"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2UAAAA"
68
+ ChangeKey="AQAAAA=="/><t:DisplayName>Finder</t:DisplayName><t:TotalCount>0</t:TotalCount><t:ChildFolderCount>1</t:ChildFolderCount><t:UnreadCount>0</t:UnreadCount></t:Folder><t:Folder><t:FolderId
69
+ Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe3MAAAA"
70
+ ChangeKey="AQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARe3O"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2UAAAA"
71
+ ChangeKey="AQAAAA=="/><t:DisplayName>Freebusy Data</t:DisplayName><t:TotalCount>0</t:TotalCount><t:ChildFolderCount>0</t:ChildFolderCount><t:UnreadCount>0</t:UnreadCount></t:Folder><t:Folder><t:FolderId
72
+ Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe3hAAAA"
73
+ ChangeKey="AQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARe3k"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2UAAAA"
74
+ ChangeKey="AQAAAA=="/><t:DisplayName>Recoverable Items</t:DisplayName><t:TotalCount>0</t:TotalCount><t:ChildFolderCount>4</t:ChildFolderCount><t:ManagedFolderInformation><t:CanDelete>true</t:CanDelete><t:CanRenameOrMove>true</t:CanRenameOrMove><t:MustDisplayComment>false</t:MustDisplayComment><t:HasQuota>false</t:HasQuota><t:IsManagedFoldersRoot>false</t:IsManagedFoldersRoot></t:ManagedFolderInformation><t:UnreadCount>0</t:UnreadCount></t:Folder><t:SearchFolder><t:FolderId
75
+ Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRkRJAAAA"
76
+ ChangeKey="BwAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARkRM"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2UAAAA"
77
+ ChangeKey="AQAAAA=="/><t:FolderClass>Outlook.Reminder</t:FolderClass><t:DisplayName>Reminders</t:DisplayName><t:TotalCount>0</t:TotalCount><t:ChildFolderCount>0</t:ChildFolderCount><t:UnreadCount>0</t:UnreadCount></t:SearchFolder><t:Folder><t:FolderId
78
+ Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2fAAAA"
79
+ ChangeKey="AQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARe22"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2UAAAA"
80
+ ChangeKey="AQAAAA=="/><t:DisplayName>Schedule</t:DisplayName><t:TotalCount>0</t:TotalCount><t:ChildFolderCount>0</t:ChildFolderCount><t:UnreadCount>0</t:UnreadCount></t:Folder><t:Folder><t:FolderId
81
+ Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe3HAAAA"
82
+ ChangeKey="AQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARe3K"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2UAAAA"
83
+ ChangeKey="AQAAAA=="/><t:FolderClass>IPF.Note</t:FolderClass><t:DisplayName>Sharing</t:DisplayName><t:TotalCount>0</t:TotalCount><t:ChildFolderCount>0</t:ChildFolderCount><t:UnreadCount>0</t:UnreadCount></t:Folder><t:Folder><t:FolderId
84
+ Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2gAAAA"
85
+ ChangeKey="AQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARe23"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2UAAAA"
86
+ ChangeKey="AQAAAA=="/><t:DisplayName>Shortcuts</t:DisplayName><t:TotalCount>0</t:TotalCount><t:ChildFolderCount>0</t:ChildFolderCount><t:UnreadCount>0</t:UnreadCount></t:Folder><t:SearchFolder><t:FolderId
87
+ Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2XAAAA"
88
+ ChangeKey="BwAAAA=="/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2UAAAA"
89
+ ChangeKey="AQAAAA=="/><t:DisplayName>Spooler Queue</t:DisplayName><t:TotalCount>0</t:TotalCount><t:ChildFolderCount>0</t:ChildFolderCount><t:UnreadCount>0</t:UnreadCount></t:SearchFolder><t:Folder><t:FolderId
90
+ Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe3QAAAA"
91
+ ChangeKey="AQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARe3T"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2UAAAA"
92
+ ChangeKey="AQAAAA=="/><t:DisplayName>System</t:DisplayName><t:TotalCount>0</t:TotalCount><t:ChildFolderCount>0</t:ChildFolderCount><t:UnreadCount>0</t:UnreadCount></t:Folder><t:SearchFolder><t:FolderId
93
+ Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRhkWAAAA"
94
+ ChangeKey="BwAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARhkZ"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2UAAAA"
95
+ ChangeKey="AQAAAA=="/><t:FolderClass>IPF.Task</t:FolderClass><t:DisplayName>To-Do
96
+ Search</t:DisplayName><t:TotalCount>0</t:TotalCount><t:ChildFolderCount>0</t:ChildFolderCount><t:UnreadCount>0</t:UnreadCount></t:SearchFolder><t:Folder><t:FolderId
97
+ Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2VAAAA"
98
+ ChangeKey="AQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARe28"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2UAAAA"
99
+ ChangeKey="AQAAAA=="/><t:DisplayName>Top of Information Store</t:DisplayName><t:TotalCount>0</t:TotalCount><t:ChildFolderCount>12</t:ChildFolderCount><t:UnreadCount>0</t:UnreadCount></t:Folder><t:Folder><t:FolderId
100
+ Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2nAAAA"
101
+ ChangeKey="AQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARe26"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2UAAAA"
102
+ ChangeKey="AQAAAA=="/><t:DisplayName>Transport Queue</t:DisplayName><t:TotalCount>0</t:TotalCount><t:ChildFolderCount>0</t:ChildFolderCount><t:UnreadCount>0</t:UnreadCount></t:Folder><t:Folder><t:FolderId
103
+ Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2dAAAA"
104
+ ChangeKey="AQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARe20"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2UAAAA"
105
+ ChangeKey="AQAAAA=="/><t:DisplayName>Views</t:DisplayName><t:TotalCount>0</t:TotalCount><t:ChildFolderCount>0</t:ChildFolderCount><t:UnreadCount>0</t:UnreadCount></t:Folder></t:Folders></m:RootFolder></m:FindFolderResponseMessage></m:ResponseMessages></m:FindFolderResponse></s:Body></s:Envelope>
106
+ http_version:
107
+ recorded_at: Thu, 11 Oct 2012 19:33:17 GMT
108
+ recorded_with: VCR 2.2.5
@@ -0,0 +1,75 @@
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: US-ASCII
8
+ string: ! "<?xml version=\"1.0\"?>\n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
9
+ xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"
10
+ xmlns:t=\"http://schemas.microsoft.com/exchange/services/2006/types\" xmlns:m=\"http://schemas.microsoft.com/exchange/services/2006/messages\">\n
11
+ \ <soap:Body>\n <m:GetUserAvailabilityRequest>\n <t:TimeZone>\n <t:Bias>-120</t:Bias>\n
12
+ \ <t:StandardTime>\n <t:Bias>0</t:Bias>\n <t:Time>04:00:00</t:Time>\n
13
+ \ <t:DayOrder>5</t:DayOrder>\n <t:Month>10</t:Month>\n <t:DayOfWeek>Sunday</t:DayOfWeek>\n
14
+ \ </t:StandardTime>\n <t:DaylightTime>\n <t:Bias>-60</t:Bias>\n
15
+ \ <t:Time>03:00:00</t:Time>\n <t:DayOrder>5</t:DayOrder>\n
16
+ \ <t:Month>3</t:Month>\n <t:DayOfWeek>Sunday</t:DayOfWeek>\n
17
+ \ </t:DaylightTime>\n </t:TimeZone>\n <m:MailboxDataArray>\n
18
+ \ <t:MailboxData>\n <t:Email>\n <t:Address>ebeigarts@ebeigarts.onmicrosoft.com</t:Address>\n
19
+ \ </t:Email>\n <t:AttendeeType>Required</t:AttendeeType>\n
20
+ \ <t:ExcludeConflicts>false</t:ExcludeConflicts>\n </t:MailboxData>\n
21
+ \ </m:MailboxDataArray>\n <t:FreeBusyViewOptions>\n <t:TimeWindow>\n
22
+ \ <t:StartTime>2016-01-01T00:00:01</t:StartTime>\n <t:EndTime>2016-01-31T23:59:59</t:EndTime>\n
23
+ \ </t:TimeWindow>\n <t:MergedFreeBusyIntervalInMinutes>60</t:MergedFreeBusyIntervalInMinutes>\n
24
+ \ <t:RequestedView>DetailedMerged</t:RequestedView>\n </t:FreeBusyViewOptions>\n
25
+ \ </m:GetUserAvailabilityRequest>\n </soap:Body>\n</soap:Envelope>\n"
26
+ headers:
27
+ Soapaction:
28
+ - http://schemas.microsoft.com/exchange/services/2006/messages/GetUserAvailability
29
+ Content-Type:
30
+ - text/xml; charset=utf-8
31
+ Authorization:
32
+ - Basic ZWJlaWdhcnRzQGViZWlnYXJ0cy5vbm1pY3Jvc29mdC5jb206S3k1a2ltUDZTNmlIQQ==
33
+ response:
34
+ status:
35
+ code: 200
36
+ message: OK
37
+ headers:
38
+ Cache-Control:
39
+ - private
40
+ Transfer-Encoding:
41
+ - chunked
42
+ Content-Type:
43
+ - text/xml; charset=utf-8
44
+ Server:
45
+ - Microsoft-IIS/7.5
46
+ Requestid:
47
+ - 3069a16e-99bb-48d5-99fd-f854fbc3c864
48
+ Set-Cookie:
49
+ - exchangecookie=0c7aa17a704f4e0ca4a789c5645b7fd6; expires=Fri, 11-Oct-2013
50
+ 19:44:52 GMT; path=/; HttpOnly
51
+ X-Aspnet-Version:
52
+ - 2.0.50727
53
+ X-Powered-By:
54
+ - ASP.NET
55
+ X-Diaginfo:
56
+ - AMSPRD0710CA022
57
+ Date:
58
+ - Thu, 11 Oct 2012 19:44:52 GMT
59
+ body:
60
+ encoding: US-ASCII
61
+ string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
62
+ MajorVersion="14" MinorVersion="16" MajorBuildNumber="207" MinorBuildNumber="9"
63
+ xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"
64
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/></s:Header><s:Body
65
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetUserAvailabilityResponse
66
+ xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"><FreeBusyResponseArray><FreeBusyResponse><ResponseMessage
67
+ ResponseClass="Success"><ResponseCode>NoError</ResponseCode></ResponseMessage><FreeBusyView><FreeBusyViewType
68
+ xmlns="http://schemas.microsoft.com/exchange/services/2006/types">DetailedMerged</FreeBusyViewType><MergedFreeBusy
69
+ xmlns="http://schemas.microsoft.com/exchange/services/2006/types">000000000000000000000022000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</MergedFreeBusy><CalendarEventArray
70
+ xmlns="http://schemas.microsoft.com/exchange/services/2006/types"><CalendarEvent><StartTime>2016-01-01T23:00:00</StartTime><EndTime>2016-01-02T00:00:00</EndTime><BusyType>Busy</BusyType><CalendarEventDetails><ID>00000000508245902E38AB4AA463A15FCE20235807009A1AB553263CD64BB6153BE1259E81B800000045EDA100009A1AB553263CD64BB6153BE1259E81B80000004617140000</ID><Subject>Test</Subject><Location>Test</Location><IsMeeting>false</IsMeeting><IsRecurring>false</IsRecurring><IsException>false</IsException><IsReminderSet>true</IsReminderSet><IsPrivate>false</IsPrivate></CalendarEventDetails></CalendarEvent></CalendarEventArray><WorkingHours
71
+ xmlns="http://schemas.microsoft.com/exchange/services/2006/types"><TimeZone><Bias>-120</Bias><StandardTime><Bias>0</Bias><Time>03:00:00</Time><DayOrder>5</DayOrder><Month>10</Month><DayOfWeek>Sunday</DayOfWeek></StandardTime><DaylightTime><Bias>-60</Bias><Time>02:00:00</Time><DayOrder>5</DayOrder><Month>3</Month><DayOfWeek>Sunday</DayOfWeek></DaylightTime></TimeZone><WorkingPeriodArray><WorkingPeriod><DayOfWeek>Monday
72
+ Tuesday Wednesday Thursday Friday</DayOfWeek><StartTimeInMinutes>480</StartTimeInMinutes><EndTimeInMinutes>1020</EndTimeInMinutes></WorkingPeriod></WorkingPeriodArray></WorkingHours></FreeBusyView></FreeBusyResponse></FreeBusyResponseArray></GetUserAvailabilityResponse></s:Body></s:Envelope>
73
+ http_version:
74
+ recorded_at: Thu, 11 Oct 2012 19:44:52 GMT
75
+ recorded_with: VCR 2.2.5
@@ -0,0 +1,78 @@
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: US-ASCII
8
+ string: ! "<?xml version=\"1.0\"?>\n<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
9
+ xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"
10
+ xmlns:t=\"http://schemas.microsoft.com/exchange/services/2006/types\" xmlns:m=\"http://schemas.microsoft.com/exchange/services/2006/messages\">\n
11
+ \ <soap:Body>\n <m:GetUserAvailabilityRequest>\n <t:TimeZone>\n <t:Bias>0</t:Bias>\n
12
+ \ <t:StandardTime>\n <t:Bias>0</t:Bias>\n <t:Time>04:00:00</t:Time>\n
13
+ \ <t:DayOrder>5</t:DayOrder>\n <t:Month>10</t:Month>\n <t:DayOfWeek>Sunday</t:DayOfWeek>\n
14
+ \ </t:StandardTime>\n <t:DaylightTime>\n <t:Bias>-60</t:Bias>\n
15
+ \ <t:Time>03:00:00</t:Time>\n <t:DayOrder>5</t:DayOrder>\n
16
+ \ <t:Month>3</t:Month>\n <t:DayOfWeek>Sunday</t:DayOfWeek>\n
17
+ \ </t:DaylightTime>\n </t:TimeZone>\n <m:MailboxDataArray>\n
18
+ \ <t:MailboxData>\n <t:Email>\n <t:Address>test.test@test.com</t:Address>\n
19
+ \ </t:Email>\n <t:AttendeeType>Required</t:AttendeeType>\n
20
+ \ <t:ExcludeConflicts>false</t:ExcludeConflicts>\n </t:MailboxData>\n
21
+ \ </m:MailboxDataArray>\n <t:FreeBusyViewOptions>\n <t:TimeWindow>\n
22
+ \ <t:StartTime>2012-10-11T00:00:01</t:StartTime>\n <t:EndTime>2012-10-11T23:59:59</t:EndTime>\n
23
+ \ </t:TimeWindow>\n <t:MergedFreeBusyIntervalInMinutes>60</t:MergedFreeBusyIntervalInMinutes>\n
24
+ \ <t:RequestedView>DetailedMerged</t:RequestedView>\n </t:FreeBusyViewOptions>\n
25
+ \ </m:GetUserAvailabilityRequest>\n </soap:Body>\n</soap:Envelope>\n"
26
+ headers:
27
+ Soapaction:
28
+ - http://schemas.microsoft.com/exchange/services/2006/messages/GetUserAvailability
29
+ Content-Type:
30
+ - text/xml; charset=utf-8
31
+ Authorization:
32
+ - Basic ZWJlaWdhcnRzQGViZWlnYXJ0cy5vbm1pY3Jvc29mdC5jb206S3k1a2ltUDZTNmlIQQ==
33
+ response:
34
+ status:
35
+ code: 200
36
+ message: OK
37
+ headers:
38
+ Cache-Control:
39
+ - private
40
+ Transfer-Encoding:
41
+ - chunked
42
+ Content-Type:
43
+ - text/xml; charset=utf-8
44
+ Server:
45
+ - Microsoft-IIS/7.5
46
+ Requestid:
47
+ - c417b162-dd2f-43dd-9b10-32cd9c8427dd
48
+ Set-Cookie:
49
+ - exchangecookie=0c71423ce93a486d985774e35e87d6ac; expires=Fri, 11-Oct-2013
50
+ 19:44:53 GMT; path=/; HttpOnly
51
+ X-Aspnet-Version:
52
+ - 2.0.50727
53
+ X-Powered-By:
54
+ - ASP.NET
55
+ X-Diaginfo:
56
+ - AMSPRD0710CA004
57
+ Date:
58
+ - Thu, 11 Oct 2012 19:44:53 GMT
59
+ body:
60
+ encoding: US-ASCII
61
+ string: ! '<?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
62
+ MajorVersion="14" MinorVersion="16" MajorBuildNumber="207" MinorBuildNumber="9"
63
+ xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"
64
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/></s:Header><s:Body
65
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><GetUserAvailabilityResponse
66
+ xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"><FreeBusyResponseArray><FreeBusyResponse><ResponseMessage
67
+ ResponseClass="Error"><MessageText>Microsoft.Exchange.InfoWorker.Common.Availability.MailRecipientNotFoundException:
68
+ Unable to resolve e-mail address &lt;&gt;SMTP:test.test@test.com to an Active
69
+ Directory object.&#xD;
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>'
76
+ http_version:
77
+ recorded_at: Thu, 11 Oct 2012 19:44:53 GMT
78
+ recorded_with: VCR 2.2.5