generateStats
- Home
- Polls & Surveys
- UgcSurvey
- generateStats
generateStats
Generates stats for a given survey. Emails them to the email address assigned to the passed in user_id.
Parameters
| Name | Description |
| survey_id optional | The survey Id to work with. |
| user_id optional | The user calling this service. |
| output optional | The response output format. Accepts JSON and XML. |
Request Syntax
| https://services.onesite.com/rest/ugcSurvey?action=generateStats&survey_id=2268&user_id=229928503&devkey=[devkey] |
JSON Response
|
1 2 3 4 5 6 |
{ "service":"ugcSurvey", "action":"generateStats", "code":1, "message":"The survey has been generated successfully." } |
Service Information
| Service | ugcSurvey |
| Method | generateStats |
| Type | REST |
| Response Types | JSON, XML |