GetQuestionAnswer()

The GetQuestionAnswer() command returns the answer to a question for the given formId and question alias, and other information which may be useful.

  • Quota: 2
Table 1. Parameters
Parameter Type Max Length Required Description
apiToken string 20 Y Your API security token configured in Field View.
formId string 20 Y The unique ID of the form.
questionAlias string 100 Y The question alias in the form you wish to retrieve the answer for.
Table 2. Returns
Field Type Description
FormAnswerInformation FormAnswerInformation Form answer information structure.

   <FormAnswerResponse>
       <Status>
           SUCCESS
           <Message>Success.</Message>
       </Status>
       <FormAnswerInformation>
           <FormAnswerID></FormAnswerID>
           <FormTemplateID></FormTemplateID>
           <QuestionType></QuestionType>
           <DataType></DataType>
           <Question></Question>
           <Answer></Answer>
           <AnsweredBy></AnsweredBy>
           <AnsweredDateTime></AnsweredDateTime>
           <HasActions></HasActions>
           <HasImages></HasImages>
           <HasComments></HasComments>
           <HasDocuments></HasDocuments>
       </FormAnswerInformation>
   </FormdAnswerResponse>