This commit is contained in:
Laurie MONTANT 2025-12-10 18:23:52 +01:00
parent e8551aa698
commit b0e231a38d
2 changed files with 28 additions and 0 deletions

View File

@ -47,6 +47,18 @@
} }
] ]
<#break> <#break>
<#-- *********************************************** Action = SlotUpdated ******************** -->
<#case "Canceled">
<#assign appointment = eventRP.data />
[
{
<#assign apiRestReflexID = ApiRestReflexID.appointment_put_update>
"apiRestReflexID" : "${apiRestReflexID}",
"datas" :
<#include "RPtoRFX_CarrierAppointmentCanceled.ftl">
}
]
<#break>
<#default> <#default>
<#stop > <#stop >
</#switch> </#switch>

View File

@ -0,0 +1,16 @@
{
"id" : {"refid" : "${eventRP.refid?json_string}"},
"route" : "rest/public/v1/physical_depots/{physical_depot_code}/carrier_appointments/{appointment_reference}",
"method" : "PUT",
"uri_substitutions": {
"physical_depot_code": "${RPtoRFXprefixDepot(eventRP.actor)}",
"appointment_reference":"${eventRP.refid?json_string}"
},
"payload" :
{
"status": {
"status_code": "999",
"cancellation_reason_code": "RFT",
}
}
}