39 lines
984 B
Java
39 lines
984 B
Java
<#include "ReflexUtils.ftl">
|
|
<#include "HfRpConfig.ftl">
|
|
<#include "ActorPrefix.ftl">
|
|
[
|
|
<#list reflexStockPicturesInterface.detailled_stock_list as stock>
|
|
{
|
|
"Header": {
|
|
"ProjectID": "${projectRP}"
|
|
},
|
|
"ID": {
|
|
<#if uniqueness?? && uniqueness!="" >
|
|
"ActorID": "${stock.physical_depot_code}"
|
|
<#else>
|
|
"ActorID": "${depot}${stock.physical_depot_code}"
|
|
</#if>
|
|
},
|
|
"Payload": {
|
|
<#assign generation_date = RfxDateTimetoUTC(stock.generation_date,time_zone_offset_rfx) />
|
|
"Snapshot": {
|
|
"EndDateTime": {
|
|
"DateTime": "${generation_date}",
|
|
"AuthorTimeZone": "${time_zone_rfx}"
|
|
},
|
|
|
|
<#if uniqueness?? && uniqueness!="" >
|
|
"ID": "${stock.physical_depot_code}-${idSnapshot}",
|
|
<#else>
|
|
"ID": "${depot}${stock.physical_depot_code}-${idSnapshot}",
|
|
</#if>
|
|
"MessageNb": ${sum_elt}
|
|
}
|
|
|
|
}
|
|
}
|
|
<#break>
|
|
</#list>
|
|
]
|
|
|