Example XML Request & Response - GET Centre

https://...surpass.com/api/v2/Centre/

<response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <count>54</count>
  <top>10</top>
  <skip>0</skip>
  <pageCount>6</pageCount>
  <nextPageLink>https://...surpass.com/api/v2/Centre/?$skip=10</nextPageLink>
  <prevPageLink i:nil="true" />
  <response>
    <centre>
      <reference>BTL001</reference>
      <id>1</id>
      <href>https://...surpass.com/api/v2/Centre/1</href>
    </centre>
    <centre>
      <reference>SHIP9999</reference>
      <id>2</id>
      <href>https://...surpass.com/api/v2/Centre/2</href>
    </centre>
    <centre>
      <reference>SFTest</reference>
      <id>3</id>
      <href>https://...surpass.com/api/v2/Centre/3</href>
    </centre>
    <centre>
      <reference>DSTest</reference>
      <id>4</id>
      <href>https://...surpass.com/api/v2/Centre/4</href>
    </centre>
    <centre>
      <reference>SFTest123</reference>
      <id>7</id>
      <href>https://...surpass.com/api/v2/Centre/7</href>
    </centre>
    <centre>
      <reference>SHIP0001</reference>
      <id>8</id>
      <href>https://...surpass.com/api/v2/Centre/8</href>
    </centre>
    <centre>
      <reference>DSTest2</reference>
      <id>9</id>
      <href>https://...surpass.com/api/v2/Centre/9</href>
    </centre>
    <centre>
      <reference>BTLTTCentre</reference>
      <id>10</id>
      <href>https://...surpass.com/api/v2/Centre/10</href>
    </centre>
    <centre>
      <reference>[Yuri]Centre 1</reference>
      <id>11</id>
      <href>https://...surpass.com/api/v2/Centre/11</href>
    </centre>
    <centre>
      <reference>[Yuri]Centre 2</reference>
      <id>12</id>
      <href>https://...surpass.com/api/v2/Centre/12</href>
    </centre>
  </response>
  <errors i:nil="true" />
  <serverTimeZone>GMT Standard Time</serverTimeZone>
</response>

https://...surpass.com/api/v2/Centre/232

https://...surpass.com/api/v2/Centre?reference=Test Centre 

<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>
    <centre>
      <reference>Test Centre</reference>
      <id>232</id>
      <href>https://...surpass.com/api/v2/Centre/232</href>
      <name>Test Centre</name>
      <randomiseTestForms>true</randomiseTestForms>
      <hideSubjectsIncludedInSubjectGroups>false</hideSubjectsIncludedInSubjectGroups>
      <excludeItemStatistics>false</excludeItemStatistics>
      <addressLine1>BTL</addressLine1>
      <addressLine2>Saltswharf, Ashley Lane</addressLine2>
      <town>Shipley</town>
      <county>
        <id>7</id>
        <href>https://...surpass.com/api/v2/County/7</href>
        <name>West Yorkshire</name>
      </county>
      <postCode>BD177DB</postCode>
      <country>
        <id>0</id>
        <href>https://...surpass.com/api/v2/Country/0</href>
        <name>England</name>
      </country>
      <primaryContact>
        <reference>CentreFlock</reference>
        <id>287</id>
        <href>https://...surpass.com/api/v2/User/287</href>
      </primaryContact>
      <technicalContact>
        <reference>CentreFlock</reference>
        <id>287</id>
        <href>https://...surpass.com/api/v2/User/287</href>
      </technicalContact>
      <status>Retired</status>
    </centre>
  </response>
  <errors i:nil="true" />
  <serverTimeZone>GMT Standard Time</serverTimeZone>
</response>



Feedback and Knowledge Base