forked from jamesiarmes/php-ews
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
208 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Resources/recordings/garethp/ews/Test/APITest.testCreateFolders.json
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
Resources/recordings/garethp/ews/Test/APITest.testCreateItems.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
[{"statusCode":200,"headers":{"Cache-Control":["private"],"Transfer-Encoding":["chunked"],"Content-Type":["text\/xml; charset=utf-8"],"Server":["Microsoft-IIS\/7.5"],"Set-Cookie":["exchangecookie=1850318a77474c8580feff01763ef7c3; expires=Tue, 02-May-2017 08:55:55 GMT; path=\/; HttpOnly"],"X-AspNet-Version":["2.0.50727"],"Persistent-Auth":["true"],"X-Powered-By":["ASP.NET"],"Date":["Mon, 02 May 2016 08:55:54 GMT"]},"body":"<?xml version=\"1.0\" encoding=\"utf-8\"?><s:Envelope xmlns:s=\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\"><s:Header><h:ServerVersionInfo MajorVersion=\"14\" MinorVersion=\"3\" MajorBuildNumber=\"195\" MinorBuildNumber=\"1\" Version=\"Exchange2010_SP2\" xmlns:h=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\" xmlns=\"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\"\/><\/s:Header><s:Body xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\"><m:CreateItemResponse xmlns:m=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/messages\" xmlns:t=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\"><m:ResponseMessages><m:CreateItemResponseMessage ResponseClass=\"Success\"><m:ResponseCode>NoError<\/m:ResponseCode><m:Items><t:CalendarItem><t:ItemId Id=\"AAMkADhiZjhlMDZjLTc0MDItNDI5OS05NzIwLTYzZTY0NmFmYjcxMwBGAAAAAACovCg73uKqSJEOjHRwMiGeBwD5KryzNn7ZS4Mgr\/QC8cL2AAAAAAENAAD5KryzNn7ZS4Mgr\/QC8cL2AACQB4VxAAA=\" ChangeKey=\"DwAAABYAAAD5KryzNn7ZS4Mgr\/QC8cL2AACQDAug\"\/><\/t:CalendarItem><\/m:Items><\/m:CreateItemResponseMessage><\/m:ResponseMessages><\/m:CreateItemResponse><\/s:Body><\/s:Envelope>"},{"statusCode":200,"headers":{"Cache-Control":["private"],"Transfer-Encoding":["chunked"],"Content-Type":["text\/xml; charset=utf-8"],"Server":["Microsoft-IIS\/7.5"],"Set-Cookie":["exchangecookie=1957d25ce48c4459b2d5beed5f871068; expires=Tue, 02-May-2017 08:55:55 GMT; path=\/; HttpOnly"],"X-AspNet-Version":["2.0.50727"],"X-Powered-By":["ASP.NET"],"Date":["Mon, 02 May 2016 08:55:54 GMT"]},"body":"<?xml version=\"1.0\" encoding=\"utf-8\"?><s:Envelope xmlns:s=\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\"><s:Header><h:ServerVersionInfo MajorVersion=\"14\" MinorVersion=\"3\" MajorBuildNumber=\"195\" MinorBuildNumber=\"1\" Version=\"Exchange2010_SP2\" xmlns:h=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\" xmlns=\"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\"\/><\/s:Header><s:Body xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\"><m:DeleteItemResponse xmlns:m=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/messages\" xmlns:t=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\"><m:ResponseMessages><m:DeleteItemResponseMessage ResponseClass=\"Success\"><m:ResponseCode>NoError<\/m:ResponseCode><\/m:DeleteItemResponseMessage><\/m:ResponseMessages><\/m:DeleteItemResponse><\/s:Body><\/s:Envelope>"}] | ||
[{"statusCode":200,"headers":{"Cache-Control":["private"],"Transfer-Encoding":["chunked"],"Content-Type":["text\/xml; charset=utf-8"],"Server":["Microsoft-IIS\/8.0"],"request-id":["e356b9e0-4f4f-484e-b420-9dbedd88e458"],"X-CalculatedBETarget":["HE1PR0401MB1884.eurprd04.prod.outlook.com"],"X-BackEndHttpStatus":["200"],"Set-Cookie":["exchangecookie=5542f7203e694607bec33ff79b7d35ad; expires=Sat, 06-May-2017 10:15:06 GMT; path=\/; HttpOnly"],"x-EwsHandler":["CreateItem"],"X-AspNet-Version":["4.0.30319"],"X-DiagInfo":["HE1PR0401MB1884"],"X-BEServer":["HE1PR0401MB1884"],"X-Powered-By":["ASP.NET"],"X-FEServer":["AM2PR07CA0023"],"Date":["Fri, 06 May 2016 10:15:07 GMT"]},"body":"<?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=\"485\" MinorBuildNumber=\"14\" Version=\"V2016_01_06\" xmlns:h=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"\/><\/s:Header><s:Body><m:CreateItemResponse xmlns:m=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/messages\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns:t=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\"><m:ResponseMessages><m:CreateItemResponseMessage ResponseClass=\"Success\"><m:ResponseCode>NoError<\/m:ResponseCode><m:Items><t:CalendarItem><t:ItemId Id=\"AAMkAGRmOGJjZTc0LWQ0ZWUtNDliZC1hYjQ1LTkyODM1NjFhMGIzNwBGAAAAAAAdsEfFUCwSRaf4+E1agVdfBwA4JiVRwOF7SbQybW1zR3q0AAAAAAENAAA4JiVRwOF7SbQybW1zR3q0AAAqpsgVAAA=\" ChangeKey=\"DwAAABYAAAA4JiVRwOF7SbQybW1zR3q0AAAqql72\"\/><\/t:CalendarItem><\/m:Items><\/m:CreateItemResponseMessage><\/m:ResponseMessages><\/m:CreateItemResponse><\/s:Body><\/s:Envelope>"},{"statusCode":200,"headers":{"Cache-Control":["private"],"Transfer-Encoding":["chunked"],"Content-Type":["text\/xml; charset=utf-8"],"Server":["Microsoft-IIS\/8.0"],"request-id":["c12a25ec-0bf3-4b2a-8366-50378421701b"],"X-CalculatedBETarget":["HE1PR0401MB1884.eurprd04.prod.outlook.com"],"X-BackEndHttpStatus":["200"],"Set-Cookie":["exchangecookie=51d834a1050c470aad0a958a27cb5637; expires=Sat, 06-May-2017 10:15:07 GMT; path=\/; HttpOnly"],"x-EwsHandler":["DeleteItem"],"X-AspNet-Version":["4.0.30319"],"X-DiagInfo":["HE1PR0401MB1884"],"X-BEServer":["HE1PR0401MB1884"],"X-Powered-By":["ASP.NET"],"X-FEServer":["AM2PR07CA0023"],"Date":["Fri, 06 May 2016 10:15:07 GMT"]},"body":"<?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=\"485\" MinorBuildNumber=\"14\" Version=\"V2016_01_06\" xmlns:h=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"\/><\/s:Header><s:Body><m:DeleteItemResponse xmlns:m=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/messages\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns:t=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\"><m:ResponseMessages><m:DeleteItemResponseMessage ResponseClass=\"Success\"><m:ResponseCode>NoError<\/m:ResponseCode><\/m:DeleteItemResponseMessage><\/m:ResponseMessages><\/m:DeleteItemResponse><\/s:Body><\/s:Envelope>"}] |
2 changes: 1 addition & 1 deletion
2
Resources/recordings/garethp/ews/Test/APITest.testDeleteFolder.json
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
Resources/recordings/garethp/ews/Test/APITest.testDeleteItems.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
[{"statusCode":200,"headers":{"Cache-Control":["private"],"Transfer-Encoding":["chunked"],"Content-Type":["text\/xml; charset=utf-8"],"Server":["Microsoft-IIS\/7.5"],"Set-Cookie":["exchangecookie=9c623e90333347068125b7a6ce2ce1cf; expires=Tue, 02-May-2017 08:55:55 GMT; path=\/; HttpOnly"],"X-AspNet-Version":["2.0.50727"],"Persistent-Auth":["true"],"X-Powered-By":["ASP.NET"],"Date":["Mon, 02 May 2016 08:55:54 GMT"]},"body":"<?xml version=\"1.0\" encoding=\"utf-8\"?><s:Envelope xmlns:s=\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\"><s:Header><h:ServerVersionInfo MajorVersion=\"14\" MinorVersion=\"3\" MajorBuildNumber=\"195\" MinorBuildNumber=\"1\" Version=\"Exchange2010_SP2\" xmlns:h=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\" xmlns=\"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\"\/><\/s:Header><s:Body xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\"><m:CreateItemResponse xmlns:m=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/messages\" xmlns:t=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\"><m:ResponseMessages><m:CreateItemResponseMessage ResponseClass=\"Success\"><m:ResponseCode>NoError<\/m:ResponseCode><m:Items><t:CalendarItem><t:ItemId Id=\"AAMkADhiZjhlMDZjLTc0MDItNDI5OS05NzIwLTYzZTY0NmFmYjcxMwBGAAAAAACovCg73uKqSJEOjHRwMiGeBwD5KryzNn7ZS4Mgr\/QC8cL2AAAAAAENAAD5KryzNn7ZS4Mgr\/QC8cL2AACQB4VyAAA=\" ChangeKey=\"DwAAABYAAAD5KryzNn7ZS4Mgr\/QC8cL2AACQDAui\"\/><\/t:CalendarItem><\/m:Items><\/m:CreateItemResponseMessage><\/m:ResponseMessages><\/m:CreateItemResponse><\/s:Body><\/s:Envelope>"},{"statusCode":200,"headers":{"Cache-Control":["private"],"Transfer-Encoding":["chunked"],"Content-Type":["text\/xml; charset=utf-8"],"Server":["Microsoft-IIS\/7.5"],"Set-Cookie":["exchangecookie=7723fffcfa604417a3258244d56c31a3; expires=Tue, 02-May-2017 08:55:55 GMT; path=\/; HttpOnly"],"X-AspNet-Version":["2.0.50727"],"X-Powered-By":["ASP.NET"],"Date":["Mon, 02 May 2016 08:55:55 GMT"]},"body":"<?xml version=\"1.0\" encoding=\"utf-8\"?><s:Envelope xmlns:s=\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\"><s:Header><h:ServerVersionInfo MajorVersion=\"14\" MinorVersion=\"3\" MajorBuildNumber=\"195\" MinorBuildNumber=\"1\" Version=\"Exchange2010_SP2\" xmlns:h=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\" xmlns=\"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\"\/><\/s:Header><s:Body xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\"><m:DeleteItemResponse xmlns:m=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/messages\" xmlns:t=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\"><m:ResponseMessages><m:DeleteItemResponseMessage ResponseClass=\"Success\"><m:ResponseCode>NoError<\/m:ResponseCode><\/m:DeleteItemResponseMessage><\/m:ResponseMessages><\/m:DeleteItemResponse><\/s:Body><\/s:Envelope>"}] | ||
[{"statusCode":200,"headers":{"Cache-Control":["private"],"Transfer-Encoding":["chunked"],"Content-Type":["text\/xml; charset=utf-8"],"Server":["Microsoft-IIS\/8.0"],"request-id":["2084a488-7072-409a-9cf3-1d3219fe1f7e"],"X-CalculatedBETarget":["HE1PR0401MB1884.eurprd04.prod.outlook.com"],"X-BackEndHttpStatus":["200"],"Set-Cookie":["exchangecookie=a92c186f41534fc6a7677ee87f29946a; expires=Sat, 06-May-2017 10:15:07 GMT; path=\/; HttpOnly"],"x-EwsHandler":["CreateItem"],"X-AspNet-Version":["4.0.30319"],"X-DiagInfo":["HE1PR0401MB1884"],"X-BEServer":["HE1PR0401MB1884"],"X-Powered-By":["ASP.NET"],"X-FEServer":["AM2PR07CA0007"],"Date":["Fri, 06 May 2016 10:15:07 GMT"]},"body":"<?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=\"485\" MinorBuildNumber=\"14\" Version=\"V2016_01_06\" xmlns:h=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"\/><\/s:Header><s:Body><m:CreateItemResponse xmlns:m=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/messages\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns:t=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\"><m:ResponseMessages><m:CreateItemResponseMessage ResponseClass=\"Success\"><m:ResponseCode>NoError<\/m:ResponseCode><m:Items><t:CalendarItem><t:ItemId Id=\"AAMkAGRmOGJjZTc0LWQ0ZWUtNDliZC1hYjQ1LTkyODM1NjFhMGIzNwBGAAAAAAAdsEfFUCwSRaf4+E1agVdfBwA4JiVRwOF7SbQybW1zR3q0AAAAAAENAAA4JiVRwOF7SbQybW1zR3q0AAAqpsgWAAA=\" ChangeKey=\"DwAAABYAAAA4JiVRwOF7SbQybW1zR3q0AAAqql74\"\/><\/t:CalendarItem><\/m:Items><\/m:CreateItemResponseMessage><\/m:ResponseMessages><\/m:CreateItemResponse><\/s:Body><\/s:Envelope>"},{"statusCode":200,"headers":{"Cache-Control":["private"],"Transfer-Encoding":["chunked"],"Content-Type":["text\/xml; charset=utf-8"],"Server":["Microsoft-IIS\/8.0"],"request-id":["6086aed9-9791-4390-9251-6c9022423d44"],"X-CalculatedBETarget":["HE1PR0401MB1884.eurprd04.prod.outlook.com"],"X-BackEndHttpStatus":["200"],"Set-Cookie":["exchangecookie=bd6c6cd0f8bb496b90b8b6f1afce958d; expires=Sat, 06-May-2017 10:15:07 GMT; path=\/; HttpOnly"],"x-EwsHandler":["DeleteItem"],"X-AspNet-Version":["4.0.30319"],"X-DiagInfo":["HE1PR0401MB1884"],"X-BEServer":["HE1PR0401MB1884"],"X-Powered-By":["ASP.NET"],"X-FEServer":["AM2PR07CA0007"],"Date":["Fri, 06 May 2016 10:15:08 GMT"]},"body":"<?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=\"485\" MinorBuildNumber=\"14\" Version=\"V2016_01_06\" xmlns:h=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"\/><\/s:Header><s:Body><m:DeleteItemResponse xmlns:m=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/messages\" xmlns:xsd=\"http:\/\/www.w3.org\/2001\/XMLSchema\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xmlns:t=\"http:\/\/schemas.microsoft.com\/exchange\/services\/2006\/types\"><m:ResponseMessages><m:DeleteItemResponseMessage ResponseClass=\"Success\"><m:ResponseCode>NoError<\/m:ResponseCode><\/m:DeleteItemResponseMessage><\/m:ResponseMessages><\/m:DeleteItemResponse><\/s:Body><\/s:Envelope>"}] |
Oops, something went wrong.