ResponseWrapperEventDto
Generic API response wrapper for Event
Response status
Possible values: [SUCCESS, ERROR]
SUCCESSMessage describing the response
Request successfulCode message describing the response
SUC-001data objectnullable
Event Data Transfer Object
Unique identifier of the event
1Module code (TF for Trade Finance, SCF for Supply Chain Finance)
Possible values: <= 10 characters
TFHuman-readable module name
Possible values: <= 100 characters
Trade FinanceUnique event code within the module
Possible values: <= 50 characters
ISSHuman-readable event name
Possible values: <= 200 characters
IssuanceDetailed description of the event
Possible values: <= 500 characters
Event for initiating a new transactionTimestamp when the event was created
2025-01-15T09:36:22.500ZTimestamp when the event was last updated
2025-01-15T09:36:22.500Zerror objectnullable
Details of any error that occurred
Error code
ERR_GENERAL_0004Human-readable error message
The requested resource was not founddetails object[]
List of error details
Specific error code
ER4001What went wrong
Invalid inputField that caused the issue
productCodeSuggested actions to resolve the error
["Check the resource ID","Ensure the resource exists"]metaData object
Additional metadata about the error
Timestamp of when the response was generated
2025-01-15T09:36:22.500Z{
"status": "SUCCESS",
"message": "Request successful",
"codeMessage": "SUC-001",
"data": {
"id": 1,
"moduleCode": "TF",
"moduleName": "Trade Finance",
"eventCode": "ISS",
"eventName": "Issuance",
"description": "Event for initiating a new transaction",
"createdAt": "2025-01-15T09:36:22.500Z",
"updatedAt": "2025-01-15T09:36:22.500Z"
},
"error": {
"code": "ERR_GENERAL_0004",
"message": "The requested resource was not found",
"details": [
{
"code": "ER4001",
"message": "Invalid input",
"target": "productCode"
}
],
"suggestions": [
"Check the resource ID",
"Ensure the resource exists"
],
"metaData": {}
},
"timestamp": "2025-01-15T09:36:22.500Z"
}