The Acquia Journey connection defines the web
service end point and the constant query parameters. The request string can be
further modified within the adaptor configuration and any HTTP
request
payload can be specified.
To create a REST web service adaptor, complete the following steps:
HTTP GET
method. A JSON
response is expected.HTTP POST
method.HTTP PUT
method.HTTP PATCH
method.HTTP DELETE
method.POST
, PUT
, or PATCH
, set the
Request Body Source by selecting the value you want to send from the
Data pane and clicking its name, and then clicking the left arrow
icon.The Request String field enables you to refine the Full Final Request URL by appending a URL path or a query string specific to an adaptor. You can integrate dynamic data into the Request String with parameters that you can associate with your Data schema or Public variables.
To add a request string to your adaptor, complete the following steps:
%%
and the name of your parameter, and then %%
. For
example: %%ID%%
. Click Save Edits to add the parameters to the
Parameters section.Acquia Journey saves any parameter assignments you make as you complete them.
Several ways the request string can be modified are in the examples that follow:
/end/point
- Extends the URL to include the resource
/end/point
/%%resource%%
- Extends the URL to include a resource that will be
populated from a dynamic value?newparam=456
- Extends the URL to include a new query parameter with a
constant value include the question mark in the Request String?newparam=%%newParamVal%%
- Extends the URL to include a new query
parameter that will be populated from a dynamic value/end/point/%%endPoint%%?qp2=hello&qp3=%%qp3Val%%
- Extends the URL with
a combination of the previously described optionsWarning | Description |
---|---|
Invalid Adaptor Adaptor connection is not complete Missing data destination/output | The Output destination has not been set. |