GET api.ashx/v2/activitystoryuserpreferences.{json|xml}
LIST activity story user preferences.
Scopes
Activity Stories › Read User Preferences activitystories.userpreferences.readonly
Example Requests
Widget Javascript
jQuery.telligent.evolution.get({
url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/activitystoryuserpreferences.json'
}).then(function(response) {
// use response
});Example Responses
JSON
{
"Preferences": [
{
"UserId": 6,
"ActivityStoryTypeInfo": {
"Url": "url",
"ActivityStoryTypeId": "49fec544-6df7-4a82-872b-f8be586d5e9e",
"Name": "name",
"Description": "description"
},
"IsLoggingEnabled": true
},
{
"UserId": 25,
"ActivityStoryTypeInfo": {
"Url": "url",
"ActivityStoryTypeId": "9f5a6721-639d-4e1d-ab6a-ce63b7750f46",
"Name": "name",
"Description": "description"
},
"IsLoggingEnabled": true
}
],
"Info": [
"string",
"string"
],
"Warnings": [
"string",
"string"
],
"Errors": [
"string",
"string"
]
}XML
<?xml version="1.0" encoding="utf-16"?>
<Response>
<Info>
<Message>string</Message>
<Message>string</Message>
</Info>
<Warnings>
<Message>string</Message>
<Message>string</Message>
</Warnings>
<Errors>
<Message>string</Message>
<Message>string</Message>
</Errors>
<Preferences>
<RestActivityStoryUserPreference>
<UserId>6</UserId>
<ActivityStoryTypeInfo>
<Url>url</Url>
<ActivityStoryTypeId>49fec544-6df7-4a82-872b-f8be586d5e9e</ActivityStoryTypeId>
<Name>name</Name>
<Description>description</Description>
</ActivityStoryTypeInfo>
<IsLoggingEnabled>true</IsLoggingEnabled>
</RestActivityStoryUserPreference>
<RestActivityStoryUserPreference>
<UserId>25</UserId>
<ActivityStoryTypeInfo>
<Url>url</Url>
<ActivityStoryTypeId>9f5a6721-639d-4e1d-ab6a-ce63b7750f46</ActivityStoryTypeId>
<Name>name</Name>
<Description>description</Description>
</ActivityStoryTypeInfo>
<IsLoggingEnabled>true</IsLoggingEnabled>
</RestActivityStoryUserPreference>
</Preferences>
</Response>