Last updated 7 months ago
OK
Title of the HI question
Allowed values for the HI question
Votes received per type during this period
Number of unique participants on the period
HI of the given period
HI by date given period
const response = await fetch('https://api.myhappyforce.com/api/v1/public/company/stats/hi', { method: 'GET', headers: {}, }); const data = await response.json();
{ "title": "text", "values": [ { "label": { "defaultValue": "text" }, "imageUrl": "text", "color": "text" } ], "ratings": "{'1': x, '2' : y}", "periodIndex": 0, "dailyIndex": "[{30122020: 90.00},{31122020: 90.00}]" }