Map attributes to parameters

The Request is now connected to the Endpoint via the data sources but attributes still need to be mapped to parameters.

Normally you would map attributes to parameters as you add data sources to the pipeline. These tasks were separated here for clarity.

First mapping - Request to findVariantById

For the first connection, we need to map the attribute variant_id to a parameter in findVariantById.

Mapping between Request and findVariantById
Mapping between Request and findVariantById
  1. Click the findVariantById unit to open the Edit pane.

  2. Drag the attribute variant_id to an empty path parameter in findVariantsbyId.

  3. Click Done to save the mapping.

First mapping
First mapping

Second mapping - findVariantById to findEngineById

For the second connection, we need to map the attribute engine_type_id in findVariantById to an empty path parameter in findEnglineById.

Mapping between findVariantsById and findEngineById
Mapping between findVariantsById and findEngineById
  1. Click the findEngineById unit to open the Edit pane.

  2. Drag the attribute engine_type_id to an empty path parameter in findEngineById.

  3. Click Done to save the mapping.

Second mapping
Second mapping

Third mapping - findVariantById to findModelById

For the third connection, we need to map the attribute model_id in findVariantById to an empty path parameter in findModelById.

Mapping between findVariantsById and findModelById
Mapping between findVariantsById and findModelById
  1. Click the findModelById unit to open the Edit pane.

  2. Drag the attribute model_id to an empty path parameter in findModelbyId.

  3. Click Done to save the mapping.

Third mapping
Third mapping