Example XML Request & Response - POST CentreSubjectAssociation

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

<centreSubjectAssociation xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

  <permissions>

    <permission>

      <id>12</id>

      <assignable>true</assignable>

    </permission>

      </permissions>

  <centre>

    <reference>JTC1</reference>

    </centre>

  <subject>

    <reference>JLTS</reference>

  </subject>

  <primary>false</primary>

</centreSubjectAssociation>

 

Response:

<response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

  <id>3244</id>

  <href>https://...surpass.com/api/v2/CentreSubjectAssociation/3244</href>

  <errors i:nil="true" />

  <serverTimeZone i:nil="true" />

</response>

Feedback and Knowledge Base