Notification Subscribe Message¶
Notification Subscribe Message - Get¶
HTTP Request
GET /api/v1/notification/subscribe/{id}
📋 Description: Subscribes a user to notifications for a specific resource identified by the provided ID, enabling timely updates and engagement with relevant information.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {
15 "id": 0,
16 "targetId": "string",
17 "targetType": "string",
18 "topicApplication": "NFS",
19 "topicName": "string",
20 "topicPriority": "HIGH",
21 "topicEnCaption": "string",
22 "topicFrCaption": "string",
23 "username": "string",
24 "action": "SUBSCRIBE",
25 "captionKey": "string",
26 "en_message": "string",
27 "fr_message": "string",
28 "url": "string",
29 "parameters": [
30 {
31 "name": "string",
32 "dataType": "NUMBER",
33 "value": "string"
34 }
35 ],
36 "onlyAfterNow": true,
37 "startTime": "2019-08-24T14:15:22Z",
38 "cronExpression": "string",
39 "endTime": "2019-08-24T14:15:22Z",
40 "content": "string"
41 }
42}
Notification Subscribe Message - Update¶
HTTP Request
PUT /api/v1/notification/subscribe/{id}
📋 Description: Updates the subscription status for a specific notification identified by the provided ID, enabling users to manage their notification preferences effectively.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
body |
body |
true |
Request body containing subscription details, including user preferences and notification settings, to manage the notification subscription for the specified identifier. |
Body Parameters
1{
2 "id": 0,
3 "targetId": "string",
4 "targetType": "string",
5 "topicApplication": "NFS",
6 "topicName": "string",
7 "topicPriority": "HIGH",
8 "topicEnCaption": "string",
9 "topicFrCaption": "string",
10 "username": "string",
11 "action": "SUBSCRIBE",
12 "captionKey": "string",
13 "en_message": "string",
14 "fr_message": "string",
15 "url": "string",
16 "parameters": [
17 {
18 "name": "string",
19 "dataType": "NUMBER",
20 "value": "string"
21 }
22 ],
23 "onlyAfterNow": true,
24 "startTime": "2019-08-24T14:15:22Z",
25 "cronExpression": "string",
26 "endTime": "2019-08-24T14:15:22Z",
27 "content": "string"
28}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {
15 "id": 0,
16 "targetId": "string",
17 "targetType": "string",
18 "topicApplication": "NFS",
19 "topicName": "string",
20 "topicPriority": "HIGH",
21 "topicEnCaption": "string",
22 "topicFrCaption": "string",
23 "username": "string",
24 "action": "SUBSCRIBE",
25 "captionKey": "string",
26 "en_message": "string",
27 "fr_message": "string",
28 "url": "string",
29 "parameters": [
30 {
31 "name": "string",
32 "dataType": "NUMBER",
33 "value": "string"
34 }
35 ],
36 "onlyAfterNow": true,
37 "startTime": "2019-08-24T14:15:22Z",
38 "cronExpression": "string",
39 "endTime": "2019-08-24T14:15:22Z",
40 "content": "string"
41 }
42}
Notification Subscribe Message - Create Or Update Bulk¶
HTTP Request
PUT /api/v1/notification/subscribe/createOrUpdate/bulk
📋 Description: Creates or updates multiple notification subscriptions in bulk, enabling efficient management of user preferences and enhancing communication strategies.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing a list of subscription details for bulk creation or updates of notifications, including recipient information and notification preferences. |
Body Parameters
1[
2 {
3 "id": 0,
4 "targetId": "string",
5 "targetType": "string",
6 "topicApplication": "NFS",
7 "topicName": "string",
8 "topicPriority": "HIGH",
9 "topicEnCaption": "string",
10 "topicFrCaption": "string",
11 "username": "string",
12 "action": "SUBSCRIBE",
13 "captionKey": "string",
14 "en_message": "string",
15 "fr_message": "string",
16 "url": "string",
17 "parameters": [
18 {
19 "name": "string",
20 "dataType": "NUMBER",
21 "value": "string"
22 }
23 ],
24 "onlyAfterNow": true,
25 "startTime": "2019-08-24T14:15:22Z",
26 "cronExpression": "string",
27 "endTime": "2019-08-24T14:15:22Z",
28 "content": "string"
29 }
30]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": [
15 {
16 "id": 0,
17 "targetId": "string",
18 "targetType": "string",
19 "topicApplication": "NFS",
20 "topicName": "string",
21 "topicPriority": "HIGH",
22 "topicEnCaption": "string",
23 "topicFrCaption": "string",
24 "username": "string",
25 "action": "SUBSCRIBE",
26 "captionKey": "string",
27 "en_message": "string",
28 "fr_message": "string",
29 "url": "string",
30 "parameters": [
31 {
32 "name": "string",
33 "dataType": "NUMBER",
34 "value": "string"
35 }
36 ],
37 "onlyAfterNow": true,
38 "startTime": "2019-08-24T14:15:22Z",
39 "cronExpression": "string",
40 "endTime": "2019-08-24T14:15:22Z",
41 "content": "string"
42 }
43 ]
44}
Notification Subscribe Message - Create Or Update¶
HTTP Request
PUT /api/v1/notification/subscribe/createOrUpdate
📋 Description: Creates or updates a subscription for notifications, ensuring users receive timely updates relevant to their preferences and business needs.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing subscription details, including user preferences and notification settings, for creating or updating a notification subscription. |
Body Parameters
1{
2 "id": 0,
3 "targetId": "string",
4 "targetType": "string",
5 "topicApplication": "NFS",
6 "topicName": "string",
7 "topicPriority": "HIGH",
8 "topicEnCaption": "string",
9 "topicFrCaption": "string",
10 "username": "string",
11 "action": "SUBSCRIBE",
12 "captionKey": "string",
13 "en_message": "string",
14 "fr_message": "string",
15 "url": "string",
16 "parameters": [
17 {
18 "name": "string",
19 "dataType": "NUMBER",
20 "value": "string"
21 }
22 ],
23 "onlyAfterNow": true,
24 "startTime": "2019-08-24T14:15:22Z",
25 "cronExpression": "string",
26 "endTime": "2019-08-24T14:15:22Z",
27 "content": "string"
28}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {
15 "id": 0,
16 "targetId": "string",
17 "targetType": "string",
18 "topicApplication": "NFS",
19 "topicName": "string",
20 "topicPriority": "HIGH",
21 "topicEnCaption": "string",
22 "topicFrCaption": "string",
23 "username": "string",
24 "action": "SUBSCRIBE",
25 "captionKey": "string",
26 "en_message": "string",
27 "fr_message": "string",
28 "url": "string",
29 "parameters": [
30 {
31 "name": "string",
32 "dataType": "NUMBER",
33 "value": "string"
34 }
35 ],
36 "onlyAfterNow": true,
37 "startTime": "2019-08-24T14:15:22Z",
38 "cronExpression": "string",
39 "endTime": "2019-08-24T14:15:22Z",
40 "content": "string"
41 }
42}
Notification Subscribe Message - Bulk Update¶
HTTP Request
PUT /api/v1/notification/subscribe/bulk
📋 Description: Updates the subscription status for multiple notifications in bulk, allowing businesses to efficiently manage user preferences and enhance communication strategies.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing an array of subscription details for multiple notifications, including user identifiers and notification preferences. |
Body Parameters
1[
2 {
3 "id": 0,
4 "targetId": "string",
5 "targetType": "string",
6 "topicApplication": "NFS",
7 "topicName": "string",
8 "topicPriority": "HIGH",
9 "topicEnCaption": "string",
10 "topicFrCaption": "string",
11 "username": "string",
12 "action": "SUBSCRIBE",
13 "captionKey": "string",
14 "en_message": "string",
15 "fr_message": "string",
16 "url": "string",
17 "parameters": [
18 {
19 "name": "string",
20 "dataType": "NUMBER",
21 "value": "string"
22 }
23 ],
24 "onlyAfterNow": true,
25 "startTime": "2019-08-24T14:15:22Z",
26 "cronExpression": "string",
27 "endTime": "2019-08-24T14:15:22Z",
28 "content": "string"
29 }
30]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": [
15 {
16 "id": 0,
17 "targetId": "string",
18 "targetType": "string",
19 "topicApplication": "NFS",
20 "topicName": "string",
21 "topicPriority": "HIGH",
22 "topicEnCaption": "string",
23 "topicFrCaption": "string",
24 "username": "string",
25 "action": "SUBSCRIBE",
26 "captionKey": "string",
27 "en_message": "string",
28 "fr_message": "string",
29 "url": "string",
30 "parameters": [
31 {
32 "name": "string",
33 "dataType": "NUMBER",
34 "value": "string"
35 }
36 ],
37 "onlyAfterNow": true,
38 "startTime": "2019-08-24T14:15:22Z",
39 "cronExpression": "string",
40 "endTime": "2019-08-24T14:15:22Z",
41 "content": "string"
42 }
43 ]
44}
Notification Subscribe Message - Search¶
HTTP Request
POST /api/v1/notification/subscribe/search
📋 Description: Subscribes a user to notifications based on specified search criteria, enabling timely updates relevant to their interests and preferences.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
page |
query |
integer |
false |
Zero-based page index (0..N) |
size |
query |
integer |
false |
The size of the page to be returned |
sort |
query |
array[string] |
false |
Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. |
body |
body |
false |
Request body containing the subscription criteria and user preferences for notification alerts. |
Default Values¶
Parameter |
Default |
Type |
|---|---|---|
page |
|
query |
size |
|
query |
sort |
|
query |
Parameter Constraints¶
Parameter |
Constraints |
|---|---|
page |
Min: 0 |
size |
Min: 1 |
Body Parameters
1{
2 "idIn": [
3 0
4 ],
5 "idEqual": 0,
6 "idLike": "string",
7 "createdAtGreaterThanOrEqual": "2019-08-24T14:15:22Z",
8 "createdAtLessThanOrEqual": "2019-08-24T14:15:22Z",
9 "createdByLike": "string",
10 "createdByEqual": "string",
11 "modifiedAtGreaterThanOrEqual": "2019-08-24T14:15:22Z",
12 "modifiedAtLessThanOrEqual": "2019-08-24T14:15:22Z",
13 "modifiedByLike": "string",
14 "modifiedByEqual": "string",
15 "targetIdEqual": "string",
16 "targetIdLike": "string",
17 "targetTypeEqual": "string",
18 "targetTypeLike": "string"
19}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "totalElements": 0,
3 "totalPages": 0,
4 "pageable": {
5 "paged": true,
6 "unpaged": true,
7 "pageNumber": 0,
8 "pageSize": 0,
9 "offset": 0,
10 "sort": {
11 "unsorted": true,
12 "sorted": true,
13 "empty": true
14 }
15 },
16 "numberOfElements": 0,
17 "size": 0,
18 "content": [
19 {
20 "id": 0,
21 "targetId": "string",
22 "targetType": "string",
23 "topicApplication": "NFS",
24 "topicName": "string",
25 "topicPriority": "HIGH",
26 "topicEnCaption": "string",
27 "topicFrCaption": "string",
28 "username": "string",
29 "action": "SUBSCRIBE",
30 "captionKey": "string",
31 "en_message": "string",
32 "fr_message": "string",
33 "url": "string",
34 "parameters": [
35 {
36 "name": "string",
37 "dataType": "NUMBER",
38 "value": "string"
39 }
40 ],
41 "onlyAfterNow": true,
42 "startTime": "2019-08-24T14:15:22Z",
43 "cronExpression": "string",
44 "endTime": "2019-08-24T14:15:22Z",
45 "content": "string"
46 }
47 ],
48 "number": 0,
49 "sort": {
50 "unsorted": true,
51 "sorted": true,
52 "empty": true
53 },
54 "first": true,
55 "last": true,
56 "empty": true
57}
Notification Subscribe Message - Find All¶
HTTP Request
GET /api/v1/notification/subscribe
📋 Description: Subscribes a user to notifications, enabling them to receive updates and alerts relevant to their interests and activities within the application.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
pageable |
query |
true |
Indicates whether the response should be paginated, allowing users to efficiently manage large sets of subscription notifications. |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "totalElements": 0,
3 "totalPages": 0,
4 "pageable": {
5 "paged": true,
6 "unpaged": true,
7 "pageNumber": 0,
8 "pageSize": 0,
9 "offset": 0,
10 "sort": {
11 "unsorted": true,
12 "sorted": true,
13 "empty": true
14 }
15 },
16 "numberOfElements": 0,
17 "size": 0,
18 "content": [
19 {
20 "id": 0,
21 "targetId": "string",
22 "targetType": "string",
23 "topicApplication": "NFS",
24 "topicName": "string",
25 "topicPriority": "HIGH",
26 "topicEnCaption": "string",
27 "topicFrCaption": "string",
28 "username": "string",
29 "action": "SUBSCRIBE",
30 "captionKey": "string",
31 "en_message": "string",
32 "fr_message": "string",
33 "url": "string",
34 "parameters": [
35 {
36 "name": "string",
37 "dataType": "NUMBER",
38 "value": "string"
39 }
40 ],
41 "onlyAfterNow": true,
42 "startTime": "2019-08-24T14:15:22Z",
43 "cronExpression": "string",
44 "endTime": "2019-08-24T14:15:22Z",
45 "content": "string"
46 }
47 ],
48 "number": 0,
49 "sort": {
50 "unsorted": true,
51 "sorted": true,
52 "empty": true
53 },
54 "first": true,
55 "last": true,
56 "empty": true
57}
Notification Subscribe Message - Subscribe¶
HTTP Request
POST /api/v1/notification/subscribe
📋 Description: Subscribes a user to notifications, enabling them to receive timely updates and alerts relevant to their interests or activities within the platform.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing the subscription details for notifications, including user preferences and contact information. |
Body Parameters
1[
2 {
3 "id": 0,
4 "targetId": "string",
5 "targetType": "string",
6 "topicApplication": "NFS",
7 "topicName": "string",
8 "topicPriority": "HIGH",
9 "topicEnCaption": "string",
10 "topicFrCaption": "string",
11 "username": "string",
12 "action": "SUBSCRIBE",
13 "captionKey": "string",
14 "en_message": "string",
15 "fr_message": "string",
16 "url": "string",
17 "parameters": [
18 {
19 "name": "string",
20 "dataType": "NUMBER",
21 "value": "string"
22 }
23 ],
24 "onlyAfterNow": true,
25 "startTime": "2019-08-24T14:15:22Z",
26 "cronExpression": "string",
27 "endTime": "2019-08-24T14:15:22Z",
28 "content": "string"
29 }
30]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 {
3 "id": 0,
4 "subscribeMessage": {
5 "id": 0,
6 "targetId": "string",
7 "targetType": "string",
8 "topicApplication": "NFS",
9 "topicName": "string",
10 "topicPriority": "HIGH",
11 "topicEnCaption": "string",
12 "topicFrCaption": "string",
13 "username": "string",
14 "action": "SUBSCRIBE",
15 "captionKey": "string",
16 "en_message": "string",
17 "fr_message": "string",
18 "url": "string",
19 "parameters": [
20 {
21 "name": "string",
22 "dataType": "NUMBER",
23 "value": "string"
24 }
25 ],
26 "onlyAfterNow": true,
27 "startTime": "2019-08-24T14:15:22Z",
28 "cronExpression": "string",
29 "endTime": "2019-08-24T14:15:22Z",
30 "content": "string"
31 },
32 "unsubscribeMessage": {
33 "id": 0,
34 "targetId": "string",
35 "targetType": "string",
36 "topicApplication": "NFS",
37 "topicName": "string",
38 "topicPriority": "HIGH",
39 "topicEnCaption": "string",
40 "topicFrCaption": "string",
41 "username": "string",
42 "action": "SUBSCRIBE"
43 },
44 "scheduledTime": "2019-08-24T14:15:22Z",
45 "user": {
46 "id": 0,
47 "accountId": 0,
48 "fullName": "string",
49 "firstName": "string",
50 "lastName": "string",
51 "username": "string",
52 "email": "string",
53 "accountName": "string",
54 "profile": "string"
55 },
56 "state": "ACTIVE",
57 "status": "UNREAD"
58 }
59]
Response Schema
Status Code 200
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
anonymous |
false |
none |
[Data transfer object representing a notification that conveys important updates or alerts to users, facilitating timely communication and enhancing user engagement within the application.] |
|
» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
» subscribeMessage |
false |
none |
Data transfer object representing a subscription request for notifications, enabling users to receive timely updates and alerts relevant to their interests or activities within the platform. |
|
»» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
»» targetId |
string |
true |
none |
Unique identifier for the target |
»» targetType |
string |
true |
none |
Type of the target |
»» topicApplication |
string |
true |
none |
Specifies the application topic for which notifications are being subscribed, enabling targeted communication within the system. |
»» topicName |
string |
true |
none |
Name of the topic |
»» topicPriority |
string |
true |
none |
Priority of the topic |
»» topicEnCaption |
string |
false |
none |
Descriptive caption of the topic in English, used to provide clarity and context for notifications related to subscription messages. |
»» topicFrCaption |
string |
false |
none |
Caption for the French version of the notification topic, used to enhance user engagement in multilingual communication. |
»» username |
string |
true |
none |
Unique identifier for the user subscribing to notifications, ensuring personalized communication and engagement within the platform. |
»» action |
string |
false |
none |
Specifies the type of action to be performed in the notification subscription process. |
»» captionKey |
string |
false |
none |
Key used to retrieve the localized caption for notifications, ensuring effective communication with users in their preferred language. |
»» en_message |
string |
false |
none |
Contains the English language message for the notification subscription, facilitating clear communication with users. |
»» fr_message |
string |
false |
none |
Contains the message content for subscription notifications, facilitating effective communication between the system and users. |
»» url |
string |
false |
none |
Specifies the endpoint URL to which notifications will be sent upon subscription. |
»» parameters |
false |
none |
An array of parameters that define the specific criteria for subscribing to notifications within the system. |
|
»»» name |
string |
false |
none |
Name of the resource |
»»» dataType |
string |
false |
none |
Type of the data |
»»» value |
string |
false |
none |
Represents the specific value associated with a notification parameter, used to customize alerts and communications within the system. |
»» onlyAfterNow |
boolean |
false |
none |
Indicates whether notifications should only be sent for events occurring after the current time, allowing users to manage their alert preferences effectively. |
»» startTime |
string(date-time) |
false |
none |
Time of the start |
»» cronExpression |
string |
false |
none |
Specifies the schedule for recurring notifications in a cron format, enabling precise timing for automated alerts. |
»» endTime |
string(date-time) |
false |
none |
Time of the end |
»» content |
string |
false |
none |
Contains the message content for the notification subscription, enabling effective communication with users. |
» unsubscribeMessage |
false |
none |
Data transfer object representing a user’s request to unsubscribe from notifications, facilitating the management of user preferences and enhancing engagement strategies. |
|
»» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
»» targetId |
string |
true |
none |
Unique identifier for the target |
»» targetType |
string |
true |
none |
Type of the target |
»» topicApplication |
string |
true |
none |
Specifies the application topic for which the user wishes to unsubscribe from notifications. |
»» topicName |
string |
true |
none |
Name of the topic |
»» topicPriority |
string |
true |
none |
Priority of the topic |
»» topicEnCaption |
string |
false |
none |
Descriptive label for the topic in English associated with the notification unsubscribe message, facilitating clear communication with users. |
»» topicFrCaption |
string |
false |
none |
Caption for the topic in French, used to provide localized content for notifications related to user subscriptions. |
»» username |
string |
true |
none |
Unique identifier for the user opting to unsubscribe from notifications, ensuring accurate processing of subscription preferences. |
»» action |
string |
false |
none |
Specifies the type of action to be taken in relation to the notification unsubscribe request. |
» scheduledTime |
string(date-time) |
false |
none |
Time of the scheduled |
» user |
false |
none |
Data transfer object representing a user profile, encapsulating essential attributes such as user identification, contact information, and role within the organization to facilitate user management and access control. |
|
»» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
»» accountId |
integer(int64) |
false |
none |
Unique identifier for the account |
»» fullName |
string |
false |
none |
Full name of the resource |
»» firstName |
string |
false |
none |
Name of the first |
»» lastName |
string |
false |
none |
Name of the last |
»» username |
string |
true |
none |
Represents the unique username associated with a user account, essential for authentication and user identification within the system. |
string |
false |
none |
Email address of the user, used for communication and account verification purposes within the system. |
|
»» accountName |
string |
false |
none |
Name of the account |
»» profile |
string |
false |
none |
Represents the user’s profile information, providing essential details for personalized interactions within the application. |
» state |
string |
false |
none |
Represents the current status of the notification, indicating its progress within the workflow. |
» status |
string |
false |
none |
Status of the resource |
Enumerated Values
Attribute |
Value |
|---|---|
action |
SUBSCRIBE, UNSUBSCRIBE |
dataType |
CURRENCY, DATE, DATE_TIME, NUMBER, TEXT |
state |
ACTIVE, DECOMMISSIONED |
status |
READ, UNREAD |
topicApplication |
AP, FOS, NFS, SPB, SSB |
topicPriority |
HIGH, LOW, MEDIUM |