Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Response Type : Select the type of the response that you will be receiving from API call. The response type can be JSON or XML for now.

Object Mapping : You can directly store save a particular value from the response object in the flow variabledata in a Flow Variable. To add any response objectstore a response value in a Flow Variable, click on the '➕' button.

In the ‘save in’Save In’ column, enter the flow variable Flow Variable in which you want to save the response object and in the ‘object map’, paste/value.

In ‘Object Map’, enter the path of the object. response value you want to save. To get the path for:

  1. 'JSON' Response Type : When the response type is JSON, in order to find the path of the object you can visit  http://jsonpathfinder.com.

    1. On this page, you can paste your JSON response and on the right side, click on the object whose path you need to find.

    2. You will be able to see the path at the top right corner.

    3. Copy that path and paste in the ‘object map’ area.

    4. Replace ‘X' with 'data’

    5. To know more, you can refer to the help section of the widget.

    6. You can mark any response object as ‘mandatory’, by selecting the checkbox.

  2. XML’ XMLResponse Type: When the response type is XML, you need to put the XML Path of the response value. Unfortunately, there is no simple online tool that you can use to get that value. You can contact our support team to find read about XML Path here and test your path with sample data here. If you need more help, contact our Tech Support Team to help you with the path at support@phonon.io.

Step 4 : Other Configurations

...