- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2017 05:19 PM
Hi - I need some help with exposing Survey Response through Rest API. I have designed a survey that has different kinds of questions like multiple choice, rank and text field. Text feild is the one that I am asking users to input comments like - This tool is bad or The tool serves the intended purpose. Please refer to the below screenshot. The string value is what captures the required info.
1 . I have tried the following with no success. Looked in Survey Response table through Rest API
2. Looked in assessment instance
2
I looked into database schemas but still not able to understand why I am not able to capture text in a string value. The assessment instance question has string value column and it's not a
reference field.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2017 09:20 PM
Hi Vivek,
I think it is returning the correct values only.
1) You have set a limit on number of records to be returned to 10 in REST Explorer (sysparam_limit). Please remove that to see if you get all records you want.
2) Your table in the 3rd snapshot shows it has values as numbers (4) also. So the String value returned as 8 or 1 can be valid.
Hope this helps. Mark the answer as correct/helpful based on impact.
Thanks
Antin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2017 06:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2017 08:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2017 10:01 PM
Can you go to this table (asmt_metric_result) and check if the entries are there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2017 04:56 PM
sorry for the late reply. I go to this table and open the list. I can see the user Billie.Cowley. But still my query doenst seem to get proper results. THis is my REST API explorer now:
As you can see the string value returned should be ServiceNow, Sharepoint etc But its returning numbers 8 or 1. Also, created date and time here is 2017 while response shows it as 2016. What I am I doing wrong. Thanks in advance.