Constructors
constructor
-
Parameters
Properties
Private seatersApi
Methods
getAnswers
- getAnswers(surveyInstanceId: string): Promise<PagedSortedResult<Answer>>
-
Parameters
Returns Promise<PagedSortedResult<Answer>>
getChoices
- getChoices(questionId: any, pagingOptions?: any): any
-
Parameters
-
questionId: any
-
Optional pagingOptions: any
Returns any
getSurvey
-
Parameters
-
waitingListId: string
-
-
Optional fanGroupId: string
Returns Promise<PagedSortedResult<SurveyInstance>>
getUserAnswers
- getUserAnswers(waitingListId: string, surveyInstanceId: string, userId: string): Promise<PagedSortedResult<Answer>>
-
Parameters
-
waitingListId: string
-
surveyInstanceId: string
-
userId: string
Returns Promise<PagedSortedResult<Answer>>
getWaitingListSurveys
-
Parameters
Returns Promise<PagedSortedResult<SurveyInstance>>
submitAnswers
- submitAnswers(surveyInstanceId: string, answers: Answer[]): Promise<Answer[]>
-
Parameters
Returns Promise<Answer[]>