Example XML Request & Response - GET Test

https://...surpass.com/api/v2/Test?$filter=status eq 'live' and subject/reference eq 'Subject Reference'

<response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <count>2</count>
  <top>10</top>
  <skip>0</skip>
  <pageCount>1</pageCount>
  <nextPageLink i:nil="true" />
  <prevPageLink i:nil="true" />
  <response>
    <test>
      <reference>Test Reference 2</reference>
      <id>19</id>
      <href>https://...surpass.com/api/v2/Test/19</href>
    </test>
    <test>
      <reference>Test Reference 2</reference>
      <id>679</id>
      <href>https://...surpass.com/api/v2/Test/679</href>
    </test>
  </response>
  <errors i:nil="true" />
  <serverTimeZone>GMT Standard Time</serverTimeZone>
</response>

https://...surpass.com/api/v2/Test/19

<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>
    <test>
      <ExamType>ComputerBasedTest</ExamType>
      <NDA>
        <confirmationText>By ticking this box you confirm that the above details are correct and you will adhere to the Awarding Organisation's code of conduct.</confirmationText>
        <duration i:nil="true" />
        <required>true</required>
      </NDA>
      <allowLanguageOverride>true</allowLanguageOverride>
      <allowPackagingOfCandidateResponses>true</allowPackagingOfCandidateResponses>
      <allowTestFormRecycling>true</allowTestFormRecycling>
      <allowTimeExtensionWhileInProgress>false</allowTimeExtensionWhileInProgress>
      <attemptAutoSubmit>true</attemptAutoSubmit>
      <autoCreatePIN>true</autoCreatePIN>
      <automaticallyShowToCentre>false</automaticallyShowToCentre>
      <candidateDetails>
        <duration i:nil="true" />
        <required>true</required>
      </candidateDetails>
      <certifiedAccessible>false</certifiedAccessible>
      <certifiedForTabletDelivery>false</certifiedForTabletDelivery>
      <defaultNavigationLanguage>English</defaultNavigationLanguage>
      <deliveryOptions>DeliverDifferentExamsToAllCandidates</deliveryOptions>
      <easyPvalue>0.700</easyPvalue>
      <enableCandidateLogging>false</enableCandidateLogging>
      <expiryDate>2024-02-20T00:00:00</expiryDate>
      <generateTestStatistics>true</generateTestStatistics>
      <hardPvalue>0.300</hardPvalue>
      <markingType>StandardMarking</markingType>
      <maxEasyPvalue>0.900</maxEasyPvalue>
      <minHardPvalue>0.100</minHardPvalue>
      <minimumResitTime>0</minimumResitTime>
      <name>Test</name>
      <numberOfResits>0</numberOfResits>
      <progressBar>
        <mode>MarksBased</mode>
        <required>true</required>
      </progressBar>
      <randomiseTestForms>true</randomiseTestForms>
      <reference>Test Reference</reference>
      <requiresInvigilation>false</requiresInvigilation>
      <requiresSecureClient>false</requiresSecureClient>
      <resultsUploadGracePeriod>14</resultsUploadGracePeriod>
      <scoreBoundaries>
        <boundaries>
          <test>
            <description>Not met</description>
            <higherBoundary>true</higherBoundary>
            <modifer>lt</modifer>
            <value>40</value>
          </test>
          <test>
            <description>Not met</description>
            <higherBoundary>false</higherBoundary>
            <modifer>lt</modifer>
            <value>40</value>
          </test>
          <test>
            <description>Close to met</description>
            <higherBoundary>true</higherBoundary>
            <modifer>gt</modifer>
            <value>40</value>
          </test>
          <test>
            <description>Met</description>
            <higherBoundary>false</higherBoundary>
            <modifer>gt</modifer>
            <value>40</value>
          </test>
          <test>
            <description>Met</description>
            <higherBoundary>true</higherBoundary>
            <modifer>gt</modifer>
            <value>45</value>
          </test>
          <test>
            <description>Exceeded</description>
            <higherBoundary>true</higherBoundary>
            <modifer>gt</modifer>
            <value>80</value>
          </test>
        </boundaries>
        <type>Percentage</type>
      </scoreBoundaries>
      <secureClientMode>Locked</secureClientMode>
      <showPageRequiresScrollingAlert>false</showPageRequiresScrollingAlert>
      <status>Live</status>
      <strictControlReasonableAdjustments>false</strictControlReasonableAdjustments>
      <styleProfile>
        <displayReport>false</displayReport>
        <displayReportPrintButton>false</displayReportPrintButton>
        <testProfile>
          <id>1</id>
        </testProfile>
      </styleProfile>
      <testDistribution>Online</testDistribution>
      <testStyle>CustomBranding</testStyle>
      <testWindowEndTime>23:59</testWindowEndTime>
      <testWindowStartTime>00:00</testWindowStartTime>
      <useAsTemplate>false</useAsTemplate>
      <validFromDate>2014-02-19T00:00:00</validFromDate>
      <subject>
        <reference>SubjectReference</reference>
        <id>22</id>
        <href>https://...surpass.com/api/v2/Subject/22</href>
      </subject>
    </test>
  </response>
  <errors i:nil="true" />
  <serverTimeZone>GMT Standard Time</serverTimeZone>
</response>

Feedback and Knowledge Base