ResponseWrapperTermsConditionDto
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
Data Transfer Object for Terms and Conditions information
Unique identifier of the terms and conditions
12345Type of terms and conditions
Possible values: [GENERAL_TERMS, DIGITAL_BANKING_TERMS, PRIVACY_POLICY, CARD_TERMS, LOAN_AGREEMENT, MOBILE_APP_TERMS]
GENERAL_TERMSTitle of the terms and conditions document
General Banking Terms - 2023HTML content of the terms and conditions
<div><h1>Terms and Conditions</h1><p>These terms govern...</p></div>Language of the terms (ISO 639-1 code)
frBank code associated with these terms
BANK001Customer segment type associated with these terms and conditions
Possible values: [P_SegmentClientContrat, E_SegmentClientContrat]
E_SegmentClientContratLast update timestamp (ISO 8601 format)
2023-12-15T14:30:00Zerror 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": {
"id": 12345,
"type": "GENERAL_TERMS",
"title": "General Banking Terms - 2023",
"content": "<div><h1>Terms and Conditions</h1><p>These terms govern...</p></div>",
"language": "fr",
"bankCode": "BANK001",
"segmentType": "E_SegmentClientContrat",
"updateOn": "2023-12-15T14:30:00Z"
},
"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"
}