{ "id" : {"refid" : "${eventRP.refid?json_string}","actorID":"${RPtoRFXprefixDepot(eventRP.actor)}"}, "route" : "rest/public/v1/physical_depots/{physical_depot_code}/appointment_years/{appointment_year}/appointment_numbers/{appointment_number}/physical_receipt_associations", "method" : "POST", "uri_substitutions": { "physical_depot_code": "${RPtoRFXprefixDepot(eventRP.actor)}", "appointment_year":"${eventRP.appointmentCustomFields.year?json_string}", "appointment_number":"${eventRP.appointmentCustomFields.number?json_string}" }, "payload" : { <#list eventRP.addedCommissions as addedCommission> <#list eventRP.executionflowCustomFields.entrySet()?filter(l ->l.value?? && l.value?has_content) as CustomFields> "physical_receipt_list": [ { "receipt_activity": "${CustomFields.value.activity_code?json_string}", "originator_code": "${CustomFields.value.originator_code?json_string}", "physical_receipt_reference": "${CustomFields.value.reference?json_string}", "receipt_year": "${CustomFields.value.order_year?json_string}", "receipt_number": "${CustomFields.value.order_number?json_string}" } ] } }