ResponseWrapperProductDto
Generic API response wrapper for Product
Response status
Possible values: [SUCCESS, ERROR]
SUCCESSMessage describing the response
Request successfulCode message describing the response
SUC-001data objectnullable
Product Data Transfer Object
Unique identifier of the product
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 product code within the module
Possible values: <= 50 characters
ILCHuman-readable product name
Possible values: <= 200 characters
Import Letter of CreditDetailed description of the product
Possible values: <= 500 characters
Product for managing Import Letter of Credit transactionsTimestamp when the product was created
2025-01-15T09:36:22.500ZTimestamp when the product 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",
"productCode": "ILC",
"productName": "Import Letter of Credit",
"description": "Product for managing Import Letter of Credit transactions",
"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"
}