GET api.ashx/v2/notificationcategory/{id}.{json|xml}
GET a notification category.
Scopes
Notifications › Read Categories notifications.categories.readonly
Request Parameters
| Name | Type | Location | Description | Required | Default | Options |
|---|---|---|---|---|---|---|
| Id | Guid | Notification category id | Required |
Example Requests
Widget Javascript
jQuery.telligent.evolution.get({
url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/notificationcategory/{id}.json',
data: {
'id': '49fec544-6df7-4a82-872b-f8be586d5e9e'
}
}).then(function(response) {
// use response
});Example Responses
JSON
{
"NotificationCategory": {
"Id": "49fec544-6df7-4a82-872b-f8be586d5e9e",
"Name": "name"
},
"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>
<NotificationCategory>
<Id>49fec544-6df7-4a82-872b-f8be586d5e9e</Id>
<Name>name</Name>
</NotificationCategory>
</Response>