In this Article I will explain how to use the REST Generator (Response Content) within Workflow 7.6.
Other articles
- Workflow - REST Generator
- Using the REST Generator in Workflow 7.6
- Using the REST Generator (GET) in Workflow 7.6 with Mobility Suite
- Using the REST Generator (Headers) in Workflow 7.6 with Mobility Suite
- Using the REST Generator (POST) in Workflow 7.6 with Mobility Suite
- Using the REST Generator (Response Content) in Workflow 7.6
- Using the REST Generator (PATHs) in Workflow 7.6
- Workflow - Read Write JSON
- Workflow - REST - Response Header
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
Grab your JSON and paste it in, most APIs have this documented or you could run it through POSTMAN and grab the output
Hit Next
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.
Other articles
- Using the REST Generator in Workflow 7.6
- Using the REST Generator (GET) in Workflow 7.6 with Mobility Suite
- Using the REST Generator (Headers) in Workflow 7.6 with Mobility Suite
- Using the REST Generator (POST) in Workflow 7.6 with Mobility Suite
- Using the REST Generator (PATHs) in Workflow 7.6