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

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

![](https://848173432-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MaRsPhV8ySCq2-9BycU%2F-MaRstKkw91SrlI3uR_f%2Fimage.png?alt=media\&token=9750683d-f964-4527-851c-c711b4d87b9b)

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

```typescript
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;
}
```
