Download OpenAPI specification:Download
REST API for notifications in the platform
Internal Notifications API that manages notifications for logged user in the platform. Note that this API does not manage nor trigger external notifications. For external notifications, please refer to the External Notification Management API.
| unread | boolean Default: false Show only unread notifications |
| itemsPerPage | integer <int32> <= 1000 Default: 10 Number of entries per page |
| pageNumber | integer <int32> Default: 1 Page number for the request |
{- "itemsPerPage": 0,
- "pageNumber": 0,
- "totalPages": 0,
- "totalItems": 0,
- "items": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "message": "string",
- "detail": "string",
- "readAt": "2019-08-24T14:15:22Z",
- "sentAt": "2019-08-24T14:15:22Z",
- "targetObjectType": "NONE",
- "targetObjectIdentification": [
- "string"
]
}
]
}Notifications UUIDs
[- "c2f685d4-6a3e-11ec-90d6-0242ac120003",
- "b9b09548-a97c-4c6a-a06a-e4ee6fc2da98"
]{- "message": "Error message"
}Notifications UUIDs
[- "c2f685d4-6a3e-11ec-90d6-0242ac120003",
- "b9b09548-a97c-4c6a-a06a-e4ee6fc2da98"
]{- "message": "Error message"
}External Notification Management API for managing notification instances that can be used to notify recipient(s) about events that were triggered in the platform. Note that this API does not handle internal notifications. For internal notifications, please refer to the Internal Notification API
| uuid required | string Notification instance UUID |
{- "uuid": "7b55ge1c-844f-11dc-a8a3-0242ac120002",
- "name": "Name",
- "description": "string",
- "connectorUuid": "string",
- "connectorName": "string",
- "kind": "string",
- "attributes": [
- {
- "content": [
- {
- "reference": "string",
- "data": true
}
], - "uuid": "b11c9be1-b619-4ef5-be1b-a1cd9ef265b7",
- "name": "Attribute",
- "label": "Attribute Name",
- "type": "data",
- "contentType": "string",
- "version": "v2"
}
], - "attributeMappings": [
- {
- "mappingAttributeUuid": "string",
- "mappingAttributeName": "string",
- "customAttributeUuid": "string",
- "customAttributeLabel": "string"
}
]
}| uuid required | string Notification instance UUID |
| description | string Notification instance description |
required | Array of objects (RequestAttribute) List of Notification instance Attributes |
Array of objects (AttributeMappingDto) List of attribute mappings between mapping attributes and (recipient) custom attributes |
{- "description": "string",
- "attributes": [
- {
- "uuid": "b11c9be1-b619-4ef5-be1b-a1cd9ef265b7",
- "name": "Attribute",
- "contentType": "string",
- "content": [
- {
- "reference": "string",
- "data": true,
- "contentType": "string"
}
], - "version": "v2"
}
], - "attributeMappings": [
- {
- "mappingAttributeUuid": "string",
- "mappingAttributeName": "string",
- "customAttributeUuid": "string",
- "customAttributeLabel": "string"
}
]
}{- "uuid": "7b55ge1c-844f-11dc-a8a3-0242ac120002",
- "name": "Name",
- "description": "string",
- "connectorUuid": "string",
- "connectorName": "string",
- "kind": "string",
- "attributes": [
- {
- "content": [
- {
- "reference": "string",
- "data": true
}
], - "uuid": "b11c9be1-b619-4ef5-be1b-a1cd9ef265b7",
- "name": "Attribute",
- "label": "Attribute Name",
- "type": "data",
- "contentType": "string",
- "version": "v2"
}
], - "attributeMappings": [
- {
- "mappingAttributeUuid": "string",
- "mappingAttributeName": "string",
- "customAttributeUuid": "string",
- "customAttributeLabel": "string"
}
]
}[- {
- "uuid": "7b55ge1c-844f-11dc-a8a3-0242ac120002",
- "name": "Name",
- "description": "string",
- "connectorUuid": "string",
- "connectorName": "string",
- "kind": "string",
- "attributes": [
- {
- "content": [
- {
- "reference": "string",
- "data": true
}
], - "uuid": "b11c9be1-b619-4ef5-be1b-a1cd9ef265b7",
- "name": "Attribute",
- "label": "Attribute Name",
- "type": "data",
- "contentType": "string",
- "version": "v2"
}
], - "attributeMappings": [
- {
- "mappingAttributeUuid": "string",
- "mappingAttributeName": "string",
- "customAttributeUuid": "string",
- "customAttributeLabel": "string"
}
]
}
]| description | string Notification instance description |
required | Array of objects (RequestAttribute) List of Notification instance Attributes |
Array of objects (AttributeMappingDto) List of attribute mappings between mapping attributes and (recipient) custom attributes | |
| name required | string Notification instance name |
| connectorUuid required | string UUID of Notification provider |
| kind required | string Notification instance Kind |
{- "description": "string",
- "attributes": [
- {
- "uuid": "b11c9be1-b619-4ef5-be1b-a1cd9ef265b7",
- "name": "Attribute",
- "contentType": "string",
- "content": [
- {
- "reference": "string",
- "data": true,
- "contentType": "string"
}
], - "version": "v2"
}
], - "attributeMappings": [
- {
- "mappingAttributeUuid": "string",
- "mappingAttributeName": "string",
- "customAttributeUuid": "string",
- "customAttributeLabel": "string"
}
], - "name": "string",
- "connectorUuid": "string",
- "kind": "string"
}{- "uuid": "string"
}| connectorUuid required | string Connector UUID |
| kind required | string Kind |
[- {
- "uuid": "b11c9be1-b619-4ef5-be1b-a1cd9ef265b7",
- "name": "Attribute",
- "description": "string",
- "version": 0,
- "type": "data",
- "content": [
- {
- "reference": "string",
- "data": true
}
], - "contentType": "string",
- "properties": {
- "label": "Attribute Name",
- "visible": true,
- "group": "requiredAttributes",
- "required": false,
- "readOnly": false,
- "list": false,
- "multiSelect": false,
- "protectionLevel": "none",
- "resource": "certificates",
- "extensibleList": false
}, - "constraints": [
- {
- "type": "regExp",
- "errorMessage": "string",
- "description": "string",
- "data": "string"
}
], - "attributeCallback": {
- "callbackContext": "string",
- "callbackMethod": "string",
- "mappings": [
- {
- "from": "string",
- "attributeType": "data",
- "attributeContentType": "string",
- "to": "string",
- "targets": [
- "pathVariable"
], - "value": null
}
]
}
}
]| uuid required | string Notification profile UUID |
| version required | integer <int32> Select specific version of the notification profile |
{- "uuid": "string",
- "name": "NotificationProfile1",
- "description": "Detail description of the notification profile",
- "version": 1,
- "recipientType": "none",
- "recipients": [
- {
- "uuid": "7b55ge1c-844f-11dc-a8a3-0242ac120002",
- "name": "Name"
}
], - "notificationInstance": {
- "uuid": "7b55ge1c-844f-11dc-a8a3-0242ac120002",
- "name": "Name"
}, - "internalNotification": true,
- "frequency": "P1DT12H",
- "repetitions": 0
}| uuid required | string Notification profile UUID |
| description | string Description of the Notification profile |
| recipientType required | string (RecipientType) Enum: "none" "default" "user" "group" "role" "owner" Recipient type of notifications produced by profile |
| recipientUuids | Array of strings <uuid> [ items <uuid > ] Recipient UUIDs of notifications produced by profile |
| notificationInstanceUuid | string <uuid> Notification instance UUID |
| internalNotification required | boolean Is notification profile sending internal notifications |
| frequency | string <duration> Frequency of repeated notification |
| repetitions | integer <int32> Maximum number of repetitions of same notification |
{- "description": "Detail description of the notification profile",
- "recipientType": "none",
- "recipientUuids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "notificationInstanceUuid": "250850b8-eed4-41a2-9559-3e2c4e8a5661",
- "internalNotification": true,
- "frequency": "P1DT12H",
- "repetitions": 0
}{- "uuid": "string",
- "name": "NotificationProfile1",
- "description": "Detail description of the notification profile",
- "version": 1,
- "recipientType": "none",
- "recipients": [
- {
- "uuid": "7b55ge1c-844f-11dc-a8a3-0242ac120002",
- "name": "Name"
}
], - "notificationInstance": {
- "uuid": "7b55ge1c-844f-11dc-a8a3-0242ac120002",
- "name": "Name"
}, - "internalNotification": true,
- "frequency": "P1DT12H",
- "repetitions": 0
}| itemsPerPage | integer <int32> <= 1000 Default: 10 Number of entries per page |
| pageNumber | integer <int32> Default: 1 Page number for the request |
{- "itemsPerPage": 0,
- "pageNumber": 0,
- "totalPages": 0,
- "totalItems": 0,
- "notificationProfiles": [
- {
- "uuid": "string",
- "name": "NotificationProfile1",
- "description": "Detail description of the notification profile",
- "version": 1,
- "recipientType": "none",
- "recipientUuids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "notificationInstanceUuid": "250850b8-eed4-41a2-9559-3e2c4e8a5661",
- "internalNotification": true
}
]
}| description | string Description of the Notification profile |
| recipientType required | string (RecipientType) Enum: "none" "default" "user" "group" "role" "owner" Recipient type of notifications produced by profile |
| recipientUuids | Array of strings <uuid> [ items <uuid > ] Recipient UUIDs of notifications produced by profile |
| notificationInstanceUuid | string <uuid> Notification instance UUID |
| internalNotification required | boolean Is notification profile sending internal notifications |
| frequency | string <duration> Frequency of repeated notification |
| repetitions | integer <int32> Maximum number of repetitions of same notification |
| name required | string non-empty Name of the Notification profile |
{- "description": "Detail description of the notification profile",
- "recipientType": "none",
- "recipientUuids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "notificationInstanceUuid": "250850b8-eed4-41a2-9559-3e2c4e8a5661",
- "internalNotification": true,
- "frequency": "P1DT12H",
- "repetitions": 0,
- "name": "NotificationProfile1"
}{- "uuid": "string",
- "name": "NotificationProfile1",
- "description": "Detail description of the notification profile",
- "version": 1,
- "recipientType": "none",
- "recipients": [
- {
- "uuid": "7b55ge1c-844f-11dc-a8a3-0242ac120002",
- "name": "Name"
}
], - "notificationInstance": {
- "uuid": "7b55ge1c-844f-11dc-a8a3-0242ac120002",
- "name": "Name"
}, - "internalNotification": true,
- "frequency": "P1DT12H",
- "repetitions": 0
}