reflex-wms-connector/RPtoRFX_CarrierAppointmentCanceledByRef.ftl
2025-12-12 15:30:21 +01:00

14 lines
428 B
Java

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