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

GET https://demo.btlsurpass.com/api/v2/Item/{id}

'Standard' Mode

<response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <count i:nil="true" />
  <top i:nil="true" />
  <skip i:nil="true" />
  <pageCount i:nil="true" />
  <nextPageLink i:nil="true" />
  <prevPageLink i:nil="true" />
  <response>
    <item>
      <id>18373</id>
      <href>https://demo.btlsurpass.com/api/v2/Item/18373</href>
      <allowOpenImageInPopup>false</allowOpenImageInPopup>
      <assistiveMedia>
        <id>8</id>
        <href>https://demo.btlsurpass.com/api/v2/Item/18373/AssistiveMedia/8</href>
      </assistiveMedia>
      <comment>Comment 1</comment>
      <correctFeedback i:nil="true" />
      <deleted>false</deleted>
      <eitherOrQuestions />
      <enemyItems>
        <item>
          <id>18371</id>
          <href>https://demo.btlsurpass.com/api/v2/Item/18371</href>
        </item>
      </enemyItems>
      <essayQuestions />
      <fillInTheBlankQuestions />
      <folder>
        <id>18361</id>
        <href>https://demo.btlsurpass.com/api/v2/Folder/18361</href>
      </folder>
      <generalFeedback>
        <htmlText i:nil="true" />
        <mediaItems />
        <sourceMaterials />
        <text>&lt;p&gt;General feedback&lt;/p&gt;</text>
      </generalFeedback>
      <htmlText i:nil="true" />
      <incorrectFeedback i:nil="true" />
      <itemPurpose>Summative</itemPurpose>
      <itemSet i:nil="true" />
      <itemTagValues>
        <itemTagValue>
          <id>5283</id>
          <href>https://demo.btlsurpass.com/api/v2/ItemTagValue/5283</href>
        </itemTagValue>
        <itemTagValue>
          <id>5284</id>
          <href>https://demo.btlsurpass.com/api/v2/ItemTagValue/5284</href>
        </itemTagValue>
      </itemTagValues>
      <itemType>Question</itemType>
      <itemVersion>2</itemVersion>
      <mark>1</mark>
      <markingSchemeFileId i:nil="true" />
      <markingSchemeFileName i:nil="true" />
      <markingType>Computer</markingType>
      <mathMl i:nil="true" />
      <mediaItems>
        <item>
          <id>162</id>
        </item>
      </mediaItems>
      <mediaLayout>AboveAnswer</mediaLayout>
      <multipleChoiceQuestions />
      <multipleResponseQuestions />
      <name>Item API - Short Answer</name>
      <numericalEntryQuestions />
      <publishId>5001P18373</publishId>
      <questionText>&lt;p&gt;&lt;i&gt;&lt;b&gt;Question text&lt;/b&gt;&lt;/i&gt;&lt;/p&gt;</questionText>
      <secondaryEnemyItems>
        <item>
          <id>18375</id>
          <href>https://demo.btlsurpass.com/api/v2/Item/18375</href>
        </item>
      </secondaryEnemyItems>
      <seedPValue i:nil="true" />
      <seedUsageCount i:nil="true" />
      <selectFromAListQuestions />
      <shortAnswerQuestions>
        <item>
          <answerList>
            <answers xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:string>Answer</d7p1:string>
            </answers>
          </answerList>
          <limitCandidateResponse>true</limitCandidateResponse>
          <maxCharacterCount>7</maxCharacterCount>
          <requireCaseSensitive>false</requireCaseSensitive>
        </item>
      </shortAnswerQuestions>
      <sourceMaterials>
        <item>
          <id>65</id>
        </item>
      </sourceMaterials>
      <status>Draft</status>
      <stemComponents>
        <itemOption>
          <mathMl i:nil="true" />
          <media i:nil="true" />
          <text>&lt;p&gt;&lt;i&gt;&lt;b&gt;Question text&lt;/b&gt;&lt;/i&gt;&lt;/p&gt;</text>
        </itemOption>
        <itemOption>
          <mathMl>&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;msqrt&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;/msqrt&gt;&lt;/math&gt;</mathMl>
          <media i:nil="true" />
          <text i:nil="true" />
        </itemOption>
      </stemComponents>
      <subject>
        <reference>Demo-SF</reference>
        <id>2</id>
        <href>https://demo.btlsurpass.com/api/v2/Subject/2</href>
      </subject>
    </item>
  </response>
  <errors i:nil="true" />
  <serverTimeZone>GMT Standard Time</serverTimeZone>
</response>

'Advanced' Mode ('HTML' subjects only)

<response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <count i:nil="true" />
  <top i:nil="true" />
  <skip i:nil="true" />
  <pageCount i:nil="true" />
  <nextPageLink i:nil="true" />
  <prevPageLink i:nil="true" />
  <response>
    <item>
      <id>155379</id>
      <href>https://[sample URL]/api/v2/Item/155379</href>
      <allowOpenImageInPopup>false</allowOpenImageInPopup>
      <assistiveMedia i:nil="true" />
      <citations i:nil="true" />
      <comment></comment>
      <comments />
      <correctFeedback i:nil="true" />
      <deleted>false</deleted>
      <eitherOrQuestions i:nil="true" />
      <enemyItems />
      <essayQuestions i:nil="true" />
      <fillInTheBlankQuestions i:nil="true" />
      <folder i:nil="true" />
      <generalFeedback i:nil="true" />
      <htmlText i:nil="true" />
      <incorrectFeedback i:nil="true" />
      <itemMajorVersion>1</itemMajorVersion>
      <itemPurpose>Unspecified</itemPurpose>
      <itemSet i:nil="true" />
      <itemSetTagValues i:nil="true" />
      <itemTagValues i:nil="true" />
      <itemType>Question</itemType>
      <itemVersion>1</itemVersion>
      <likertQuestions i:nil="true" />
      <mark>1</mark>
      <markingSchemeFileId i:nil="true" />
      <markingSchemeFileName i:nil="true" />
      <markingType>Computer</markingType>
      <mathMl i:nil="true" />
      <mediaItems i:nil="true" />
      <mediaLayout>AutoSelect</mediaLayout>
      <multipleChoiceQuestions i:nil="true" />
      <multipleResponseQuestions i:nil="true" />
      <name>My item 3</name>
      <numericalEntryQuestions i:nil="true" />
      <owner>
        <reference>[sampleowner]</reference>
        <id>13</id>
        <href>https://[sampleURL]/api/v2/User/13</href>
      </owner>
      <publishId>8211P155379</publishId>
      <questionText>&lt;p&gt;Enter the missing words&lt;/p&gt;</questionText>
      <secondaryEnemyItems />
      <secondarySectionEnemyItems />
      <sectionEnemyItems />
      <seedPValue i:nil="true" />
      <seedUsageCount i:nil="true" />
      <selectFromAListQuestions i:nil="true" />
      <sharedWith />
      <shortAnswerQuestions>
        <item>
          <answerList>
            <answers xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
          </answerList>
          <awardAllCorrect>false</awardAllCorrect>
          <limitCandidateResponse>false</limitCandidateResponse>
          <maxCharacterCount i:nil="true" />
          <placeholderText>Roses are&amp;nbsp;&lt;placeholder&gt;&lt;/placeholder&gt;&amp;nbsp;&lt;br /&gt;Violets are&amp;nbsp;&lt;placeholder&gt;&lt;/placeholder&gt;&amp;nbsp;...</placeholderText>
          <requireCaseSensitive>false</requireCaseSensitive>
          <placeholders>
            <item>
              <maxCharacterCount i:nil="true" />
              <placeholderOptions xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:string>red</d8p1:string>
                <d8p1:string>rot</d8p1:string>
                <d8p1:string>rouge</d8p1:string>
              </placeholderOptions>
            </item>
            <item>
              <maxCharacterCount i:nil="true" />
              <placeholderOptions xmlns:d8p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                <d8p1:string>blue</d8p1:string>
                <d8p1:string>blau</d8p1:string>
                <d8p1:string>bleu</d8p1:string>
              </placeholderOptions>
            </item>
          </placeholders>
        </item>
      </shortAnswerQuestions>
      <sourceMaterials />
      <standardLists>
        <itemList>
          <reference>ReviewTaskPerformanceTest</reference>
          <id>995</id>
          <href>https://[sampleURL]/api/v2/ItemList/995</href>
        </itemList>
      </standardLists>
      <status>Draft</status>
      <stemComponents>
        <itemOption>
          <mathMl i:nil="true" />
          <media i:nil="true" />
          <text>&lt;p&gt;Enter the missing words&lt;/p&gt;</text>
          <id>0</id>
        </itemOption>
      </stemComponents>
      <subject>
        <reference>TomHTML2</reference>
        <id>13236</id>
        <href>https://[sampleURL]/api/v2/Subject/13236</href>
      </subject>
      <tools />
      <voiceCaptureQuestions i:nil="true" />
    </item>
  </response>
  <errors i:nil="true" />
  <serverTimeZone>GMT Standard Time</serverTimeZone>
</response>

Feedback and Knowledge Base