You've already forked reflex-wms-connector
RDV
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
|
||||
<#switch cloudEventMsg.action>
|
||||
<#case "C">
|
||||
<#case "U">
|
||||
<#-- *********************************************** Action = CREATE or UPDATE ******************** -->
|
||||
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />
|
||||
<#assign carrier_apt = JsonUtil.jsonToMap(dataRfx)>
|
||||
@@ -24,17 +25,16 @@
|
||||
"datas" :
|
||||
<#include "RFXtoRP_HsrCarrierApt_SiteForceBookAppointment.ftl">
|
||||
},
|
||||
{
|
||||
<#assign apiReflexPlatformID = ApiReflexPlatformID.AppointmentCarrierExpected>
|
||||
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
||||
"datas" :
|
||||
<#include "RFXtoRP_HsrCarrierApt_AppointmentCarrierExpected.ftl">
|
||||
}
|
||||
{
|
||||
<#assign apiReflexPlatformID = ApiReflexPlatformID.AppointmentCarrierExpected>
|
||||
"apiReflexPlatformID" : "${apiReflexPlatformID}",
|
||||
"datas" :
|
||||
<#include "RFXtoRP_HsrCarrierApt_AppointmentCarrierExpected.ftl">
|
||||
}
|
||||
]
|
||||
<#break>
|
||||
|
||||
<#case "U">
|
||||
<#-- *********************************************** Action = Update ******************** -->
|
||||
<#-- *********************************************** Action = Update ******************** -->
|
||||
<#assign dataRfx = JsonUtil.decodeBase64(cloudEventMsg.data) />
|
||||
<#assign carrier_apt = JsonUtil.jsonToMap(dataRfx)>
|
||||
[
|
||||
@@ -44,7 +44,7 @@
|
||||
"datas" :
|
||||
<#include "RFXtoRP_HsrCarrierApt_SiteForceUpdateAppointment.ftl">
|
||||
}
|
||||
]
|
||||
]
|
||||
<#break>
|
||||
|
||||
<#case "D">
|
||||
|
||||
Reference in New Issue
Block a user