Loading

DFS Notification Services API (latest)

Download OpenAPI specification:

Contains functionality for managing notification data.

For endpoints that support localization the language can be passed either as a query string parameter (using the name 'language') or in the 'accept-language' header.
If no language is passed to such endpoints then the default configured language will be used.

Common

Get enumerations from multiple tables

Retrieves a list of enumerations for multiple tables. The tables available are:

NotificationChannel, NotificationRecipientType, SeverityLevel

Authorizations:
Bearer
header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Request Body schema:

Request data.

enumerationTypes
Array of strings or null (EnumerationType)
Enum: "NotificationChannel" "NotificationRecipientType" "SeverityLevel"

Responses

Request samples

Content type
{
  • "enumerationTypes": [
    ]
}

Response samples

Content type
application/json
{
  • "enumerations": [
    ]
}

NotificationManagement

Delete notification type

Deletes a notification type by ID.

Authorizations:
Bearer
path Parameters
notificationTypeId
required
integer <int32>

The ID of the notification type to retrieve

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Responses

Response samples

Content type
application/json
{
  • "code": "BadRequest",
  • "subCode": "NA",
  • "message": "The request was not in the required format",
  • "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}

Modify notification type

Modifies an existing notification type.

Authorizations:
Bearer
path Parameters
notificationTypeId
required
integer <int32>

The ID of the notification type to modify

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Request Body schema:

The parameter DTO

updateProperties
Array of strings or null unique
name
string or null
severityLevelKey
string (SeverityLevelKey)
Enum: "Low" "Medium" "High"
notificationEventId
string or null
isActive
boolean
customAttributes
string or null

Responses

Request samples

Content type
{
  • "updateProperties": [
    ],
  • "name": "string",
  • "severityLevelKey": "Low",
  • "notificationEventId": "string",
  • "isActive": true,
  • "customAttributes": "string"
}

Response samples

Content type
application/json
{
  • "code": "BadRequest",
  • "subCode": "NA",
  • "message": "The request was not in the required format",
  • "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}

Remove notification type from ignore list

Removes a notification type and channel pair from ignore list.

Authorizations:
Bearer
path Parameters
personUId
required
string <uuid>

Person UId for who the notification type will be removed from the ignored list

notificationTypeId
required
integer <int32>

The ID of the notification type

notificationChannelKey
required
string (NotificationChannelKey)
Enum: "Realtime" "Email" "Message" "Sms" "Push"

The notification channel key

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Responses

Response samples

Content type
application/json
{
  • "code": "BadRequest",
  • "subCode": "NA",
  • "message": "The request was not in the required format",
  • "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}

Add notification type to ignore list

Adds a notification type and channel pair to ignore list.

Authorizations:
Bearer
path Parameters
personUId
required
string <uuid>

Person UId for who the notification type and channel pair will be added to the ignored list

notificationTypeId
required
integer <int32>

The ID of the notification type

notificationChannelKey
required
string (NotificationChannelKey)
Enum: "Realtime" "Email" "Message" "Sms" "Push"

The notification channel key

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Responses

Response samples

Content type
application/json
{
  • "code": "BadRequest",
  • "subCode": "NA",
  • "message": "The request was not in the required format",
  • "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}

Delete channel for notification type

Deletes a channel for a notification type

Authorizations:
Bearer
path Parameters
notificationTypeId
required
integer <int32>

The Notification Type Id

notificationChannelKey
required
string (NotificationChannelKey)
Enum: "Realtime" "Email" "Message" "Sms" "Push"

The notification channel key

recipientTypeKey
required
string (NotificationRecipientTypeKey)
Enum: "Initiator" "Contact" "Member" "ContactGroup" "Custom"

The recipient type key

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Responses

Response samples

Content type
application/json
{
  • "code": "BadRequest",
  • "subCode": "NA",
  • "message": "The request was not in the required format",
  • "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}

Get notification types

Gets all notification types.

Authorizations:
Bearer
header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Responses

Response samples

Content type
application/json
{
  • "notificationTypes": [
    ]
}

Create notification type

Creates a new notification type.

Authorizations:
Bearer
header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Request Body schema:

Properties of the notification type to create

name
string or null
severityLevelKey
string (SeverityLevelKey)
Enum: "Low" "Medium" "High"
notificationEventId
string or null
isActive
boolean
customAttributes
string or null

Responses

Request samples

Content type
{
  • "name": "string",
  • "severityLevelKey": "Low",
  • "notificationEventId": "string",
  • "isActive": true,
  • "customAttributes": "string"
}

Response samples

Content type
application/json
{
  • "id": 0
}

Get ignored notification types

Gets all ignored notification types.

Authorizations:
Bearer
path Parameters
personUId
required
string <uuid>
header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Responses

Response samples

Content type
application/json
{
  • "ignoredNotificationTypes": [
    ]
}

Update ignore list

Updates the entire notifications ignore list of the person.

Authorizations:
Bearer
path Parameters
personUId
required
string <uuid>

Person UId for who the notification ignore list will be updated

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Request Body schema:

The notification types and notification channels pairs to be updated

Array of objects or null (NotificationTypeNotificationChannel)

Responses

Request samples

Content type
{
  • "ignoredNotifications": [
    ]
}

Response samples

Content type
application/json
{
  • "code": "BadRequest",
  • "subCode": "NA",
  • "message": "The request was not in the required format",
  • "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}

Get channels for notification type

Gets all the channels configured for a notification type

Authorizations:
Bearer
path Parameters
notificationTypeId
required
integer <int32>

The Notification Type Id

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Responses

Response samples

Content type
application/json
{
  • "notificationTypeChannels": [
    ]
}

Create channel for notification type

Creates a new channel for a notification type

Authorizations:
Bearer
path Parameters
notificationTypeId
required
integer <int32>

The Notification Type Id

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Request Body schema:

The request object

notificationChannelKey
string (NotificationChannelKey)
Enum: "Realtime" "Email" "Message" "Sms" "Push"
renderTemplateMetadataKey
string or null
notificationRecipientTypeKey
string (NotificationRecipientTypeKey)
Enum: "Initiator" "Contact" "Member" "ContactGroup" "Custom"
isPersisted
boolean
isActive
boolean
appId
string or null

Responses

Request samples

Content type
{
  • "notificationChannelKey": "Realtime",
  • "renderTemplateMetadataKey": "string",
  • "notificationRecipientTypeKey": "Initiator",
  • "isPersisted": true,
  • "isActive": true,
  • "appId": "string"
}

Response samples

Content type
application/json
{
  • "code": "BadRequest",
  • "subCode": "NA",
  • "message": "The request was not in the required format",
  • "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}

Update channel for recipient of a notification type

Updates a channel for the recipient of a notification type

Authorizations:
Bearer
path Parameters
notificationTypeId
required
integer <int32>

The Notification Type Id

notificationChannelKey
required
string (NotificationChannelKey)
Enum: "Realtime" "Email" "Message" "Sms" "Push"

The notification channel key

recipientTypeKey
required
string (NotificationRecipientTypeKey)
Enum: "Initiator" "Contact" "Member" "ContactGroup" "Custom"

The recipient type key

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Request Body schema:

The request object

updateProperties
Array of strings or null unique
renderTemplateMetadataKey
string or null
isPersisted
boolean
isActive
boolean
appId
string or null

Responses

Request samples

Content type
{
  • "updateProperties": [
    ],
  • "renderTemplateMetadataKey": "string",
  • "isPersisted": true,
  • "isActive": true,
  • "appId": "string"
}

Response samples

Content type
application/json
{
  • "code": "BadRequest",
  • "subCode": "NA",
  • "message": "The request was not in the required format",
  • "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}

Return channels

Returns channels for a given set of parameters

Authorizations:
Bearer
header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Request Body schema:

The request object

notificationTypeIds
Array of integers or null <int32> [ items <int32 > ]
notificationChannelKeys
Array of strings or null (NotificationChannelKey)
Enum: "Realtime" "Email" "Message" "Sms" "Push"
notificationRecipientTypeKeys
Array of strings or null (NotificationRecipientTypeKey)
Enum: "Initiator" "Contact" "Member" "ContactGroup" "Custom"
renderTemplateMetadataKeys
Array of strings or null
appIds
Array of strings or null

Responses

Request samples

Content type
{
  • "notificationTypeIds": [
    ],
  • "notificationChannelKeys": [
    ],
  • "notificationRecipientTypeKeys": [
    ],
  • "renderTemplateMetadataKeys": [
    ],
  • "appIds": [
    ]
}

Response samples

Content type
application/json
{
  • "notificationTypeChannels": [
    ]
}

Enroll device for push notifications

Enrolls new device for push notifications.

Authorizations:
Bearer
path Parameters
personUId
required
string <uuid>

The person unique identifier

header Parameters
Accept-Language
string

The ISO 639-1 language to use for localizable data.

Request Body schema:

Request data.

deviceToken
string or null
pushToken
string or null
platform
string (DevicePlatform)
Enum: "iOS" "Android"

Responses

Request samples

Content type
{
  • "deviceToken": "string",
  • "pushToken": "string",
  • "platform": "iOS"
}

Response samples

Content type
application/json
{
  • "code": "BadRequest",
  • "subCode": "NA",
  • "message": "The request was not in the required format",
  • "correlationId": "30d3ebc0b5cb47b0889850bbdfe4aec6"
}