The RestApi plugin lets you reference an Api and return a string or JSON response.
Parameters are as follows, examples are shown in bold:
|source||The url up to but not including the resource
|api||The api resource required
|queryString||Optional querystring parameters
|headers||Optional JSON dictionary of header values
|form||For post method, a JSON dictionary of form values
|method||get (default) or post|
|root||Optional path to the root of the section required
|asString||true if a string value is expected or required (saved as column “Response”)|
If the object returned (and optionally located using the root) is an array, each element represents a row in the resulting data group.
If the data group is referenced as a base to any RestApiRelative data groups the full returned object (without filtering by root) is saved for use by the relatives. Note that only a top level (no parent) data group can be a relative base. #
This plugin lets you reference a RestApi data group and return data relative to it.
|base||The id of the RestApi data group containing the data from the API|
|root||Path to the root of the section requried, such as orderLines.product|
If the object referenced is an array, each element represents a row in the resulting data group.