[ { "Header": { "ProjectID": "${projectRP}" }, "ID": { "RefID": "${carrier.carrier_code}" }, "Payload": { "Name": "${carrier.carrier_designation}", "ManagedStock": false, "IsCarrier": true, <#-- ***Partner ID could be added here *** --> <#-- "PartnerID": "${}", --> <#-- <#include "RFXtoRP_HsaCarrier_ActorCreated_Metadata.ftl">, --> "Address": { <#-- if Reflex WMS address is structured --> <#if carrier.carrier_structured_address?? > "Name": "${carrier.carrier_structured_address.name_or_company}", "StreetAddressOne" : "${carrier.carrier_structured_address.street_and_PO}", "StreetAddressTwo" : "${carrier.carrier_structured_address.additionnal_data}", "PostalCode" : "${carrier.carrier_structured_address.postal_code}", "City" : "${carrier.carrier_structured_address.post_code_area_name}", "CountryCode" : "${carrier.carrier_structured_address.country_code}", "ProvinceCode": "${carrier.carrier_structured_address.territorial_div_code}", "State": "${carrier.carrier_structured_address.country_designation}" <#-- if Reflex WMS address is not structured --> <#else> "Name": "${carrier.address.company_name}", "StreetAddressOne" : "${carrier.address.address_1}", "StreetAddressTwo" : "${carrier.address.address_2}", "StreetAddressThree" : "${carrier.address.address_3}" }, "Phones": ["${carrier.address.telephone}", "${carrier.address.other_number}" ], "Typology": "TYPOLOGY_CARRIER" } } ]