The Set Presence task sets presence status on behalf of a user.
- This API is authorized if psconnector service attribute ‘force application authorization rule’ is disabled, or if the presentity has this calling app in its service profile. If authorization fails, a 403 response is returned.
This is an asynchronous task.
User has to be defined as a Presence Services user, and the input parameter should be the user's SMGR login name.
All mandatory fields should either be mapped using the Input Mapping window or entered in the Properties window for validation to succeed.
presentityUri (mandatory) – SMGR login name defined for the user.
presence state (mandatory) – presence status to be set to.
status – request status code. It can be one of the following: 200 - request was successful; 403 - not authorized; 404 - invalid user (either not defined in SMGR or not a presence user);500 - other error, please check logs.
reason – detailed reason in case get presence request had failed. This field is empty if request was successful.
Not applicable.
Presence Services must be configured and running.
Presence Services Connector must be configured and running.
Not applicable.
Set the presence state of a user after received a call.