Skip to main content
GET
/
api
/
content
/
surveyquestions
/
{id}
Get one SurveyQuestion
curl --request GET \
  --url https://spaces.nexudus.com/api/content/surveyquestions/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "SurveyId": 123,
  "SurveyName": "<string>",
  "Text": "<string>",
  "Description": "<string>",
  "AvailableOptions": "<string>",
  "Active": true,
  "DisplayOrder": 123,
  "AllowMultipleOptions": true,
  "QuestionType": 123,
  "Id": 123,
  "UniqueId": "<string>",
  "CreatedOn": "<string>",
  "UpdatedOn": "<string>",
  "UpdatedBy": "<string>",
  "IsNew": true,
  "SystemId": "<string>"
}
A SurveyQuestion defines a single question within a survey, including its type (text, boolean, long text, date, dropdown, or binary), label, and display order.

Authentication

This endpoint requires OAuth2 authentication. Include a valid bearer token in the Authorization header. The authenticated user must be a full unrestricted administrator or have the SurveyQuestion-Read role.

Path Parameters

id
integer
required
The Id of the SurveyQuestion record to retrieve.

Code Examples

curl -X GET \
  "https://spaces.nexudus.com/api/content/surveyquestions/87654321" \
  -H "Authorization: Bearer YOUR_TOKEN"

Response

200

SurveyId
integer
ID of the survey linked to this record.
SurveyName
string
Display name of the linked survey (read-only).
Text
string
The text value for this survey question.
Description
string
Free-text description of this survey question.
AvailableOptions
string
The available options value for this survey question.
Active
boolean
Whether this survey question is currently active.
DisplayOrder
integer
The display order value for this survey question.
AllowMultipleOptions
boolean
Whether allow multiple options is enabled.
QuestionType
integer
The question type value for this survey question. See eQuestionType enum values: 1 = Text, 2 = Boolean, 3 = LongText, 4 = Date, 5 = Dropdown, 6 = Binary.
Id
integer
Unique record identifier.
UniqueId
string
UUID of the record.
CreatedOn
string
Date and time the record was created (ISO 8601).
UpdatedOn
string
Date and time the record was last updated (ISO 8601).
UpdatedBy
string
Email of the user who last updated this record.
IsNew
boolean
Whether the record was recently created.
SystemId
string
External system identifier.
Example Response
{
  "SurveyId": 0,
  "SurveyName": null,
  "Text": "",
  "Description": "",
  "AvailableOptions": null,
  "Active": false,
  "DisplayOrder": 0,
  "AllowMultipleOptions": false,
  "QuestionType": 0,
  "Id": 87654321,
  "UpdatedOn": "2025-01-15T10:30:00Z",
  "CreatedOn": "2025-01-10T08:00:00Z",
  "UniqueId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "UpdatedBy": "admin@example.com",
  "IsNew": false,
  "SystemId": null,
  "ToStringText": "SurveyQuestion Example",
  "LocalizationDetails": null,
  "CustomFields": null
}