GET/{id} - Item Short Answer - JSON Example

GET https://[SampleURL]/api/v2/Item/{id}

'Standard' Mode
{
  "count": null,
  "top": null,
  "skip": null,
  "pageCount": null,
  "nextPageLink": null,
  "prevPageLink": null,
  "response": [
    {
      "subject": {
        "id": 2,
        "reference": "Demo-SF",
        "href": "[SampleURL]/api/v2/Subject/2"
      },
      "folder": {
        "id": 18361,
        "href": "[SampleURL]/api/v2/Folder/18361"
      },
      "itemSet": null,
      "itemType": "Question",
      "name": "Item API - Short Answer",
      "itemVersion": 2,
      "deleted": false,
      "publishId": "5001P18373",
      "questionText": "<p><i><b>Question text</b></i></p>",
      "htmlText": null,
      "mathMl": null,
      "assistiveMedia": {
        "id": 8,
        "href": "[SampleURL]/api/v2/Item/18373/AssistiveMedia/8"
      },
      "mark": 1,
      "seedUsageCount": null,
      "seedPValue": null,
      "status": "Draft",
      "itemPurpose": "Summative",
      "markingType": "Computer",
      "markingSchemeFileId": null,
      "markingSchemeFileName": null,
      "comment": "Comment 1",
      "generalFeedback": {
        "text": "<p>General feedback</p>",
        "htmlText": null,
        "mediaItems": [],
        "sourceMaterials": []
      },
      "correctFeedback": null,
      "incorrectFeedback": null,
      "mediaItems": [
        {
          "id": 162
        }
      ],
      "sourceMaterials": [
        {
          "id": 65
        }
      ],
      "stemComponents": [
        {
          "text": "<p><i><b>Question text</b></i></p>",
          "mathMl": null,
          "media": null
        },
        {
          "text": null,
          "mathMl": "<math xmlns=\"http://www.w3.org/1998/Math/MathML\"><msqrt><mi>x</mi></msqrt></math>",
          "media": null
        }
      ],
      "multipleChoiceQuestions": [],
      "multipleResponseQuestions": [],
      "essayQuestions": [],
      "shortAnswerQuestions": [
        {
          "requireCaseSensitive": false,
          "limitCandidateResponse": true,
          "maxCharacterCount": 7,
          "answerList": {
            "answers": [
              "Answer"
            ]
          }
        }
      ],
      "eitherOrQuestions": [],
      "numericalEntryQuestions": [],
      "fillInTheBlankQuestions": [],
      "selectFromAListQuestions": [],
      "allowOpenImageInPopup": false,
      "mediaLayout": "AboveAnswer",
      "itemTagValues": [
        {
          "id": 5283,
          "href": "[SampleURL]/api/v2/ItemTagValue/5283"
        },
        {
          "id": 5284,
          "href": "[SampleURL]/api/v2/ItemTagValue/5284"
        }
      ],
      "enemyItems": [
        {
          "id": 18371,
          "href": "[SampleURL]/api/v2/Item/18371"
        }
      ],
      "secondaryEnemyItems": [
        {
          "id": 18375,
          "href": "[SampleURL]/api/v2/Item/18375"
        }
      ],
      "id": 18373,
      "href": "[SampleURL]/api/v2/Item/18373"
    }
  ],
  "errors": null,
  "serverTimeZone": "GMT Standard Time"
}


'Advanced' Mode ('HTML' subjects only)
{
  "count": null,
  "top": null,
  "skip": null,
  "pageCount": null,
  "nextPageLink": null,
  "prevPageLink": null,
  "response": [
    {
      "subject": {
        "id": 13236,
        "reference": "[sampleref]",
        "href": "https://[sampleURL]/api/v2/Subject/13236"
      },
      "folder": null,
      "itemSet": null,
      "itemType": "Question",
      "name": "My item 3",
      "itemMajorVersion": 1,
      "itemVersion": 1,
      "deleted": false,
      "publishId": "8211P155379",
      "questionText": "<p>Enter the missing words</p>",
      "htmlText": null,
      "mathMl": null,
      "assistiveMedia": null,
      "mark": 1,
      "citations": null,
      "seedUsageCount": null,
      "seedPValue": null,
      "status": "Draft",
      "itemPurpose": "Unspecified",
      "markingType": "Computer",
      "markingSchemeFileId": null,
      "markingSchemeFileName": null,
      "comment": "",
      "generalFeedback": null,
      "correctFeedback": null,
      "incorrectFeedback": null,
      "mediaItems": null,
      "sourceMaterials": [],
      "stemComponents": [
        {
          "id": 0,
          "text": "<p>Enter the missing words</p>",
          "mathMl": null,
          "media": null
        }
      ],
      "multipleChoiceQuestions": null,
      "multipleResponseQuestions": null,
      "essayQuestions": null,
      "shortAnswerQuestions": [
        {
          "requireCaseSensitive": false,
          "limitCandidateResponse": false,
          "maxCharacterCount": null,
          "answerList": {
            "answers": []
          },
          "placeholderText": "Roses are&nbsp;<placeholder></placeholder>&nbsp;<br />Violets are&nbsp;<placeholder></placeholder>&nbsp;...",
          "awardAllCorrect": false,
          "placeholders": [
            {
              "maxCharacterCount": null,
              "placeholderOptions": [
                "red",
                "rot",
                "rouge"
              ]
            },
            {
              "maxCharacterCount": null,
              "placeholderOptions": [
                "blue",
                "blau",
                "bleu"
              ]
            }
          ]
        }
      ],
      "eitherOrQuestions": null,
      "numericalEntryQuestions": null,
      "fillInTheBlankQuestions": null,
      "selectFromAListQuestions": null,
      "voiceCaptureQuestions": null,
      "likertQuestions": null,
      "allowOpenImageInPopup": false,
      "mediaLayout": "AutoSelect",
      "itemTagValues": null,
      "itemSetTagValues": null,
      "enemyItems": [],
      "secondaryEnemyItems": [],
      "sectionEnemyItems": [],
      "secondarySectionEnemyItems": [],
      "tools": [],
      "owner": {
        "id": 13,
        "reference": "[sampleuser]",
        "href": "https://[sampleURL]/api/v2/User/13"
      },
      "comments": [],
      "sharedWith": [],
      "standardLists": [
        {
          "id": 995,
          "reference": "ReviewTaskPerformanceTest",
          "href": "https://regression.surpass-preview.com/api/v2/ItemList/995"
        }
      ],
      "id": 155379,
      "href": "https://[sampleURL]/api/v2/Item/155379"
    }
  ],
  "errors": null,
  "serverTimeZone": "GMT Standard Time"
}

Feedback and Knowledge Base