-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
This issue is related to the documentation of the "List Responses" API endpoint at /resources/v1/survey/ext/list/responses/survey_id
-
The documentation says that a
pageparameter can be passed, however, it would appear that your system starts the first page at "0", not "1". The documentation shows a page "1" as the example. You should indicate somewhere that your pagination for this endpoint starts at 0. Note: I also checked the #Pagination section, but it lists a completely different way of paginating data. -
When retrieving data, the response object
hasNextkey will always be "false" even if more pages exist. I suspect this is a bug. Example:
{
"responseList": [...],
"totalResponses": 146,
"overallResponses": 146,
"pageNo": 0, // <-- pagination is zero-based I guess? This should be documented.
"pageSize": 100,
"hasNext": false, <-- Should be true
"surveyType": "traditional",
"surveyName": "Customer Satisfaction Survey",
"surveyId": xxxxxx
}
Hope this information helps.
Metadata
Metadata
Assignees
Labels
No labels