Mapping the data for a GET request for a Connect REST rule
Use the Request tab on the Methods tab of the Connect REST form to map the data for the GET request.
- In the Headers section, complete the following fields to map
data for HTTP header fields:The data type of a header field is
String
.- In the Name field, enter the external name of the header field.
- In the Description field, enter a short description of the header field.
- In the Map from field, specify the source or the type of
source for the value:
- Select Clipboard to map from the page name or property on the clipboard that is specified by the Map from key field.
- Select Constant to specify that the data is a fixed value that does not change.
- In the Map from key field, specify the key to locate the
property or rule in the source specified in the Map from
field.
- If you map from Clipboard, enter the property name from which the data is mapped at run time.
- If you map from Constant, enter the value of the constant surrounded by double quotation marks.
- In the Additional query string parameters section, complete the
following fields to specify name-value pairs to append as a query string to the resource
URL of the target system.
- In the Name field, enter the name to use for the parameter.
The data type of a query string parameter is
String
. - In the Description field, enter a short description of the parameter.
- In the Map from field, specify the source or the type of source of the value in Pega Platform. For descriptions of the Map from options, see the definition of the Map from field in step 1c.
- In the Map from key field, specify the key for locating the property or rule in the source that is specified in the Map from field. For descriptions of the Map from key options, see the definition of the Map from key field in step 1d.
- In the Name field, enter the name to use for the parameter.
The data type of a query string parameter is
Previous topic Mapping the request and response data for Connect REST rules Next topic Mapping the data for a GET response for a Connect REST rule