Configuration
Sets the configuration of an employee.
64f8a0e2d5b7c9a1e3f4a5b6OK
64f8a0e2d5b7c9a1e3f4a5b664f8a0e2d5b7c9a1e3f4a5b664f8a0e2d5b7c9a1e3f4a5b6Whether the user has pending conversations to show on login (open, with the last message from the company side, not the employee's own). When true, fetch the list from GET /v1/employee/conversations/{employeeId}/pending.
When pendingConversations is true, whether the on-login conversations list should be shown BEFORE_VOTE or AFTER_VOTE. Null when the on-login conversations feature is disabled.
Whether the monthly rewards podium is enabled (rewards enabled AND the podium turned on). Gates the podium tab independently of the rest of the rewards UI.
Vocabulary a company uses for its engagement index. HAPPINESS keeps the historical "Happiness Index" wording (default for existing companies); WELLBEING shows the "Wellbeing Index" wording. Presentation only — it does not change how the index is computed.
POST /api/v1/employee/configuration/{employeeId} HTTP/1.1
Host: api.happyforce.com
Content-Type: application/json
Accept: */*
Content-Length: 177
{
"hierarchyId": "64f8a0e2d5b7c9a1e3f4a5b6",
"characteristics": [
{
"characteristicId": "64f8a0e2d5b7c9a1e3f4a5b6",
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"questionType": "DATE",
"value": true
}
]
}OK
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"companyId": "64f8a0e2d5b7c9a1e3f4a5b6",
"companyName": "text",
"companyTimeZone": "text",
"appStyle": "text",
"hierarchyId": "64f8a0e2d5b7c9a1e3f4a5b6",
"hierarchyName": "text",
"configCompleted": true,
"requireVote": true,
"pendingAnnouncements": true,
"pendingFeedback": true,
"pendingConversations": true,
"conversationsDisplayMoment": "BEFORE_VOTE",
"requireFirstTimeCommentFilter": true,
"name": "text",
"profileImagePath": "text",
"role": "ADVISOR",
"debug": true,
"canResetProfile": true,
"canManage": true,
"canBlockUsers": true,
"canHFMe": true,
"canRegisterTime": true,
"hfMeActivated": true,
"canUseHero": true,
"rewardsEnabled": true,
"podiumEnabled": true,
"canManageHierarchy": true,
"externalId": "text",
"votingFlow": "QUESTIONS",
"indexTerminology": "HAPPINESS"
}Resets the configuration of an employee.
OK
64f8a0e2d5b7c9a1e3f4a5b664f8a0e2d5b7c9a1e3f4a5b664f8a0e2d5b7c9a1e3f4a5b6Whether the user has pending conversations to show on login (open, with the last message from the company side, not the employee's own). When true, fetch the list from GET /v1/employee/conversations/{employeeId}/pending.
When pendingConversations is true, whether the on-login conversations list should be shown BEFORE_VOTE or AFTER_VOTE. Null when the on-login conversations feature is disabled.
Whether the monthly rewards podium is enabled (rewards enabled AND the podium turned on). Gates the podium tab independently of the rest of the rewards UI.
Vocabulary a company uses for its engagement index. HAPPINESS keeps the historical "Happiness Index" wording (default for existing companies); WELLBEING shows the "Wellbeing Index" wording. Presentation only — it does not change how the index is computed.
DELETE /api/v1/employee/configuration/{employeeId} HTTP/1.1
Host: api.happyforce.com
Accept: */*
OK
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"companyId": "64f8a0e2d5b7c9a1e3f4a5b6",
"companyName": "text",
"companyTimeZone": "text",
"appStyle": "text",
"hierarchyId": "64f8a0e2d5b7c9a1e3f4a5b6",
"hierarchyName": "text",
"configCompleted": true,
"requireVote": true,
"pendingAnnouncements": true,
"pendingFeedback": true,
"pendingConversations": true,
"conversationsDisplayMoment": "BEFORE_VOTE",
"requireFirstTimeCommentFilter": true,
"name": "text",
"profileImagePath": "text",
"role": "ADVISOR",
"debug": true,
"canResetProfile": true,
"canManage": true,
"canBlockUsers": true,
"canHFMe": true,
"canRegisterTime": true,
"hfMeActivated": true,
"canUseHero": true,
"rewardsEnabled": true,
"podiumEnabled": true,
"canManageHierarchy": true,
"externalId": "text",
"votingFlow": "QUESTIONS",
"indexTerminology": "HAPPINESS"
}Get's the employees current personal configuration.
Personal configuration for the current user: e.g. whether Me section is activated.
Whether the Me / personal area is activated
OK
Personal configuration for the current user: e.g. whether Me section is activated.
Whether the Me / personal area is activated
POST /api/v1/employee/configuration/{employeeId}/settings HTTP/1.1
Host: api.happyforce.com
Content-Type: application/json
Accept: */*
Content-Length: 20
{
"meActivated": true
}OK
{
"meActivated": true
}Get's the employees current participation configuration.
OK
Participation profile configuration: hierarchy and characteristics (segments) for the user.
GET /api/v1/employee/configuration/{employeeId}/company HTTP/1.1
Host: api.happyforce.com
Accept: */*
OK
{
"hierarchy": [
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"parentId": "64f8a0e2d5b7c9a1e3f4a5b6",
"name": "text",
"children": []
}
],
"characteristics": [
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"question": "text",
"questionType": "DATE"
}
]
}Last updated