{ "id" : {"refid" : "${eventRP.refid?json_string}","actorID":"${RPtoRFXprefixDepot(eventRP.actor)}"}, "route" : "rest/public/v1/physical_depots/{physical_depot_code}/carrier_appointments/{appointment_reference}/physical_receipt_dissociations", "method" : "POST", "uri_substitutions": { "physical_depot_code": "${RPtoRFXprefixDepot(eventRP.actor)}", "appointment_reference":"${eventRP.refid?json_string}" }, "payload" : { <#if appointment.Commissions??> <#if appointment.AppointmentType == "APPOINTMENT_TYPE_UNLOADING"> "physical_receipt_list": [ { "receipt_activity": "${commission.value.activity_code?json_string}", "originator_code": "${commission.value.originator_code?json_string}", "physical_receipt_reference": "${commission.value.reference?json_string}", "receipt_year": "${commission.value.order_year?json_string}", "receipt_number": "${commission.value.order_number?json_string}" } ] <#else> <#if appointment.AppointmentType == "APPOINTMENT_TYPE_LOADING"> "appointment_designation":"${appointment.Reason!""?json_string}" } }