Data Reference

Overview

Data between nodes includes system data and attribute data.

  • System data includes the request body transferred when a user calls an open API, the database query result obtained by using the Data Source component, and the response body obtained by using the HTTP Client component to call an API. In subsequent nodes, you can use ${body} of the simple expression type, JSONPath expression, or XPath expression to reference the system data.
  • Attribute data refers to the request parameters created in the Open API component, variables created in the Variable Assignment component, and response headers obtained by calling APIs through the HTTP Client component. In subsequent steps, you can reference the variable by using ${property.Variable name} of the simple expression type .

Reference Description

Table 1 Data reference

Data Type

Data Source

Reference Mode

System data

  • Request body used by an external system to call an open API
  • Query results of the data source
  • Response body of the calling result of the HTTP Client component
  • Simple expression: ${body}
  • JSONPath expression
  • XPath expression

Attribute data

  • Request parameters (including parameters of the Header, Query, and Path types) in the Open API component
  • Variable created in the Variable Assignment component
  • Response header of the API called by the HTTP Client component

Simple expression: ${property.Variable name}

In the HTTP Response and Script components, after you enter $, the system automatically displays the available system data and attribute data.