You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

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):

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!