Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Survey Translate Resource

post
Query parameters
languagestringRequired
Body

The details of the survey to be created

idstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
companyIdstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
createdOnstring · date-timeOptional
createdBystringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
updatedBystringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
updatedOnstring · date-timeOptional
managerAccessEnabledbooleanOptional
allowedViewerIdsstring[]Optional

Per-survey viewer allow-list: ids of the managers allowed to view this survey's results. Null/empty means every manager of the targeted area may view the results; when populated, only these managers (plus admins/advisors and the creator) may. Serialized as an array of person id strings.

Example: 64f8a0e2d5b7c9a1e3f4a5b6
notAnonymousbooleanOptional
canUpdatebooleanOptional
canViewResultsbooleanOptional
statusstring · enumOptional

Status of a survey or questionnaire

Possible values:
hasReportsbooleanOptional
Responses
200

OK

*/*

The details of the survey to be created

idstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
companyIdstringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
createdOnstring · date-timeOptional
createdBystringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
updatedBystringOptionalExample: 64f8a0e2d5b7c9a1e3f4a5b6
updatedOnstring · date-timeOptional
managerAccessEnabledbooleanOptional
allowedViewerIdsstring[]Optional

Per-survey viewer allow-list: ids of the managers allowed to view this survey's results. Null/empty means every manager of the targeted area may view the results; when populated, only these managers (plus admins/advisors and the creator) may. Serialized as an array of person id strings.

Example: 64f8a0e2d5b7c9a1e3f4a5b6
notAnonymousbooleanOptional
canUpdatebooleanOptional
canViewResultsbooleanOptional
statusstring · enumOptional

Status of a survey or questionnaire

Possible values:
hasReportsbooleanOptional
post/api/v1/company/translate/surveys
POST /api/v1/company/translate/surveys?language=text HTTP/1.1
Host: api.happyforce.com
Content-Type: */*
Accept: */*
Content-Length: 2411

{
  "id": "64f8a0e2d5b7c9a1e3f4a5b6",
  "companyId": "64f8a0e2d5b7c9a1e3f4a5b6",
  "createdOn": "2026-01-01T00:00:00.000Z",
  "createdBy": "64f8a0e2d5b7c9a1e3f4a5b6",
  "updatedBy": "64f8a0e2d5b7c9a1e3f4a5b6",
  "updatedOn": "2026-01-01T00:00:00.000Z",
  "managerAccessEnabled": true,
  "allowedViewerIds": [
    "64f8a0e2d5b7c9a1e3f4a5b6"
  ],
  "notAnonymous": true,
  "canUpdate": true,
  "canViewResults": true,
  "title": {
    "defaultValue": "Happy birthday!",
    "langValues": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "valid": true
  },
  "description": {
    "defaultValue": "Happy birthday!",
    "langValues": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "valid": true
  },
  "schedulePlan": {
    "roundTitle": {
      "defaultValue": "Happy birthday!",
      "langValues": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "valid": true
    },
    "appSurvey": true,
    "mailSurvey": true,
    "communicationTitle": {
      "defaultValue": "Happy birthday!",
      "langValues": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "valid": true
    },
    "communicationDescription": {
      "defaultValue": "Happy birthday!",
      "langValues": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "valid": true
    },
    "activationRule": {
      "ruleType": "SINGLE",
      "ruleExpression": "text",
      "startAt": "2026-01-01T00:00:00.000Z",
      "endAt": "2026-01-01T00:00:00.000Z",
      "duration": 1
    },
    "hierarchyIds": [
      "64f8a0e2d5b7c9a1e3f4a5b6"
    ],
    "characteristics": [
      {
        "characteristicId": "64f8a0e2d5b7c9a1e3f4a5b6",
        "id": "64f8a0e2d5b7c9a1e3f4a5b6",
        "questionType": "DATE",
        "value": true
      }
    ],
    "groupIds": [
      "64f8a0e2d5b7c9a1e3f4a5b6"
    ],
    "paused": true,
    "archived": true,
    "mandatory": true,
    "status": "PAUSED"
  },
  "rounds": [
    {
      "id": "64f8a0e2d5b7c9a1e3f4a5b6",
      "title": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "from": "2026-01-01T00:00:00.000Z",
      "to": "2026-01-01T00:00:00.000Z"
    }
  ],
  "blocks": [
    {
      "blockId": "64f8a0e2d5b7c9a1e3f4a5b6",
      "title": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "description": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "questions": [
        {
          "id": "64f8a0e2d5b7c9a1e3f4a5b6",
          "title": {
            "defaultValue": "Happy birthday!",
            "langValues": {
              "ANY_ADDITIONAL_PROPERTY": "text"
            },
            "valid": true
          },
          "questionType": "GENERAL",
          "order": 1,
          "visible": true,
          "computeInBlock": true,
          "feedbackEnabled": true,
          "voteMode": "MANDATORY",
          "representation": "IMAGES",
          "values": [
            {
              "id": 1,
              "score": 1,
              "label": {
                "defaultValue": "Happy birthday!",
                "langValues": {
                  "ANY_ADDITIONAL_PROPERTY": "text"
                },
                "valid": true
              },
              "imageUrl": "text",
              "color": "text"
            }
          ],
          "requireNotEmpty": true
        }
      ]
    }
  ],
  "status": "PAUSED",
  "hasReports": true
}
{
  "id": "64f8a0e2d5b7c9a1e3f4a5b6",
  "companyId": "64f8a0e2d5b7c9a1e3f4a5b6",
  "createdOn": "2026-01-01T00:00:00.000Z",
  "createdBy": "64f8a0e2d5b7c9a1e3f4a5b6",
  "updatedBy": "64f8a0e2d5b7c9a1e3f4a5b6",
  "updatedOn": "2026-01-01T00:00:00.000Z",
  "managerAccessEnabled": true,
  "allowedViewerIds": [
    "64f8a0e2d5b7c9a1e3f4a5b6"
  ],
  "notAnonymous": true,
  "canUpdate": true,
  "canViewResults": true,
  "title": {
    "defaultValue": "Happy birthday!",
    "langValues": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "valid": true
  },
  "description": {
    "defaultValue": "Happy birthday!",
    "langValues": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "valid": true
  },
  "schedulePlan": {
    "roundTitle": {
      "defaultValue": "Happy birthday!",
      "langValues": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "valid": true
    },
    "appSurvey": true,
    "mailSurvey": true,
    "communicationTitle": {
      "defaultValue": "Happy birthday!",
      "langValues": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "valid": true
    },
    "communicationDescription": {
      "defaultValue": "Happy birthday!",
      "langValues": {
        "ANY_ADDITIONAL_PROPERTY": "text"
      },
      "valid": true
    },
    "activationRule": {
      "ruleType": "SINGLE",
      "ruleExpression": "text",
      "startAt": "2026-01-01T00:00:00.000Z",
      "endAt": "2026-01-01T00:00:00.000Z",
      "duration": 1
    },
    "hierarchyIds": [
      "64f8a0e2d5b7c9a1e3f4a5b6"
    ],
    "characteristics": [
      {
        "characteristicId": "64f8a0e2d5b7c9a1e3f4a5b6",
        "id": "64f8a0e2d5b7c9a1e3f4a5b6",
        "questionType": "DATE",
        "value": true
      }
    ],
    "groupIds": [
      "64f8a0e2d5b7c9a1e3f4a5b6"
    ],
    "paused": true,
    "archived": true,
    "mandatory": true,
    "status": "PAUSED"
  },
  "rounds": [
    {
      "id": "64f8a0e2d5b7c9a1e3f4a5b6",
      "title": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "from": "2026-01-01T00:00:00.000Z",
      "to": "2026-01-01T00:00:00.000Z"
    }
  ],
  "blocks": [
    {
      "blockId": "64f8a0e2d5b7c9a1e3f4a5b6",
      "title": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "description": {
        "defaultValue": "Happy birthday!",
        "langValues": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "valid": true
      },
      "questions": [
        {
          "id": "64f8a0e2d5b7c9a1e3f4a5b6",
          "title": {
            "defaultValue": "Happy birthday!",
            "langValues": {
              "ANY_ADDITIONAL_PROPERTY": "text"
            },
            "valid": true
          },
          "questionType": "GENERAL",
          "order": 1,
          "visible": true,
          "computeInBlock": true,
          "feedbackEnabled": true,
          "voteMode": "MANDATORY",
          "representation": "IMAGES",
          "values": [
            {
              "id": 1,
              "score": 1,
              "label": {
                "defaultValue": "Happy birthday!",
                "langValues": {
                  "ANY_ADDITIONAL_PROPERTY": "text"
                },
                "valid": true
              },
              "imageUrl": "text",
              "color": "text"
            }
          ],
          "requireNotEmpty": true
        }
      ]
    }
  ],
  "status": "PAUSED",
  "hasReports": true
}

Last updated