Consultation Debug API
Get Variables
It returns all the sessions mapped by session id.
GET/rest/debug/consultationId/variables
Query parameters | None |
Header | auth-token: token from authentication |
Header / Parameter | tenant |
Body | None |
Returns | List of Asked Variables |
Required role | USER |
Managed errors | 401: insufficient privileges |
Example request
curl 'http://localhost:8080/mwp/rest/debug/7f609f5a870d23c279892c4588897a24/variables' -H 'auth-token: 928c5455-e984-4211-b811-95fdf57a50f1.1d86309a-ff8b-48f5-8a0e-7c11bc932ba4 192.168.99.1'
Example response
{ "askedVariables": [ { "name": "Choose main option", "question": "", "value": "General functionality" }, { "name": "Choose functionality", "question": "", "value": "Variable Domain" } ] }