POST (Header:DELETE) api.ashx/v2/presence/content.{json|xml}
Deletes a presence mapping for requesting user against 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
jQuery.telligent.evolution.del({ url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/presence/content.json' }).then(function(response) { // use response });
Example Responses
XML
<?xml version="1.0" encoding="utf-16"?> <Response> <ContentPresence /> <Errors> <Message>string</Message> <Message>string</Message> </Errors> </Response>