GET api.ashx/v2/notificationcategories.{json|xml}
LIST notification categories.
Scopes
Notifications › Read Categories notifications.categories.readonly
Example Requests
Widget Javascript
jQuery.telligent.evolution.get({ url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/notificationcategories.json' }).then(function(response) { // use response });
Example Responses
JSON
{ "NotificationCategories": [ { "Id": "49fec544-6df7-4a82-872b-f8be586d5e9e", "Name": "name" }, { "Id": "9f5a6721-639d-4e1d-ab6a-ce63b7750f46", "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> <NotificationCategories> <RestNotificationCategory> <Id>49fec544-6df7-4a82-872b-f8be586d5e9e</Id> <Name>name</Name> </RestNotificationCategory> <RestNotificationCategory> <Id>9f5a6721-639d-4e1d-ab6a-ce63b7750f46</Id> <Name>name</Name> </RestNotificationCategory> </NotificationCategories> </Response>