Can you help me configure my REST Client Response Output Value Selector?
F
Fathia Jama
started a topic
over 2 years ago
Can you help me configure my REST Client Response Output Value Selector ?
Best Answer
F
Fathia Jama
said
over 2 years ago
When following the documentation on declaring REST Clients, it is mentioned that the Response Output Value Selector corresponds to "a JSON Path, starting from the root of the response payload and pointing to a single value in the payload".
To help find the desired JSON Path you may follow these steps :
make your API call work using an external tool like Postman and copy the received response :
find the desired JSON path for your Response Output using a tool like JSON Path Finder :
Validate the retrieved path using a similar JayWay evaluator than ours (x. has to be removed from the beginning of the path for example) :
Copy the path into the Value Selector for the tested Response Output :
Test your REST Client configuration using the test button :
Your REST Client is ready for use in an API Enricher!
I hope this helps!
Stéphanie.
1 Comment
F
Fathia Jama
said
over 2 years ago
Answer
When following the documentation on declaring REST Clients, it is mentioned that the Response Output Value Selector corresponds to "a JSON Path, starting from the root of the response payload and pointing to a single value in the payload".
To help find the desired JSON Path you may follow these steps :
make your API call work using an external tool like Postman and copy the received response :
find the desired JSON path for your Response Output using a tool like JSON Path Finder :
Validate the retrieved path using a similar JayWay evaluator than ours (x. has to be removed from the beginning of the path for example) :
Copy the path into the Value Selector for the tested Response Output :
Test your REST Client configuration using the test button :
Your REST Client is ready for use in an API Enricher!
Fathia Jama
Can you help me configure my REST Client Response Output Value Selector ?
When following the documentation on declaring REST Clients, it is mentioned that the Response Output Value Selector corresponds to "a JSON Path, starting from the root of the response payload and pointing to a single value in the payload".
To help find the desired JSON Path you may follow these steps :
x.
has to be removed from the beginning of the path for example) :Your REST Client is ready for use in an API Enricher!
I hope this helps!
Stéphanie.
Fathia Jama
When following the documentation on declaring REST Clients, it is mentioned that the Response Output Value Selector corresponds to "a JSON Path, starting from the root of the response payload and pointing to a single value in the payload".
To help find the desired JSON Path you may follow these steps :
x.
has to be removed from the beginning of the path for example) :Your REST Client is ready for use in an API Enricher!
I hope this helps!
Stéphanie.
-
Deployment History Date
-
Username in Tomcat Access Logs
-
Is It Possible to Perform Automatic Authentication with The User's Windows Account?
-
Where is the documentation for Version 5.2.5?
-
On Prem Semarchy Authentication using Azure AD?
-
Delete old models
-
Sync production model version with dev
-
Recreate a dev environment. Any side effect?
-
Indexes on xDM database tables
-
What logging technology is used in the Semarchy xDM platform?
See all 64 topics