From 97f3c3fce21789d24ee310937fb5c165a54cafc4 Mon Sep 17 00:00:00 2001 From: "Stieber Daniel (CSC FI SPS MESLEO)" Date: Fri, 23 May 2025 20:36:18 +0200 Subject: [PATCH] Merged PR 17496: updated CancelNicaOrder service to adapt to an update in the NICAIntegrationS... updated CancelNicaOrder service to adapt to an update in the NICAIntegrationService --- LSL2/STPROC/NICA_ORDERS_SERVICES.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/LSL2/STPROC/NICA_ORDERS_SERVICES.txt b/LSL2/STPROC/NICA_ORDERS_SERVICES.txt index 4c292c4..74f8005 100644 --- a/LSL2/STPROC/NICA_ORDERS_SERVICES.txt +++ b/LSL2/STPROC/NICA_ORDERS_SERVICES.txt @@ -535,9 +535,9 @@ Service CancelOrder(OrderId) If HttpResponseJson NE '' then ObjResponseJson = '' If SRP_JSON(ObjResponseJson, 'Parse', HttpResponseJson) EQ '' then - IsComplete = SRP_JSON(ObjResponseJson, 'GetValue', 'pendingUpdate') - NicaOrderRec = SRP_JSON(ObjResponseJson, 'GetValue', 'state') - NicaOrderRec = SRP_JSON(ObjResponseJson, 'GetValue', 'isComplete') + IsComplete = SRP_JSON(ObjResponseJson, 'GetValue', 'isComplete') + NicaOrderRec = 'cancelled' + NicaOrderRec = IsComplete CloseDtm = Datetime() NicaOrderRec = CloseDtm If IsComplete EQ False$ then @@ -904,4 +904,3 @@ end service // Internal GoSubs //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -