You've already forked reflex-wms-connector
RDV
This commit is contained in:
17
RPtoRFX_CarrierAppointmentCanceledByNumber.ftl
Normal file
17
RPtoRFX_CarrierAppointmentCanceledByNumber.ftl
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"id" : {"refid" : "${eventRP.refid?json_string}"},
|
||||
"route" : "rest/public/v1/physical_depots/{physical_depot_code}/appointment_years/{appointment_year}/appointment_numbers/{appointment_number}/status",
|
||||
"method" : "PUT",
|
||||
"uri_substitutions": {
|
||||
"physical_depot_code": "${RPtoRFXprefixDepot(eventRP.actor)}",
|
||||
"appointment_year":"${eventRP.appointmentCustomFields.year?json_string}",
|
||||
"appointment_number":"${eventRP.appointmentCustomFields.number?json_string}"
|
||||
},
|
||||
"payload" :
|
||||
{
|
||||
"status": {
|
||||
"status_code": "999",
|
||||
"cancellation_reason_code": "ACS"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user