<#include "HfRpConfig.ftl"> [ <#assign UUID = UUID.randomUUID()> <#assign strJsonBody = JsonUtil.espaceQuoteInJsonString(restResponseBody)> { "Header": { "ProjectID": "${projectRP}" }, "ID": { "RefID": "${UUID}", "RefDate": { "DateTime": "${aDateTime?iso_utc}", "AuthorTimeZone": "${time_zone_rfx}" } }, "Payload": { <#assign severity = SeverityLevel.ERROR> "Severity": "${severity}", "Namespace": "ReflexIntegration", "DateTime": { "DateTime": "${aDateTime?iso_utc}", "AuthorTimeZone": "${time_zone_rfx}" }, "TechMessage": { "Code": "${restResponsetMsg.status!"no Code"}", "Label": ${strJsonBody} }, "UserMessage": { "Code": "${restResponsetMsg.status!"no Code"}", "Label": ${strJsonBody}, "Params": [] }, "DetailElements": [], "CorrelationID": "${id.correlationid!"no Correlationid"}", "ContextPayload": ${strJsonBody}, "Type": "RP_EXECUTIONFLOW_EVENT", "Task": "${id.apiRestReflexID!"no Task"}", "OriginalID": "${id.refid!"no OriginalID"?trim?json_string}", "StackTrace": "" } } ]