Quantcast
Channel: Symantec Connect - Articles
Viewing all articles
Browse latest Browse all 1863

Using the REST Generator (Response Content) in Workflow 7.6

$
0
0

In this Article I will explain how to use the REST Generator (Response Content) within Workflow 7.6.

Other articles

New to me with build Symantec.Workflow.Setup.7.6.4383.504 the REST Generator has been updated to generate Response Content in a third manner - "Create From Sample".
7.6.4383.479 was the first build to have this
With Response Content there were two ways to create the Data Type you need to work with.
  • Create Manually
  • Create From Request
Create Manually was a lot of work but was handy when the Generator can't authenticate against the API or you used a method that wasn't possible.
 
The Create From Request is the easiest as it does it all for you.
 
There is a new one
  • Create From Sample
 
REST Generator - 2 Components - Response Content.png
 
Grab your JSON and paste it in, most APIs have this documented or you could run it through POSTMAN and grab the output
 
REST Generator - 2 Components - Response Content - Create from Sample.png
 
Hit Next
 
REST Generator - 2 Components - Response Content - Create from Sample - Data Type.png
 
There you have your DataType to work with.
 

This should also pull in the headers and map those, I've yet to test this out.


Viewing all articles
Browse latest Browse all 1863

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>