POST api.ashx/v2/presence/service.{json|xml}
Creates a presence mapping for requesting user to a service
Request Parameters
| Name | Type | Location | Description | Required | Default | Options |
|---|---|---|---|---|---|---|
| ServerId | Guid | Request Body | The identifier of the service. | Optional | ||
| TypeId | Guid | Request Body | Presence Type Id | Optional |
Example Requests
Widget Javascript
jQuery.telligent.evolution.post({
url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/presence/service.json'
}).then(function(response) {
// use response
});Example Responses
XML
<?xml version="1.0" encoding="utf-16"?>
<Response>
<Presence />
<Errors>
<Message>string</Message>
<Message>string</Message>
</Errors>
</Response>