...
See JSONPath for tutorials examples on how to define your JSON path for your use case Include Page
Automatic response variables
Include Page | ||||
---|---|---|---|---|
|
By choosing "Auto populate response variables
" the child action will automatically parse the response JSON and add top-level variables to the variable scope.
Example JSON response from parent action:
Code Block | ||
---|---|---|
| ||
{
"gender": "male",
"name": {
"title": "mr",
"first": "sal",
"last": "van ballegooij"
},
"location": {
"street": "1978 predikherenstraat",
"city": "oldenzaal",
"state": "groningen",
"postcode": 32432,
"coordinates": {
"latitude": "46.8524",
"longitude": "-179.9888"
},
"timezone": {
"offset": "+5:00",
"description": "Ekaterinburg, Islamabad, Karachi, Tashkent"
}
}
} |
Will result in the following variables being available:
{{gender}} - The String "male" in this case
{{name}} - An object, use "." notation to drill down. Ie. {{
name.title}}
for "mr"
{{location}} - An object, use "." notation to drill down. Ie. {{
location.coordinates.latitude}} for "46.8524"
Issue object
You may access the issue object by using the {{issue}}
variable notation followed by the getter that you would like to retrieve.
...
...
Issue object
Include Page | ||||
---|---|---|---|---|
|
Using variables
Use the variable in an URL
...