/surveys/:id/outcomes
Changed onReturns aggregated results of a survey cycle: a response overview and per-question statistics. Required scope: r_surveys. Requires a user token whose member has permission to view survey cycles, or an account token with the member_id of such a member; an account token without member_id gets 403. The account must have the Surveys feature enabled.
Only submitted responses of employees the member may view are aggregated. For anonymous surveys with min_responses_required > 0, the choice breakdown (ratings[].count, percentage, average_score) is withheld until the threshold is met overall and per question. limit / offset paginate questions; total is the number of matching questions.
Request
- Base URLhttps://subdomain.workable.com/spi/v3
- URLhttps://subdomain.workable.com/spi/v3/surveys/{id}/outcomes
- AuthAPI key in header Authorization
Path parameters
Survey cycle key (as returned by GET /surveys)
Query parameters
Maximum number of questions to return. When omitted, all questions are returned.
Number of questions to skip (for pagination).
Restrict the outcomes to these question ids. Ids not in the survey's questionnaire are ignored.
Required when using an account token: the member (SPI key, from GET /members) to act as. The request is evaluated with that member's permissions; without it the request gets 403. Ignored for user tokens.
Response
200
Changes
- info
endpoint added
- info