Hi,
Need guidance on how to map response to the attributes after we make REST API action in NERM Workflow.
I am mapping the status code to one of the attribute and mapping other things and sending all of these details in an email notification.
I am getting status code as 200, rest everything is coming up as “-”
Not sure how to do the response mapping, I have tried everything that I can think of…
If your JSON has an “array” as shown in your example by the square brackets () then you need to use “positional referencing” which is ZERO based. Unlike many API based query tools, NERM just needs a number entered in without any quotes, brackets, etc.
If you export the workflow and look for “class_name”: “ApiConfigurationAttribute” you’ll have a corresponding “value_path” that looks like the following (extreme example from an integration with Experian)
“value_path”: “clientResponsePayload|decisionElements|0|otherData|json|fraudSolutions|response|products|preciseIDServer|kba|questionSet|0|questionSelect|questionChoice|2”
I agree with the UI being confusing and VERY cumbersome.
As a side note - If / when you have a lot of these to include that are similar you can put placeholder attributes in the configuration without the API path. Then export the workflow and manually copy/paste/edit the needed API mappings (ie I had to add ~50 once with 10+ levels).