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 coffee

Developer Courses

Pluralsight - Hardcore Developer and IT Training
Skype Web SDK: Getting Started
Skype Web SDK: Audio & Video

Popular Articles

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

Favourite Links

Kilimanjaro Climbs
Kutamo Studios
Kutamo Meetings
Litzi
ErrLog.IO
Kutamo

Tags / Keywords

Lync, UCWA, IM, Instant Message, Office 365, Skype for Business, Lync API, Lync SDK