Send an IM with UCWA - Setting Presence - Online, Away, Busy

UCWA can be used to dynamically control the presence of an online Lync account.


Saturday, 31 January 2015

Share with: 
 

 

Setting Presence

This is achieved by a single POST to the interface.

POST /ucwa/oauth/v1/applications/12345678/me/presence

With the POST data being:

{"availability":"Online"}
Information: the "availability" value can contain any currently permitted presence state, including "Online", "Away", "Busy", etc.

HTML messages

By default, UCWA will send Instant Messages as plain text. You can, however, add HTML as a modality in order to send rich text messages via IM.

This is achieved by a single POST to the interface.

POST /ucwa/oauth/v1/applications/12345678/me/makeMeAvailable

With the POST data being:

{"SupportedModalities":["Messaging"],"supportedMessageFormats":["Plain","Html"]}

 

 

Tags

Lync, UCWA, IM, Instant Message, Office 365, Skype for Business, Lync API, Lync SDK
UCWA can be used to dynamically control the presence of an online Lync account.
 
 

Popular Articles

What is Kutamo?
Kilimanjaro 2015
Exploring Lync and IoT
Exchange 2013 in 60 minutes
Monitoring Lync with MRTG
Lync UCWA Tutorial - Introduction
Tutorial Parts 1 | 2 | 3 | 4 | 5

Recent Articles

Australian Postal Codes
Skype Web SDK
Using the Skype Web SDK from any language or framework
Building a Skype for Business Auto Responder using the Skype Web SDK
Exporting Lync or Skype for Business Contacts with the Skype Web SDK

Favourite Links

Kutamo Studios
ErrLog.IO
Kutamo
Telco Together Foundation
Cloud on Kilimanjaro