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

 

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
Share with: 

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


Support this Site

Buy me a coffeeBuy me a coffee

Popular Articles

What is Kutamo?
Kilimanjaro 2020
Kilimanjaro 2015
Australian Postcodes
Exchange 2013 in 60 minutes

Recent Articles

Australian Post 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