Hi Question Resource
SessionId
OK
The details of the question to be created
64f8a0e2d5b7c9a1e3f4a5b664f8a0e2d5b7c9a1e3f4a5b664f8a0e2d5b7c9a1e3f4a5b6Type of question used in company surveys or questionnaires
64f8a0e2d5b7c9a1e3f4a5b664f8a0e2d5b7c9a1e3f4a5b6Modes of question voting in a survey or feedback form. Defines whether a question is mandatory, optional, or deferred.
Status of a question in a survey or questionnaire
GET /api/v1/company/hi HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Accept: */*
OK
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"primary": true,
"createdOn": "2026-01-01T00:00:00.000Z",
"activationDate": "2026-01-01T00:00:00.000Z",
"createdBy": "64f8a0e2d5b7c9a1e3f4a5b6",
"updatedBy": "64f8a0e2d5b7c9a1e3f4a5b6",
"questionType": "GENERAL",
"hierarchyIds": [
"64f8a0e2d5b7c9a1e3f4a5b6"
],
"characteristics": [
{
"characteristicId": "64f8a0e2d5b7c9a1e3f4a5b6",
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"questionType": "DATE",
"value": true
}
],
"groupIds": [
"64f8a0e2d5b7c9a1e3f4a5b6"
],
"values": [
{
"id": 1,
"score": 1,
"label": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"imageUrl": "text",
"color": "text"
}
],
"resultValues": [
{
"id": 1,
"score": 1,
"label": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"imageUrl": "text",
"color": "text"
}
],
"notifyByPush": true,
"notifyByMail": true,
"notified": true,
"privated": true,
"nonAnonymous": true,
"voteMode": "MANDATORY",
"feedbackEnabled": true,
"minSelection": 1,
"maxSelection": 1,
"status": "ANY",
"activationRule": {
"ruleType": "SINGLE",
"from": "2026-01-01T00:00:00.000Z",
"to": "2026-01-01T00:00:00.000Z",
"cronExpression": "text",
"startAt": "2026-01-01T00:00:00.000Z",
"endAt": "2026-01-01T00:00:00.000Z",
"duration": 1
},
"activations": [
{
"from": "2026-01-01T00:00:00.000Z",
"to": "2026-01-01T00:00:00.000Z"
}
]
}SessionId
The details of the question to be created
64f8a0e2d5b7c9a1e3f4a5b664f8a0e2d5b7c9a1e3f4a5b664f8a0e2d5b7c9a1e3f4a5b6Type of question used in company surveys or questionnaires
64f8a0e2d5b7c9a1e3f4a5b664f8a0e2d5b7c9a1e3f4a5b6Modes of question voting in a survey or feedback form. Defines whether a question is mandatory, optional, or deferred.
Status of a question in a survey or questionnaire
OK
The details of the question to be created
64f8a0e2d5b7c9a1e3f4a5b664f8a0e2d5b7c9a1e3f4a5b664f8a0e2d5b7c9a1e3f4a5b6Type of question used in company surveys or questionnaires
64f8a0e2d5b7c9a1e3f4a5b664f8a0e2d5b7c9a1e3f4a5b6Modes of question voting in a survey or feedback form. Defines whether a question is mandatory, optional, or deferred.
Status of a question in a survey or questionnaire
PUT /api/v1/company/hi HTTP/1.1
Host: api.happyforce.com
SessionId: YOUR_API_KEY
Content-Type: */*
Accept: */*
Content-Length: 1382
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"primary": true,
"createdOn": "2026-01-01T00:00:00.000Z",
"activationDate": "2026-01-01T00:00:00.000Z",
"createdBy": "64f8a0e2d5b7c9a1e3f4a5b6",
"updatedBy": "64f8a0e2d5b7c9a1e3f4a5b6",
"questionType": "GENERAL",
"hierarchyIds": [
"64f8a0e2d5b7c9a1e3f4a5b6"
],
"characteristics": [
{
"characteristicId": "64f8a0e2d5b7c9a1e3f4a5b6",
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"questionType": "DATE",
"value": true
}
],
"groupIds": [
"64f8a0e2d5b7c9a1e3f4a5b6"
],
"values": [
{
"id": 1,
"score": 1,
"label": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"imageUrl": "text",
"color": "text"
}
],
"resultValues": [
{
"id": 1,
"score": 1,
"label": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"imageUrl": "text",
"color": "text"
}
],
"notifyByPush": true,
"notifyByMail": true,
"notified": true,
"privated": true,
"nonAnonymous": true,
"voteMode": "MANDATORY",
"feedbackEnabled": true,
"minSelection": 1,
"maxSelection": 1,
"status": "ANY",
"activationRule": {
"ruleType": "SINGLE",
"from": "2026-01-01T00:00:00.000Z",
"to": "2026-01-01T00:00:00.000Z",
"cronExpression": "text",
"startAt": "2026-01-01T00:00:00.000Z",
"endAt": "2026-01-01T00:00:00.000Z",
"duration": 1
},
"activations": [
{
"from": "2026-01-01T00:00:00.000Z",
"to": "2026-01-01T00:00:00.000Z"
}
]
}OK
{
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"title": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"primary": true,
"createdOn": "2026-01-01T00:00:00.000Z",
"activationDate": "2026-01-01T00:00:00.000Z",
"createdBy": "64f8a0e2d5b7c9a1e3f4a5b6",
"updatedBy": "64f8a0e2d5b7c9a1e3f4a5b6",
"questionType": "GENERAL",
"hierarchyIds": [
"64f8a0e2d5b7c9a1e3f4a5b6"
],
"characteristics": [
{
"characteristicId": "64f8a0e2d5b7c9a1e3f4a5b6",
"id": "64f8a0e2d5b7c9a1e3f4a5b6",
"questionType": "DATE",
"value": true
}
],
"groupIds": [
"64f8a0e2d5b7c9a1e3f4a5b6"
],
"values": [
{
"id": 1,
"score": 1,
"label": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"imageUrl": "text",
"color": "text"
}
],
"resultValues": [
{
"id": 1,
"score": 1,
"label": {
"defaultValue": "Happy birthday!",
"langValues": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"valid": true
},
"imageUrl": "text",
"color": "text"
}
],
"notifyByPush": true,
"notifyByMail": true,
"notified": true,
"privated": true,
"nonAnonymous": true,
"voteMode": "MANDATORY",
"feedbackEnabled": true,
"minSelection": 1,
"maxSelection": 1,
"status": "ANY",
"activationRule": {
"ruleType": "SINGLE",
"from": "2026-01-01T00:00:00.000Z",
"to": "2026-01-01T00:00:00.000Z",
"cronExpression": "text",
"startAt": "2026-01-01T00:00:00.000Z",
"endAt": "2026-01-01T00:00:00.000Z",
"duration": 1
},
"activations": [
{
"from": "2026-01-01T00:00:00.000Z",
"to": "2026-01-01T00:00:00.000Z"
}
]
}Last updated