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



Popular Articles

What is Kutamo?
Kilimanjaro 2023
Kilimanjaro 2015
Kilimanjaro 2013
Australian Postcodes
New Zealand Postcodes
Worldwide City Database

Recent Articles

Favourite Links

Kutamo Studios
ErrLog.IO
Kutamo
AfterTheCloud
Kilimanjar 2023