Agenda
Pattern Authenticate a user against UCWA Operations happen using the user’s identity Interact with the UCWA service endpoint Make HTTP requests and handle response Follow links in response if applicable Environment Browser and language independent No browser plugin required No ActiveX dependency Lync client does not need to be running
Lync Server Infrastructure SIP Layer Media Stack Microsoft.SpeechMicrosoft.Speech UCMA 4.0 Core API UCMA Server Speech API VoiceXMLVoiceXML Unified Communications Web API
Natively expose a Lync Server programming interface over HTTP Abstract away dealing with the SIP protocol Consistent programming interface for web and mobile clients
Authenticating UCWA Requests Autodiscover Attempt to locate Autodiscover service Requested is redirected to OAuth endpoint to get a token OAuth Token Provide user credentials Token is attached to every request header Token establishes the user’s identity
Getting a User’s Presence Request GET Me resource GET Presence resource Response Properties Availability Links Note resource Presence resource Photo resource
demo
Agenda
Create a “channel” for the new instant message conversation Send an invitation for an instant message conversation Get handle to the new instant message conversationWatch for new instant messages in the conversationHandle subsequent messages
demo
Agenda
thank you