JSON

Import a JSON sample to map attributes. Leaf nodes will be captured and displayed here as a list of attributes. Any remaining attributes on the list will be monitored as part of the response to this action.

  1. Click the Request body tab.
  2. from the Type drop-down list, select JSON.
  3. Click Import sample.
  4. In the Import sample window, past the JSON sample that you want to import.
  5. Click Import.

    Attributes are imported in the Attributes pane. Click the edit button next to Attributes to update the attributes, if required. Click the delete icon next to an attribute to delete the attribute.

  6. From the Attributes pane, select an attribute.
  7. Select one of the following options:
    Hard coded
    1. Select an input type.
    2. Enter a value that is hard-coded for the parameter. The package user will not be able to view this value in the Bot editor or API Task editor. This value is sent as part of the header.
    User provided
    1. Select whether you want the input value type to be secured. When you select secured, you will be able enter the parameter through a credential, variable, or insecure string.
    2. Select if this field is mandatory.
    3. Enter a value. The package user will be able to view this value in the Bot editor or API Task editor and can update this value.
    4. Enter a label. The package user will be able to view this label for the parameter in the Bot editor or API Task editor.
    5. (Optional) Enter a description. The package user will be able to view this description for the parameter in the Bot editor or API Task editor. It will appear as help text in the editor.