API Result Codes v1.0
All requests to the QuickTapSurvey API will return an HTTP status code of 200 (OK). In addition, all responses will contain a result code in their body in a JSON object that is specific to the QuickTapSurvey app and API methods as described below.
Code | Message |
0 | Invalid request. |
1 | Request per day limit exceeded. |
2 | Request per second limit exceeded. |
10 | Login succeeded. |
11 | Login failed: bad password, bad username or locked out account. |
12 | Login failed: invalid API key. |
20 | List surveys succeeded. |
21 | List surveys failed. |
22 | List surveys: invalid page number. |
30 | Get survey responses succeeded. |
31 | Get survey responses failed. |
32 | Get survey responses: invalid page number. |
33 | Unauthorized survey. |
34 | Unauthorized survey. |
35 | Get survey responses: survey not published. |
36 | Get survey responses: This survey is incompatible with your current plan. |