When we are executing the api we are getting result successfully but we are not able to parse it to get data and we are stuck here. Really need your advice on this.
We have in past successfully parsed API which return JSON Object.
Could you export your action and post it along with copying and pasting the output from the third party API. It is time consuming and error prone to retype everything from the images. Feel free to change the content of any of the sensitive strings to something generic like "blah" or "foo", just make sure not to change any of the formatting.
Unfortunately, this isn't something PureCloud can handle for you. The response must be JSON. As far as PureCloud is concerned, that output property is just a simple string. To use this service, you have two main options:
Alter the service to send an actual JSON object instead of a string so that it can be consumed by PureCloud.
Build a middleware service to pass the request through and alter the response to turn the string into actual JSON before it is returned to PureCloud.
One other (ugly) possibility that comes to mind is that you might be able to use the architect "split" capability to break apart the JSON string and find what you are looking for from the response.
Both of the options that Tim provided would be much more robust, but you might be able to at least proof of concept out your work with some string hacking.