37 lines
893 B
Java
37 lines
893 B
Java
<#include "HfRpConfig.ftl">
|
|
<#include "ReflexUtils.ftl">
|
|
[
|
|
|
|
{
|
|
"Header": {
|
|
"ProjectID": "${projectRP}"
|
|
},
|
|
"ID": {
|
|
"RefID": "${despatched_ipg.hd_number}"
|
|
},
|
|
|
|
"Payload": {
|
|
|
|
"IncludedHandlingunitIDs": [ <#list includeHU as hu> "${hu}"<#sep>,</#sep></#list>]
|
|
<#if preparation_line.despatched_hds_list?? >
|
|
,
|
|
"Information": {
|
|
"ContainerType": "${preparation_line.despatched_hds_list[0].hd_type_code}",
|
|
"Length": {
|
|
"Unit": "${length_unit_rfx}",
|
|
"Value": ${preparation_line.despatched_hds_list[0].hd_type_depth}
|
|
},
|
|
"Weight": {
|
|
"Unit": "${weight_unit_rfx}",
|
|
"Value": ${preparation_line.despatched_hds_list[0].hd_gross_weight}
|
|
},
|
|
"Width": {
|
|
"Unit": "${length_unit_rfx}",
|
|
"Value": ${preparation_line.despatched_hds_list[0].hd_type_width}
|
|
}
|
|
}
|
|
</#if>
|
|
|
|
}
|
|
}
|
|
] |