{ "id" : {"refid" : "${eventRP.refid?json_string}"}, "route" : "rest/public/v1/physical_depots/{physical_depot_code}/carrier_appointments/{appointment_reference}/physical_receipt_associations", "method" : "POST", "uri_substitutions": { "physical_depot_code": "${RPtoRFXprefixDepot(eventRP.actor)}", "appointment_reference":"${eventRP.refid?json_string}" }, "payload" : { <#if appointment.Commissions??> "physical_receipt_list": [ <#list appointment.Commissions as commission> { "receipt_activity": "${eventRP.executionflowCustomFields.activity_code?json_string}", "originator_code": "${eventRP.executionflowCustomFields.originator_code?json_string}", "physical_receipt_reference": "${eventRP.executionflowCustomFields.reference?json_string}", "receipt_year": "${eventRP.executionflowCustomFields.order_year?json_string}", "receipt_number": "${eventRP.executionflowCustomFields.order_number?json_string}" } <#sep>, ] } }