diff --git a/RFXtoRP_HsrCarrierApt_AppointmentMetadataUpdated.ftl b/RFXtoRP_HsrCarrierApt_AppointmentMetadataUpdated.ftl index 81fefce..8769708 100644 --- a/RFXtoRP_HsrCarrierApt_AppointmentMetadataUpdated.ftl +++ b/RFXtoRP_HsrCarrierApt_AppointmentMetadataUpdated.ftl @@ -1,38 +1,9 @@ -<#-- - [ - { - "Header": { - "ProjectID": "${projectRP}" - }, - "ID": { - <#if carrier_apt.appointment_reference?? && carrier_apt.appointment_reference!=""> - "RefID": "${carrier_apt.appointment_reference?json_string}", - <#else> - <#if carrier_apt.constant_appointment?? && carrier_apt.constant_appointment== "true"> - "RefID": "${carrier_apt.appointment_reference?json_string}${carrier_apt.physical_depot?json_string}${carrier_apt.year_number}${carrier_apt.appointment_number}", - <#else> - "RefID": "${carrier_apt.physical_depot?json_string}${carrier_apt.year_number}${carrier_apt.appointment_number}", - - - } - "Payload": { - "ActorID": "ActorID": "${RFXtoRPprefixDepot(carrier_apt.physical_depot?json_string)}", - <#--To configure--> -<#-- "MetaData": [ - { - "Key": "string", - "Value": { - "Bool": "true / false", - "Float": 3.1415, - "Int": 42, - "String": "Hello World !", - "Timestamp": { - "AuthorTimeZone": "Europe/Paris", - "DateTime": "2023-01-01T00:00:00Z" - } - } - ] - } -} -] + <#-- A décommenter si besoin de les utiliser--> + <#-- Uncomment if you need to use them--> + <#--{ + <#assign apiReflexPlatformID = ApiReflexPlatformID.AppointmentMetaDataUpdated> + "apiReflexPlatformID" : "${apiReflexPlatformID}", + "datas" : + <#include "RFXtoRP_HsrCarrierApt_AppointmentMetadataUpdatedToConfigure.ftl"> + }, --> \ No newline at end of file