LinkedIn
Copied!

Table of Contents

Mapping the data for a GET request for a Connect REST rule

Version:

Only available versions of this content are shown in the dropdown

Use the Request tab on the Methods tab of the Connect REST form to map the data for the GET request.

  1. In the Headers section, complete the following fields to map data for HTTP header fields:

    The data type of a header field is String.
    1. In the Name field, enter the external name of the header field.

    2. In the Description field, enter a short description of the header field.

    3. 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.
    4. 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.
  2. 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.

    1. In the Name field, enter the name to use for the parameter. The data type of a query string parameter is String.

    2. In the Description field, enter a short description of the parameter.

    3. 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.

    4. 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.

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.