GET api.ashx/v2/notificationdistributiontypes.{json|xml}
LIST notification distribution types.
Scopes
Notifications › Read Distribution Types notifications.distributiontypes.readonly
Example Requests
Widget Javascript
jQuery.telligent.evolution.get({ url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/notificationdistributiontypes.json' }).then(function(response) { // use response });
Example Responses
JSON
{ "NotificationDistributionTypes": [ { "Url": "url", "DistributionTypeId": "49fec544-6df7-4a82-872b-f8be586d5e9e", "Name": "name", "Description": "description" }, { "Url": "url", "DistributionTypeId": "9f5a6721-639d-4e1d-ab6a-ce63b7750f46", "Name": "name", "Description": "description" } ], "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> <NotificationDistributionTypes> <RestNotificationDistributionTypeInfo> <Url>url</Url> <DistributionTypeId>49fec544-6df7-4a82-872b-f8be586d5e9e</DistributionTypeId> <Name>name</Name> <Description>description</Description> </RestNotificationDistributionTypeInfo> <RestNotificationDistributionTypeInfo> <Url>url</Url> <DistributionTypeId>9f5a6721-639d-4e1d-ab6a-ce63b7750f46</DistributionTypeId> <Name>name</Name> <Description>description</Description> </RestNotificationDistributionTypeInfo> </NotificationDistributionTypes> </Response>