Google Forms · Example Payload

Google Forms Api Question Example

Data CollectionFormsGoogleGoogle WorkspaceQuestionnairesResponsesSurveys

Google Forms Api Question Example is an example object payload from Google Forms, with 8 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

questionIdrequiredgradingchoiceQuestiontextQuestionscaleQuestiondateQuestiontimeQuestion

Example Payload

Raw ↑
{
  "questionId": "7e8f9a0b",
  "required": true,
  "grading": {
    "pointValue": 10,
    "correctAnswers": {
      "answers": [
        {
          "value": "Paris"
        }
      ]
    }
  },
  "choiceQuestion": {
    "type": "RADIO",
    "options": [
      {
        "value": "Very Satisfied",
        "isOther": false
      },
      {
        "value": "Satisfied",
        "isOther": false
      }
    ],
    "shuffle": false
  },
  "textQuestion": {
    "paragraph": false
  },
  "scaleQuestion": {
    "low": 1,
    "high": 5,
    "lowLabel": "Not Satisfied",
    "highLabel": "Very Satisfied"
  },
  "dateQuestion": {
    "includeTime": false,
    "includeYear": true
  },
  "timeQuestion": {
    "duration": false
  }
}