Stats

Stats related operations

Retrieves the Stats of a score for a given iteractions

get
Authorizations
happyforceAPIKeystringRequired

API Key for Happyforce API

Path parameters
scoreIdstringRequired

Score from which the stats should be retrieved

Example: 64f8a0e2d5b7c9a1e3f4a5b6
Query parameters
fromstring · date-timeOptional

For which date from the results should be returned

tostring · date-timeOptional

For which date to the results should be returned

hierarchyIdstringOptional

Id of the area for which you want to retrive the stats. If null, all company data is returned

Example: 64f8a0e2d5b7c9a1e3f4a5b6
profilestringOptional

Profile filter string. If not specified, no profile filtering will be applied. Check examples for details

Example: profileId1:allowedValueId,profileId2:allowedValueId...
groupIdstring[]Optional

One or more group ids for which you want to retrieve the stats. If not specified, no group filtering will be applied

Example: 64f8a0e2d5b7c9a1e3f4a5b6
Responses
200

OK

*/*
get
/v1/public/company/stats/scores/stats/{scoreId}
200

OK

Retrieves the Stats of a score for a given iteractions

get
Authorizations
happyforceAPIKeystringRequired

API Key for Happyforce API

Path parameters
scoreIdstringRequired

Score from which the stats should be retrieved

Example: 64f8a0e2d5b7c9a1e3f4a5b6
Query parameters
fromstring · date-timeOptional

For which date from the results should be returned

tostring · date-timeOptional

For which date to the results should be returned

hierarchyIdstringOptional

Id of the area for which you want to retrive the stats. If null, all company data is returned

Example: 64f8a0e2d5b7c9a1e3f4a5b6
profilestringOptional

Profile filter string. If not specified, no profile filtering will be applied. Check examples for details

Example: profileId1:allowedValueId,profileId2:allowedValueId...
groupIdstring[]Optional

One or more group ids for which you want to retrieve the stats. If not specified, no group filtering will be applied

Example: 64f8a0e2d5b7c9a1e3f4a5b6
Responses
200

OK

*/*
get
/v1/public/company/stats/scores/{scoreId}
200

OK

get

Retrieves the Participation stats for the requested period

Authorizations
happyforceAPIKeystringRequired

API Key for Happyforce API

Query parameters
fromstring · date-timeOptional

Start date for retrieving stats (ddMMyyyy format). If null: Today minus one month

tostring · date-timeOptional

End date for retrieving stats (ddMMyyyy format). If null: Today

hierarchyIdstringOptional

Id of the area for which you want to retrive the stats. If null, all company data is returned

Example: 64f8a0e2d5b7c9a1e3f4a5b6
profilestringOptional

Profile filter string. If not specified, no profile filtering will be applied.

Example: profileId1:allowedValueId,profileId2:allowedValueId...
groupIdstring[]Optional

One or more group ids for which you want to retrieve the stats. If not specified, no group filtering will be applied

Example: 64f8a0e2d5b7c9a1e3f4a5b6
groupingstring · enumOptional

Types of date grouping intervals

Default: MONTHPossible values:
Responses
200

OK

*/*
get
/v1/public/company/stats/participation
200

OK

Retrieves the HI stats for the requested period

get
Authorizations
happyforceAPIKeystringRequired

API Key for Happyforce API

Query parameters
fromstring · date-timeOptional

Start date for retrieving stats (ddMMyyyy format). If null: Today minus one month

tostring · date-timeOptional

End date for retrieving stats (ddMMyyyy format). If null: Today

hierarchyIdstringOptional

Id of the area for which you want to retrive the stats. If null, all company data is returned

Example: 64f8a0e2d5b7c9a1e3f4a5b6
profilestringOptional

Profile filter string. If not specified, no profile filtering will be applied.

Example: profileId1:allowedValueId,profileId2:allowedValueId...
groupIdstring[]Optional

One or more group ids for which you want to retrieve the stats. If not specified, no group filtering will be applied

Example: 64f8a0e2d5b7c9a1e3f4a5b6
Responses
200

OK

*/*
get
/v1/public/company/stats/hi
200

OK

get

Retrieves the eNPS stats for the requested period

Authorizations
happyforceAPIKeystringRequired

API Key for Happyforce API

Query parameters
fromstring · date-timeOptional

Start date for retrieving stats (ddMMyyyy format). If null: Today minus one month

tostring · date-timeOptional

End date for retrieving stats (ddMMyyyy format). If null: Today

hierarchyIdstringOptional

Id of the area for which you want to retrive the stats. If null, all company data is returned

Example: 64f8a0e2d5b7c9a1e3f4a5b6
profilestringOptional

Profile filter string. If not specified, no profile filtering will be applied.

Example: profileId1:allowedValueId,profileId2:allowedValueId...
groupIdstring[]Optional

One or more group ids for which you want to retrieve the stats. If not specified, no group filtering will be applied

Example: 64f8a0e2d5b7c9a1e3f4a5b6
Responses
200

OK

*/*
get
/v1/public/company/stats/enps
200

OK

get

Retrieves the Activation stats for the requested period

Authorizations
happyforceAPIKeystringRequired

API Key for Happyforce API

Query parameters
fromstring · date-timeOptional

Start date for retrieving stats (ddMMyyyy format). If null: Today minus one month

tostring · date-timeOptional

End date for retrieving stats (ddMMyyyy format). If null: Today

hierarchyIdstringOptional

Id of the area for which you want to retrive the stats. If null, all company data is returned

Example: 64f8a0e2d5b7c9a1e3f4a5b6
profilestringOptional

Profile filter string. If not specified, no profile filtering will be applied.

Example: profileId1:allowedValueId,profileId2:allowedValueId...
groupIdstring[]Optional

One or more group ids for which you want to retrieve the stats. If not specified, no group filtering will be applied

Example: 64f8a0e2d5b7c9a1e3f4a5b6
Responses
200

OK

*/*
get
/v1/public/company/stats/activation
200

OK

Last updated

Was this helpful?