diff --git a/RFXtoRP_RestResponseAppointmentAllocationError.ftl b/RFXtoRP_RestResponseAppointmentAllocationError.ftl index adb7b86..6ea19a0 100644 --- a/RFXtoRP_RestResponseAppointmentAllocationError.ftl +++ b/RFXtoRP_RestResponseAppointmentAllocationError.ftl @@ -15,7 +15,7 @@ }, "Payload": { - "ActorID": + "ActorID":"${RFXtoRPprefixDepot(id.actorID)?trim?json_string}" } } diff --git a/RPtoRFX_CarrierAppointmentPhysicalReceiptAssociationByNumber.ftl b/RPtoRFX_CarrierAppointmentPhysicalReceiptAssociationByNumber.ftl index fd9e237..7fa69f7 100644 --- a/RPtoRFX_CarrierAppointmentPhysicalReceiptAssociationByNumber.ftl +++ b/RPtoRFX_CarrierAppointmentPhysicalReceiptAssociationByNumber.ftl @@ -1,5 +1,5 @@ { - "id" : {"refid" : "${eventRP.refid?json_string}"}, + "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": { diff --git a/RPtoRFX_CarrierAppointmentPhysicalReceiptAssociationByRef.ftl b/RPtoRFX_CarrierAppointmentPhysicalReceiptAssociationByRef.ftl index 223b1cb..924f854 100644 --- a/RPtoRFX_CarrierAppointmentPhysicalReceiptAssociationByRef.ftl +++ b/RPtoRFX_CarrierAppointmentPhysicalReceiptAssociationByRef.ftl @@ -1,5 +1,5 @@ { - "id" : {"refid" : "${eventRP.refid?json_string}"}, + "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_associations", "method" : "POST", "uri_substitutions": {