Query a user

2 minute read

To configure a query a user flow:

  1. Click the Create Flow icon associated with querying a test user. The API Orchestration user interface is displayed.

  2. Select and pull the testuser flow-node onto the flow editor from the Models list. Note that the Start flow-node is automatically connected to the input of the testuser flow-node.

  3. Name the flow-node: Query a testuser

  4. Select the query method.

  5. Select Parameters.

  6. Enable all parameters and configure them. If selector is selected from the selector drop-down menu, as you begin typing in the parameter field, a drop-down menu of valid or previously used selector options is displayed. You may optionally choose a selector from the list, or continue typing to configure the parameter manually. For additional selector auto-complete information, refer to Manage flow-nodes. For additional information on the Model flow-node and General flow-node configuration parameters, refer to Flow-nodes.

  7. Select Outputs.

  8. Configure the next output. As you begin typing in the next field, a drop-down menu of valid or previously used output options is displayed. You may optionally choose an output from the list, or continue typing to configure the parameter manually.

  9. Select and pull an HTTP flow-node onto the flow editor from the Core list.

  10. Name the flow-node: Query succeeded

  11. Select Parameters.

  12. For the status parameter, select number and enter 200 in the field.

  13. Enable the body parameter, select selector, and select $.models from the selector options drop-down menu or continue typing to manually complete the selector configuration. For additional selector auto-complete information, refer to Manage flow-nodes.

  14. Leave the headers parameter disabled.

  15. Connect the next output of the Query a user flow-node to the input of the Query succeeded flow-node. For additional information on connecting flow-nodes in a flow, refer to Manage flow-nodes. The completed flow is displayed.

    Query_latest

  16. Click Apply.

  17. On the next screen, click Proceed. The server will be restarted, the Query a user flow will be saved and enabled, and you will be returned to the API Orchestration user interface.

  18. To exit API Orchestration user interface and return to API Lists page, click Close.