User Tools

Site Tools


exams_integration_restful_api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
exams_integration_restful_api [2019/05/21 22:04] – created ghacheyexams_integration_restful_api [2021/02/02 02:10] (current) – external edit 127.0.0.1
Line 1: Line 1:
-Get the various exams from URI **/api/v1/exams**+Get the various exams from URI **/api/exams**
  
 <code xml> <code xml>
Line 10: Line 10:
 </code> </code>
  
-Get the various tests for an exam from URI **/api/v1/exams/misat/tests**+Production example at [[http://rmisat.com/api/exams]] 
 + 
 +Get the various tests for an exam from URI **/api/exams/misat/tests**
  
 <code xml> <code xml>
Line 34: Line 36:
 </code> </code>
  
-Get the actual data for the tests for an exam from URI **/api/v1/exams/misat/tests/m10/2016-17**+Production example at [[http://rmisat.com/api/exams/misat/tests]] 
 + 
 +Get the actual data for the tests for an exam from URI **/api/exams/misat/tests/m10/2016-17**
  
 <code xml> <code xml>
Line 134: Line 138:
       <Gender>Female</Gender>       <Gender>Female</Gender>
       <SpEd>No</SpEd>       <SpEd>No</SpEd>
-      <Teacher TeacherID="" TeacherName=""></Teacher>+      <Teacher TeacherID=""> 
 +        <Name>The teacher</Name> 
 +      </Teacher>
       <Accomodation>Yes</Accomodation>       <Accomodation>Yes</Accomodation>
       <TotalItemsCorrect>59</TotalItemsCorrect>       <TotalItemsCorrect>59</TotalItemsCorrect>
       <PassingNonPassing>Passing</PassingNonPassing>       <PassingNonPassing>Passing</PassingNonPassing>
       <OverallScore AchievementLevelID="3" />       <OverallScore AchievementLevelID="3" />
-      <School SchoolID="SCH001"/>+      <School SchoolID="SCH001"
 +        <Name>Name of school</Name> 
 +      </School>
       <Results>       <Results>
         <Result AchievementLevelID="3" BenchmarkID="Mth.1.1"/>         <Result AchievementLevelID="3" BenchmarkID="Mth.1.1"/>
Line 164: Line 172:
       <Gender>Female</Gender>       <Gender>Female</Gender>
       <SpEd>No</SpEd>       <SpEd>No</SpEd>
-      <Teacher TeacherID="" TeacherName=""></Teacher>+      <Teacher TeacherID=""  
 +        <Name>The teacher</Name> 
 +      </Teacher>
       <Accomodation>Yes</Accomodation>       <Accomodation>Yes</Accomodation>
       <TotalItemsCorrect>59</TotalItemsCorrect>       <TotalItemsCorrect>59</TotalItemsCorrect>
       <PassingNonPassing>Passing</PassingNonPassing>       <PassingNonPassing>Passing</PassingNonPassing>
       <OverallScore AchievementLevelID="3" />       <OverallScore AchievementLevelID="3" />
-      <School SchoolID="SCH001"/>+      <School SchoolID="SCH001"
 +        <Name>Name of school</Name> 
 +      </School>
       <Results>       <Results>
         <Result AchievementLevelID="1" BenchmarkID="Mth.1.1"/>         <Result AchievementLevelID="1" BenchmarkID="Mth.1.1"/>
Line 195: Line 207:
 </MISAT> </MISAT>
 </code> </code>
 +
 +Production example at [[http://rmisat.com/api/exams/misat/tests/M10/2016-17]]
 +
 +
  
exams_integration_restful_api.1558476290.txt.gz · Last modified: 2021/02/02 02:10 (external edit)