listSurveys
Endpoint URL
https://endpoint/listSurveys
| Parameter | Data Type | Optional/Mandatory | Default if not specified | Constraints | Description |
| username | String | Mandatory | N/A - Mandatory Parameter | Must be a valid username within QuickTapSurvey | The username with API user access role. |
| API Key | String | Mandatory | N/A - Mandatory Parameter | Must be a valid API key within QuickTapSurvey | The official API key generated by QuickTapSurvey. |
| pageSize | int | Optional | 10 | Min 1, Max 50 | The number of results to be returned in the current request or page. |
| pageNumber | int | Optional | 1 | Min 1 | The page number of the result set being returned. |
| pageNumber | int | The page number of the result set being returned. |
| surveyList | array | A list of surveys that you are authorized to access. Each survey inside this list contains a surveyId, surveyName, and totalResponses field. |
| surveyId | int | The integer that uniquely identifies a survey. |
| surveyName | String | The name of the survey. |
| totalResponses | int | The number of responses that have been collected for the survey from active devices. |
| resultCode | String | A code corresponding to the result of the request. See result code explanations. |
| resultDescription | String | A description of the result of the API request. |
Sample JSON Request
{
username: "APIuser",
apiKey: "TQQBSVXSXK23YBPQROLQCM3UW6BKY1T0",
pageSize: 25,
pageNumber: 1
}