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

Get Survey From API

In order to get the survey you may use following API endpoint.

This will return the single DTO that contains all the objects related to a survey survey. Using the objects of this DTO you will be able to achieve all needed operations on your survey.

export class NgSurveyModel {
  survey: Survey;
  pages: Page[];
  questions: Question[];
  answers: Answer[];
  answerTypes: NGSAnswerType[];
  answersConnections: AnswerConnection[];
  answersExtendedProperties: AnswerExtendedProperty[];
  answersAppointments: AnswerAppointment[];
  answersWidgetProperties: AnswerWidgetProperty[];
  regularExpressions: RegularExpression[];
  multiLanguageTexts: MultiLanguageText[];
  branchingConditions: NGSBranchingCondition[];
  skipPageConditions: NGSSkipPageCondition[];
  skipQuestionConditions: NGSSkipQuestionCondition[];
  redirectionConditions: NGSRedirectionCondition[];
  skipAnswerConditions: NGSSkipAnswerCondition[];
  thanksMessageConditions: NGSThanksMessageCondition[];
  surveyActions: NGSSurveyAction[];
  formStyles: FormStyle[];
  dynamicContents: NGSDynamicContent[];
  systemMessages: Map<string, Map<string, string>>;
  securityItems: NGSSecurity[];
  lastModified: number;
  supportedLanguages: Language[];
  resources?: Resource[];
  mediaItems?: Media[];
  respondentSession?: NGSRespondent;
}

Last updated

Was this helpful?