Example JSON Request & Response - GET Item

https://......btlsurpass.com/api/v2/Item?$filter=subject/Reference eq 'APITest1'

{
  "count": 2,
  "top": 10,
  "skip": 0,
  "pageCount": 1,
  "nextPageLink": null,
  "prevPageLink": null,
  "response": [
    {
      "type": "MultipleChoice",
      "id": 16174,
      "href": "https://....btlsurpass.com/api/v2/Item/16174"
    },
    {
      "type": "MultipleChoice",
      "id": 16340,
      "href": "https://...btlsurpass.com/api/v2/Item/16340"
    }
  ],
  "errors": null,
  "serverTimeZone": "GMT Standard Time"
}

https://...surpass.com/api/v2/Item/16174

{

  "count": null,
  "top": null,
  "skip": null,
  "pageCount": null,
  "nextPageLink": null,
  "prevPageLink": null,
  "response": [
    {
      "subject": {
        "id": 22,
        "reference": "APITest1",
        "href": "https://...surpass.com/api/v2/Subject/22"
      },
      "folder": null,
      "name": "API Test",
      "itemVersion": 2,
      "deleted": false,
      "publishId": "5016P16174",
      "questionText": "<p>trytytrytryer</p>",
      "htmlText": null,
      "mark": 1,
      "seedUsageCount": null,
      "seedPValue": null,
      "status": "Draft",
      "itemPurpose": "Summative",
      "markingType": "Computer",
      "markingSchemeFileId": null,
      "markingSchemeFileName": null,
      "comment": "tyytryr",
      "generalFeedback": {
        "text": "<p>fsdfsdfs</p>",
        "htmlText": null,
        "mediaItems": [
          {
            "id": 245
          }
        ],
        "sourceMaterials": [
          {
            "id": 245
          }
        ]
      },
      "correctFeedback": null,
      "incorrectFeedback": null,
      "mediaItems": [
        {
          "id": 245
        }
      ],
      "sourceMaterials": [
        {
          "id": 245
        }
      ],
      "multipleChoiceQuestions": [
        {
          "randomise": false,
          "addLabelsToOptions": true,
          "optionList": {
            "options": [
              {
                "id": 34526,
                "text": "<p>s</p>",
                "htmlText": null,
                "label": "A",
                "contentType": "RichText",
                "mathMl": null,
                "mediaItem": null
              },
              {
                "id": 34527,
                "text": null,
                "htmlText": null,
                "label": "B",
                "contentType": "Image",
                "mathMl": null,
                "mediaItem": {
                  "id": 245
                }
              },
              {
                "id": 34528,
                "text": null,
                "htmlText": null,
                "label": "C",
                "contentType": "MathMl",
                "mathMl": "<math xmlns=\"http://www.w3.org/1998/Math/MathML\"><mi>a</mi><mi>s</mi><msqrt><mi>d</mi><mi>a</mi><mi>s</mi><mi>d</mi><mi>a</mi><mi>s</mi><mroot><mrow /><mrow /></mroot></msqrt></math>",
                "mediaItem": null
              }
            ]
          },
          "markType": "Standard"
        }
      ],
      "multipleResponseQuestions": [],
      "essayQuestions": [],
      "shortAnswerQuestions": [],
      "eitherOrQuestions": [],
      "numericalEntryQuestions": [],
      "fillInTheBlankQuestions": [],
      "selectFromAListQuestions": [],
      "allowOpenImageInPopup": true,
      "mediaLayout": "LeftAnswer",
      "id": 16174,
      "href": "https://...surpass.com/api/v2/Item/16174"
    }
  ],
  "errors": null,
  "serverTimeZone": "GMT Standard Time"
}

Feedback and Knowledge Base