POST api.ashx/v2/presence/content.{json|xml}
Creates a presence mapping for requesting user to a piece of content
Request Parameters
Name | Type | Location | Description | Required | Default | Options |
---|---|---|---|---|---|---|
ContentId | Guid | Request Body | Content Id. Either ContentId and ContentTypeId or ContentUrl is required | Optional | ||
ContentTypeId | Guid | Request Body | Content Type Id. Either ContentId and ContentTypeId or ContentUrl is required | Optional | ||
ContentUrl | Guid | Request Body | Content URL. Either ContentId and ContentTypeId or ContentUrl is required | Optional | ||
TypeId | Guid | Request Body | Presence Type Id | Optional |
Example Requests
Widget Javascript
Fullscreen
1
2
3
4
5
jQuery.telligent.evolution.post({
url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/presence/content.json'
}).then(function(response) {
// use response
});
Example Responses
XML
Fullscreen
1
2
3
4
5
6
7
8
<?xml version="1.0" encoding="utf-16"?>
<Response>
<Presence />
<Errors>
<Message>string</Message>
<Message>string</Message>
</Errors>
</Response>