39 lines
1.3 KiB
Java
39 lines
1.3 KiB
Java
[
|
|
{
|
|
"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":
|
|
{
|
|
"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}"
|
|
},
|
|
"Phones": ["${carrier.address.telephone}",
|
|
"${carrier.address.other_number}"
|
|
],
|
|
"Typology": "TYPOLOGY_CARRIER"
|
|
}
|
|
}
|
|
]
|