Web services
The following restful endpoints are available:
...
Expand |
---|
|
Filter by assessmentHandlerGradebook requests for a specifc paper should hit /api/gradebook/paper/<id>. Code Block |
---|
language | xml |
---|
title | Gradebook filer by assessment response |
---|
| <?xml version="1.0" encoding="utf-8"?>
<gradebookResponse>
<assessment id="<id>">
<gradeitem>
<userid>1</userid>
<username>test</username>
<raw_grade>40</raw_grade>
<adjusted_grade>30</adjusted_grade>
<classification>Fail</classification>
</gradeitem>
...
</assessment>
</gradebookResponse> |
Filter by moduleHandlerGradebook requests for a specifc module should hit /api/gradebook/module/<id>. Code Block |
---|
language | xml |
---|
title | Gradebook filer by module response |
---|
| <?xml version="1.0" encoding="utf-8"?>
<gradebookResponse>
<module id="<id>">
<assessment id="1234">
<gradeitem>
<userid>1</userid>
<username>test</username>
<raw_grade>60</raw_grade>
<adjusted_grade>55</adjusted_grade>
<classification>Pass</classification>
</gradeitem>
...
</assessment>
..
</module>
</gradebookResponse> |
If there is an error performing and of the above operations the response message returns null in the id node and a message in the status node. The create tags id attribute is returned in order to match up its request with the response. Code Block |
---|
language | xml |
---|
title | Gradebook Error Response |
---|
| <?xml version="1.0" encoding="utf-8"?>
<gradebookResponse>
<gradebook id="1234">
<id></id>
<status>Gradebook not found for module 1234</status>
</unenrol>
</gradebookResponse> |
|
External Systems
...
External system need to be provided with external id in all calls.
...