ResponseWrapperNotificationTemplateListDto
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.
Unique identifier for the notification template
42Unique code identifier for the notification template
ACCOUNT_CREATIONTitle template with placeholders for variables
Welcome to _BANK_NAME_ - Your account has been createdMessage body template with placeholders for variables
Dear _CUSTOMER_NAME_,
Your _ACCOUNT_TYPE_ account has been successfully created with account number _ACCOUNT_NUMBER_. You can now access your account through our mobile app or website.
Thank you for choosing _BANK_NAME_.Communication channel for this notification template
Possible values: [SMS, EMAIL, PUSH, VOCAL, EMAIL, SMS, PUSH, VOCAL]
EMAILThe status of the notification template. Possible values: ACTIVE, INACTIVE
Possible values: [ACTIVE, INACTIVE, ACTIVE, INACTIVE]
ACTIVELanguage code for the template (ISO 639-1)
enComma-separated list of required variables for this template
_BANK_NAME_,_CUSTOMER_NAME_,_ACCOUNT_TYPE_,_ACCOUNT_NUMBER_Bank code associated with this template
ADR001Username of the user who created this template
john.doeUsername of the user who last updated this template
jane.smithTimestamp when the template was created
Timestamp when the template was last updated
The 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": [
{
"id": 42,
"code": "ACCOUNT_CREATION",
"titleTemplate": "Welcome to _BANK_NAME_ - Your account has been created",
"messageTemplate": "Dear _CUSTOMER_NAME_,\n\nYour _ACCOUNT_TYPE_ account has been successfully created with account number _ACCOUNT_NUMBER_. You can now access your account through our mobile app or website.\n\nThank you for choosing _BANK_NAME_.",
"channel": "EMAIL",
"status": "ACTIVE",
"language": "en",
"requiredVariables": "_BANK_NAME_,_CUSTOMER_NAME_,_ACCOUNT_TYPE_,_ACCOUNT_NUMBER_",
"bankCode": "ADR001",
"createdBy": "john.doe",
"updatedBy": "jane.smith",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z"
}
],
"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"
}