الحصول على استبيان من API

لاسترجاع الاستبيان يمكنك استخدام نقطة نهاية API التالية.

سيُرجع هذا كائن DTO واحد يحتوي على كل الكائنات المتعلقة باستبيان. باستخدام كائنات هذا DTO ستتمكن من تنفيذ جميع العمليات المطلوبة على استبيانك.

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?