How to pass Order key as a parameter from groovy code to update Order header EFF
Summary:
Hi ,
Im currently working on a requirement to update Order Header EFF from REST API patch call from groovy script from subscription Object
I have created a web service with URL as :
/fscmRestApi/resources/11.13.18.05/salesOrdersForOrderHub/##OrderKey##
method: PATCH
Code sample request : { "additionalInformation": [ { "Category": "DOO_HEADERS_ADD_INFO", "HeaderEffBsubscriptionmanagementprivateVO": [ { "ContextCode": "subscriptionmanagement", "groupingReferenceId": "GRP-123" } ] } ]}
Code sample response: {}
Since, subscription has sourcesystem and sourceorder which combined makes order key as "sourcesystem:sourceorder " how this can be used to pass as a parameter in Groovy script when patch called.
Kindly, provide a solution
Thanks,
Nishi
Content (please ensure you mask any confidential information):