RDV
This commit is contained in:
parent
94af964830
commit
9a252d63c7
@ -1,9 +1,38 @@
|
|||||||
<#-- A décommenter si besoin de les utiliser-->
|
<#--
|
||||||
<#-- Uncomment if you need to use them-->
|
[
|
||||||
<#--{
|
{
|
||||||
<#assign apiReflexPlatformID = ApiReflexPlatformID.AppointmentMetaDataUpdated>
|
"Header": {
|
||||||
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
"ProjectID": "${projectRP}"
|
||||||
"datas" :
|
},
|
||||||
<#include "RFXtoRP_HsrCarrierApt_AppointmentMetadataUpdatedToConfigure.ftl">
|
"ID": {
|
||||||
|
<#if carrier_apt.appointment_reference?? && carrier_apt.appointment_reference!="">
|
||||||
|
"RefID": "${carrier_apt.appointment_reference?json_string}",
|
||||||
|
<#else>
|
||||||
|
<#if carrier_apt.constant_appointment?? && carrier_apt.constant_appointment== "true">
|
||||||
|
"RefID": "${carrier_apt.appointment_reference?json_string}${carrier_apt.physical_depot?json_string}${carrier_apt.year_number}${carrier_apt.appointment_number}",
|
||||||
|
<#else>
|
||||||
|
"RefID": "${carrier_apt.physical_depot?json_string}${carrier_apt.year_number}${carrier_apt.appointment_number}",
|
||||||
|
</#if>
|
||||||
|
</#if>
|
||||||
}
|
}
|
||||||
|
"Payload": {
|
||||||
|
"ActorID": "ActorID": "${RFXtoRPprefixDepot(carrier_apt.physical_depot?json_string)}",
|
||||||
|
<#--To configure-->
|
||||||
|
<#-- "MetaData": [
|
||||||
|
{
|
||||||
|
"Key": "string",
|
||||||
|
"Value": {
|
||||||
|
"Bool": "true / false",
|
||||||
|
"Float": 3.1415,
|
||||||
|
"Int": 42,
|
||||||
|
"String": "Hello World !",
|
||||||
|
"Timestamp": {
|
||||||
|
"AuthorTimeZone": "Europe/Paris",
|
||||||
|
"DateTime": "2023-01-01T00:00:00Z"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
-->
|
-->
|
||||||
@ -0,0 +1,36 @@
|
|||||||
|
<#--
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"Header": {
|
||||||
|
"ProjectID": "${projectRP}"
|
||||||
|
},
|
||||||
|
"ID": {
|
||||||
|
<#if carrier_apt.appointment_reference?? && carrier_apt.appointment_reference!="">
|
||||||
|
"RefID": "${carrier_apt.appointment_reference?json_string}",
|
||||||
|
<#else>
|
||||||
|
<#if carrier_apt.constant_appointment?? && carrier_apt.constant_appointment== "true">
|
||||||
|
"RefID": "${carrier_apt.appointment_reference?json_string}${carrier_apt.physical_depot?json_string}${carrier_apt.year_number}${carrier_apt.appointment_number}",
|
||||||
|
<#else>
|
||||||
|
"RefID": "${carrier_apt.physical_depot?json_string}${carrier_apt.year_number}${carrier_apt.appointment_number}",
|
||||||
|
</#if>
|
||||||
|
</#if>
|
||||||
|
}
|
||||||
|
"Payload": {
|
||||||
|
"ActorID": "ActorID": "${RFXtoRPprefixDepot(carrier_apt.physical_depot?json_string)}",
|
||||||
|
"MetaData": [
|
||||||
|
{
|
||||||
|
"Key": "string",
|
||||||
|
"Value": {
|
||||||
|
"Bool": "true / false",
|
||||||
|
"Float": 3.1415,
|
||||||
|
"Int": 42,
|
||||||
|
"String": "Hello World !",
|
||||||
|
"Timestamp": {
|
||||||
|
"AuthorTimeZone": "Europe/Paris",
|
||||||
|
"DateTime": "2023-01-01T00:00:00Z"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
Loading…
x
Reference in New Issue
Block a user