Open lorenc-tomasz opened 6 years ago
I also need FindPeople and GetPersona for a project I'm working on. We've been able to get by with the functionality that ews-javascript-api provides so far, but now we need to support lync 2013 and the contact/group management through the skype javascript SDK is severely lacking there. What are the chances these two operations could be added within the next 2 months? I need to figure out if we can continue using this library or if we have to start budgeting to implement our own against the EWS soap API.
I would also realy like to have this function in ews-javascript-api.
This is an example soap request.
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope 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">
<soap:Header>
<t:RequestServerVersion Version="Exchange2013" />
</soap:Header>
<soap:Body>
<m:FindPeople>
<m:PersonaShape>
<t:BaseShape>IdOnly</t:BaseShape>
<t:AdditionalProperties>
<t:FieldURI FieldURI="persona:DisplayName"/>
<t:FieldURI FieldURI="persona:Title"/>
<t:FieldURI FieldURI="persona:EmailAddress"/>
</t:AdditionalProperties>
</m:PersonaShape>
<m:IndexedPageItemView BasePoint="Beginning" MaxEntriesReturned="100" Offset="0"/>
<m:ParentFolderId>
<t:DistinguishedFolderId Id="directory"/>
</m:ParentFolderId>
<m:QueryString>SMTP</m:QueryString>
</m:FindPeople>
</soap:Body>
</soap:Envelope>
Add FindPeople operation.
Example implementation: https://github.com/OfficeDev/ews-managed-api/commit/45459165001657f3db7d92d094b960d3abec390f