ResponseWrapperNotificationHistoryListDto
Status of the response
Possible values: [SUCCESS, ERROR]
ERROR/SUCCESSMessage describing the response
Request failed/Request successfulCode message describing the response
ERR-001/SUC-001data object
Represents paginated results.
content object[]
The list of items in the current page.
Bank code identifier
BNK001Unique request identifier
REQ-2024-001Event identifier
EVT-12345Notification code
NOTIF_001Notification title
Transaction completedNotification message content
Your transaction has been completed successfullyName of the attached file
invoice_12345.pdfNotification channel used
Possible values: [SMS, EMAIL, PUSH, VOCAL]
EMAILNotification language
enComma-separated list of recipient emails
user1@example.com,user2@example.comComma-separated list of recipient phone numbers
+212612345678,+212698765432Comma-separated list of recipient UUIDs
uuid1,uuid2,uuid3Creation date and time
2024-01-15T10:30:00ZThe total number of elements across all pages.
100The total number of pages available.
10The current page number (zero-based).
0The number of items per page.
10error object
Detailed information about the error response
Error code
ERR-142Error message
Resource not found / Internal server errordetails object[]
List of error details
Error code
ER4001Detailed error message
Invalid inputTarget of the error
usernameList of suggestions for resolving the error
["Check the resource ID","Ensure the resource exists"]metaData object
Additional metadata about the error, that could help in debugging
Additional metadata about the error, that could help in debugging
{"requestId":"3c5e4cebf39cbc5b","operationId":"66fd4d2ae6b6"}Timestamp of when the response was generated
{
"status": "ERROR/SUCCESS",
"message": "Request failed/Request successful",
"codeMessage": "ERR-001/SUC-001",
"data": {
"content": [
{
"bankCode": "BNK001",
"requestIdentifier": "REQ-2024-001",
"eventId": "EVT-12345",
"notificationCode": "NOTIF_001",
"title": "Transaction completed",
"message": "Your transaction has been completed successfully",
"attachmentName": "invoice_12345.pdf",
"channel": "EMAIL",
"language": "en",
"emails": "user1@example.com,user2@example.com",
"phoneNumbers": "+212612345678,+212698765432",
"uuids": "uuid1,uuid2,uuid3",
"createdOn": "2024-01-15T10:30:00Z"
}
],
"totalElements": 100,
"totalPages": 10,
"number": 0,
"size": 10
},
"error": {
"code": "ERR-142",
"message": "Resource not found / Internal server error",
"details": [
{
"code": "ER4001",
"message": "Invalid input",
"target": "username"
}
],
"suggestions": [
"Check the resource ID",
"Ensure the resource exists"
],
"metaData": {
"requestId": "3c5e4cebf39cbc5b",
"operationId": "66fd4d2ae6b6"
}
},
"timestamp": "2024-07-29T15:51:28.071Z"
}