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