Fetching Data
Data model description
In the HappyOrNot-system customers’ organizational aspects are structured hierarchically in a tree of folders
. These folders are used to represent abstract and physical locations, business areas, stores and offices, etc. Folders can contain surveys
that determine when a certain question
is used and how the collected feedback is displayed. So the HappyOrNot feedback results are available via surveys.
Fetching results
Results can be fetched per survey
object by its identifier and optional parameters that control result set precision and time period. To get survey identifiers, you first have to call the folders resource with parameter ‘surveys’ set to ‘true’. The response contains a list of folder objects with an array of surveys if any have been assigned to the folder. Note that only leaf level folders can contain surveys. The survey’s identifier is its property key
.