Notification Unsubscribe Message¶
Notification Unsubscribe Message - Get¶
HTTP Request
GET /api/v1/notification/unsubscribe/{id}
📋 Description: Unsubscribes a user from notifications associated with the specified ID, ensuring that they no longer receive updates related to that notification.
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 }
26}
Notification Unsubscribe Message - Update¶
HTTP Request
PUT /api/v1/notification/unsubscribe/{id}
📋 Description: Unsubscribes a user from notifications associated with the specified ID, ensuring that they no longer receive updates related to that notification. This operation is essential for managing user preferences and enhancing the overall user experience.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
body |
body |
true |
Request body containing the user ID and reason for unsubscribing from notifications, ensuring proper management of user preferences. |
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}
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 }
26}
Notification Unsubscribe Message - Create Or Update Bulk¶
HTTP Request
PUT /api/v1/notification/unsubscribe/createOrUpdate/bulk
📋 Description: Updates or creates multiple unsubscribe notifications in bulk, allowing businesses to efficiently manage user preferences for notifications. This operation streamlines the process of maintaining accurate communication preferences across large user segments.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing a list of notification preferences for bulk unsubscribe operations, including user identifiers and subscription details. |
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 }
14]
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 }
27 ]
28}
Notification Unsubscribe Message - Create Or Update¶
HTTP Request
PUT /api/v1/notification/unsubscribe/createOrUpdate
📋 Description: Creates or updates a user’s subscription status for notifications, allowing for effective management of communication preferences within the application.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing the notification subscription details, including user identifiers and subscription preferences, for creating or updating unsubscribe records. |
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}
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 }
26}
Notification Unsubscribe Message - Bulk Update¶
HTTP Request
PUT /api/v1/notification/unsubscribe/bulk
📋 Description: Updates the subscription status for multiple notifications in bulk, allowing users to efficiently manage their notification preferences and reduce unwanted communications.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing an array of notification identifiers for bulk unsubscription from specified notifications. |
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 }
14]
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 }
27 ]
28}
Notification Unsubscribe Message - Search¶
HTTP Request
POST /api/v1/notification/unsubscribe/search
📋 Description: Unsubscribes a user from notifications based on specified search criteria, ensuring that they no longer receive updates that are no longer relevant to their interests.
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 user identification details and notification preferences for processing the unsubscribe action. |
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 }
31 ],
32 "number": 0,
33 "sort": {
34 "unsorted": true,
35 "sorted": true,
36 "empty": true
37 },
38 "first": true,
39 "last": true,
40 "empty": true
41}
Notification Unsubscribe Message - Find All¶
HTTP Request
GET /api/v1/notification/unsubscribe
📋 Description: Unsubscribes a user from receiving notifications, allowing for better management of communication preferences and enhancing user experience.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
pageable |
query |
true |
Indicates whether the response should be paginated, allowing users to manage the volume of notifications returned in the unsubscribe process. |
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 }
31 ],
32 "number": 0,
33 "sort": {
34 "unsorted": true,
35 "sorted": true,
36 "empty": true
37 },
38 "first": true,
39 "last": true,
40 "empty": true
41}
Notification Unsubscribe Message - Unsubscribe¶
HTTP Request
POST /api/v1/notification/unsubscribe
📋 Description: Unsubscribes a user from receiving notifications, ensuring they no longer receive updates related to their preferences. This operation is essential for managing user engagement and maintaining communication preferences.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing the user identification and notification preferences to process the unsubscription from notifications. |
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 }
14]
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 |