This commit is contained in:
Laurie MONTANT 2025-11-18 11:06:35 +01:00
parent 9018609ca1
commit d03f3bb7a0
2 changed files with 20 additions and 20 deletions

View File

@ -14,6 +14,7 @@
<#switch cloudEventMsg.action>
<#case "C">
<#case "U">
<#-- *********************************************** Action = CREATE or UPDATE ******************** -->
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />
<#assign carrier_apt = JsonUtil.jsonToMap(dataRfx)>
@ -32,7 +33,6 @@
}
]
<#break>
<#case "U">
<#-- *********************************************** Action = Update ******************** -->
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />

View File

@ -3,7 +3,7 @@
"Header":{
"ProjectID": "${projectRP}"
},
"ActorID": "${RPtoRFXprefixDepot("DPF")}",
"ActorID": "${RFXtoRPprefixDepot(carrier_apt.physical_depot?json_string)}",
"AppointmentID": "${carrier_apt.appointment_reference?json_string}",
"TimeZone":"${time_zone_rfx}",
<#if carrier_apt.unloading_appointment == "true" && carrier_apt.load_appointment == "false">
@ -33,10 +33,10 @@
"Emails": ["francis.reat@hardis-group.com","laurie.montant@hardis-group.com"], <#-- à changer -->
"SegmentationSelections":[
{
"SegmentationID" : "secteur",<#-- à changer -->
"SegmentationValueID" : "n1-mh0plpq3-6n1x56plog4"<#-- à changer -->
}
{ "SegmentationID":"Securise",
"SegmentationValueID":"yes"},
{ "SegmentationID":"Secteur",
"SegmentationValueID":"frais"}
],
<#if carrier_apt.physical_receipt_list?? && (carrier_apt.physical_receipt_list?size == carrier_apt.physical_receipt_list?filter(l ->l??)?size)>
"Commissions": [