ResponseWrapperProductEventMappingDto
Generic API response wrapper for Product-Event Mapping
Response status
Possible values: [SUCCESS, ERROR]
SUCCESSMessage describing the response
Request successfulCode message describing the response
SUC-001data objectnullable
Product-Event Mapping Data Transfer Object
Unique identifier of the product-event mapping
550e8400-e29b-41d4-a716-446655440000Reference to product_event_definitions.id (FK)
660e8400-e29b-41d4-a716-446655440001Identifier of the user who created the mapping
550e8400-e29b-41d4-a716-446655440000Module code (TF for Trade Finance, SCF for Supply Chain Finance)
Possible values: <= 10 characters
TFHuman-readable module name
Possible values: <= 100 characters
Trade FinanceProduct code (e.g., ILC, ELC)
Possible values: <= 50 characters
ILCHuman-readable product name
Possible values: <= 200 characters
Import Letter of CreditEvent code (e.g., ISS, AMD)
Possible values: <= 50 characters
ISSHuman-readable event name
Possible values: <= 200 characters
IssuanceList of target audiences for this mapping (Corporate, Bank, Agent)
Possible values: [Corporate, Bank, Agent]
["Corporate","Bank"]List of business applications (Adria TSCF Client, Adria Process Orchestrator, Adria TSCF Bank)
["Adria TSCF Client","Adria Process Orchestrator"]Timestamp when the mapping was created
2025-01-15T09:36:22.500ZTimestamp when the mapping 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": "550e8400-e29b-41d4-a716-446655440000",
"definitionId": "660e8400-e29b-41d4-a716-446655440001",
"userId": "550e8400-e29b-41d4-a716-446655440000",
"moduleCode": "TF",
"moduleName": "Trade Finance",
"productCode": "ILC",
"productName": "Import Letter of Credit",
"eventCode": "ISS",
"eventName": "Issuance",
"targetAudience": [
"Corporate",
"Bank"
],
"businessApplication": [
"Adria TSCF Client",
"Adria Process Orchestrator"
],
"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"
}