Integrate your system with Möbius API
Jump to section
Connect or disconnect user session
Data retrieval and manipulation services
The Möbius Web Services API allows users to query Möbius data from custom-built online systems (such as course management systems), and provide access points to several parts of Möbius:
Endpoint services: ask for XML-formatted requests and return XML-formatted responses for connection to Möbius, and data retrieval and manipulation from Möbius. Requests are sent as a body of standard HTTP POST requests. Each XML response includes a standard part that provides information about the status of the request processing.
Launcher services: ask for regular HTTP requests with request parameters specified in name-value pairs and do not return any readable responses. They serve to launch corresponding sections of Möbius in the current browser for the user to further interact with.
The Möbius Web Services API also supports automatic grade pushing to the external system from Möbius.
IMPORTANT: Möbius already supports integrating as a tool in the LTI 1.3 integration standard. As an industry standard supported by all major Learning Management Systems (LMS), LTI integration is recommended over the Web Services API for any launcher service requirements.
To use Möbius Web Services, the following parameters are required and are stored by DigitalEd as part of hosting your Möbius site:
| Name | Required | Type | Description |
|---|---|---|---|
| WS_PASSWORD | YES | String | Shared password that will be used to sign request data. The receiving side should know the password and use it to ensure that the request comes from a valid sender. |
Connection test
This service allows testing of the API connection and works as an echo service, returning the value sent in the request.
Ping site
Purpose: Pings the Möbius site.
Prerequisites: N/A
Relative URL: ws/ping
Request Cookies: N/A
Request Structure:
<Request>
<value>$value</value>
<timestamp>$timestamp</timestamp>
<signature>$signature</signature>
</Request>| Name | Required | Type | Description |
|---|---|---|---|
| value | YES | String | Any string - it will be echoed back in the response. |
| timestamp | YES | Long | Current time in milliseconds (Java style). |
| signature | YES | String | Base64-encoded 16 byte binary MD5 signature of the timestamp concatenated with the shared password. |
Response Structure:
<Response>
<element>
<value>$value</value>
</element>
</Response> | Name | Type | Description |
|---|---|---|
| value | String | String passed to the service in the request. |
Connect or disconnect user session
These services provide a means for opening and closing a user session in Möbius.
The "Connect" service opens a user session, creates the user account (if it doesn't already exist), and updates the user account with the information provided.
If the classId value isn't set to an existing class, the user session can call services not related to any specific class (list classes, create new classes). This is analogous to a user logging in and staying on the System Homepage.
If the classId value is set to an existing class, then this "Connect to a class" request enters the user into the Möbius class specified in the request; the user session can call services related to the specific class (list assignments, list grades). This is analogous to a user logging in, and going to the Class Homepage for the specified class.
TIP: The "Connect to a class" service will always ensure the user is enrolled in the class specified in the request.
The "Disconnect" service closes the user session that was previously opened by the "Connect" service.
Connect (login)
Purpose: Creates a user session with the specified user and privileges.
Prerequisites: N/A
Relative URL: ws/connect
Request Cookies: N/A
Request Structure:
<Request>
<firstName>$firstName</firstName>
<lastName>$lastName</lastName>
<userLogin>$userLogin</userLogin>
<userEmail>$userEmail</userEmail>
<studentId>$studentId</studentId>
<userRole>$userRole</userRole>
<classId>-1</classId>
<timestamp>$timestamp</timestamp>
<signature>$signature</signature>
</Request>| Name | Required | Type | Description |
|---|---|---|---|
| firstName | YES | String (max length 255) | First name of the user account. |
| lastName | YES | String (max length 255) | Last name of the user account. |
| userLogin | YES | String (max length 255) | User login of the user account. |
| userEmail | NO | String (max length 255) | Email address of the user account. |
| studentId | NO | String (max length 100) | Student ID of the user account. |
| userRole | YES | String | One of the following: ADMINISTRATOR, INSTRUCTOR, PROCTOR, or STUDENT. |
| classId | YES | Long | Must be set to -1 when not connecting to a specific class. |
| timestamp | YES | Long | Current time in milliseconds (Java style). |
| signature | YES | String | Base64-encoded 16 byte binary MD5 signature of the timestamp concatenated with the shared password. |
Response Structure:
<Response>
<status>
<session>$session</session>
<code>$code</code>
<message>$message</message>
</status>
</Response>| Name | Type | Description |
|---|---|---|
| session | String | User session ID created on the Möbius side. This value should be used to set JSESSIONID cookies for service requests. |
| code | Integer | Error code: 0=success, 1=failure, 100=no data found. |
| message | String | Error message (if any). |
Connect to a class (login)
Purpose: Creates a user session with the specified user and privileges, and enrolls them into the specified class.
Prerequisites: N/A
Relative URL: ws/connect
Request Cookies: N/A
Request Structure:
<Request>
<firstName>$firstName</firstName>
<lastName>$lastName</lastName>
<userLogin>$userLogin</userLogin>
<userEmail>$userEmail</userEmail>
<studentId>$studentId</studentId>
<userRole>$userRole</userRole>
<classId>$classId</classId>
<courseId>$courseId</courseId>
<timestamp>$timestamp</timestamp>
<signature>$signature</signature>
</Request>| Name | Required | Type | Description |
|---|---|---|---|
| firstName | YES | String (max length 255) | First name of the user account. |
| lastName | YES | String (max length 255) | Last name of the user account. |
| userLogin | YES | String (max length 255) | User login of the user account. |
| userEmail | NO | String (max length 255) | Email address of the user account. |
| studentId | NO | String (max length 100) | Student ID of the user account. |
| userRole | YES | String | One of the following: ADMINISTRATOR, INSTRUCTOR, PROCTOR, or STUDENT. |
| classId | YES | Long | ID of the class in Möbius to enroll the user (can be retrieved by "Class List" request). |
| courseId | NO | String (max length 100) | Any value representing an ID of the class or course in your external system. This value will be stored in the Möbius class as a reference. |
| timestamp | YES | Long | Current time in milliseconds (Java style). |
| signature | YES | String | Base64-encoded 16 byte binary MD5 signature of the timestamp concatenated with the shared password. |
Response Structure:
<Response>
<status>
<session>$session</session>
<code>$code</code>
<message>$message</message>
</status>
</Response> | Name | Type | Description |
|---|---|---|
| session | String | User session ID created on the Möbius side. This value should be used to set JSESSIONID cookies for service requests. |
| code | Integer | Error code: 0=success, 1=failure, 100=no data found. |
| message | String | Error message (if any). |
Disconnect (logout)
Purpose: Closes the current user session.
Prerequisites: Valid user session ID returned by the "Connect" or "Connect to a class" request.
Relative URL: ws/disconnect
Request Cookies: JSESSIONID set to the user session ID returned by the "Connect" or "Connect to a class" request.
Request Structure:
<Request>
<timestamp>$timestamp</timestamp>
<signature>$signature</signature>
</Request>| Name | Required | Type | Description |
|---|---|---|---|
| timestamp | YES | Long | Current time in milliseconds (Java style). |
| signature | YES | String | Base64-encoded 16 byte binary MD5 signature of the timestamp concatenated with the shared password. |
Response Structure:
<Response>
<status>
<session></session>
<code>$code</code>
<message>$message</message>
</status>
</Response> | Name | Type | Description |
|---|---|---|
| code | Integer | Error code: 0=success, 1=failure, 100=no data found. |
| message | String | Error message (if any). |
Data retrieval and manipulation services
The following services allow connected users to get lists of classes and assignments, or create and update classes in Möbius.
These services should be called only after successful connection to Möbius through either the “Connect” or “Connect to a Class” service.
Class list
Purpose: Retrieves a list of Möbius classes meeting specified criteria.
Prerequisites: Valid user session ID returned by the "Connect" request.
Relative URL: ws/class
Request Cookies: JSESSIONID set to the user session ID returned by the "Connect" request.
Request Structure:
<Request>
<classId>$classId</classId>
<featured>$featured</featured>
<openForRegistration>$openForRegistration</openForRegistration>
<timestamp>$timestamp</timestamp>
<signature>$signature</signature>
</Request>| Name | Required | Type | Description |
|---|---|---|---|
| classId | YES | Long | ID of the class in Möbius to retrieve or 0 when asking for a list of classes. |
| featured | YES | Boolean | Set to true when asking for a list of featured classes; otherwise it should be set to false. |
| openForRegistration | YES | Boolean | Set to true when asking for a list of classes open for registration; otherwise it should be set to false. |
| timestamp | YES | Long | Current time in milliseconds (Java style). |
| signature | YES | String | Base64-encoded 16 byte binary MD5 signature of the timestamp concatenated with the shared password. |
Response Structure:
<Response>
<status>
<session></session>
<code>$code</code>
<message>$message</message>
</status>
<list>
<element>
<id>$id</id>
<name>$name</name>
<instructor>$instructor</instructor>
</element>
.
.
.
</list>
</Response>| Name | Type | Description |
|---|---|---|
| code | Integer | Error code: 0=success, 1=failure, 100=no data found. |
| message | String | Error message (if any). |
| id | Long | ID of the Möbius class. |
| name | String (max length 255) | Name of the Möbius class. |
| instructor | String (max length 255) | Name of the class instructor. |
Create/update class
Purpose: Creates a new Möbius class or updates the details of an existing class.
Prerequisites: Valid user session ID returned by the "Connect" request.
Relative URL: ws/createclass
Request Cookies: JSESSIONID set to the user session ID returned by the "Connect" request.
Request Structure:
<Request>
<parentClassId>$parentClassId</parentClassId>
<classId>$classId</classId>
<courseName>$courseName</courseName>
<courseId>$courseId</courseId>
<timestamp>$timestamp</timestamp>
<signature>$signature</signature>
</Request>| Name | Required | Type | Description |
|---|---|---|---|
| parentClassId | YES | Long | Set to the ID of an existing Möbius featured class when creating a child class. Set to 0 when updating a class or creating a non-child class. |
| classId | YES | Long | Set to the ID of an existing Möbius class when updating the class details. Set to 0 when creating a new class. |
| courseName | YES/NO | String (max length 255) | Name of the Möbius class; this field is optional when updating an existing class. |
| courseId | NO | String (max length 100) | Any value representing an ID of the course in the external system. This value will be stored in the Möbius class as a reference to an external course. |
| timestamp | YES | Long | Current time in milliseconds (Java style). |
| signature | YES | String | Base64-encoded 16 byte binary MD5 signature of the timestamp concatenated with the shared password. |
Response Structure:
<Response>
<status>
<session></session>
<code>$code</code>
<message>$message</message>
</status>
<element>
<id>$id</id>
<name>$name</name>
</element>
</Response>| Name | Type | Description |
|---|---|---|
| code | Integer | Error code: 0=success, 1=failure, 100=no data found. |
| message | String | Error message (if any). |
| id | Long | ID of the Möbius class. |
| name | String (max length 255) | Name of the Möbius class. |
Activity list
Purpose: Retrieves a list of activities (assignments and lessons) that meet specified criteria in the Möbius class.
Prerequisites: Valid user session ID returned by the "Connect to a Class" request.
Relative URL: ws/assignment
Request Cookies: JSESSIONID set to the user session ID returned by the "Connect to a Class" request.
Request Structure:
<Request>
<classId>$classId</classId>
<assignmentId>$assignmentId</assignmentId>
<timestamp>$timestamp</timestamp>
<signature>$signature</signature>
</Request>| Name | Required | Type | Description |
|---|---|---|---|
| classId | YES | Long | Set to the ID of the existing Möbius class. |
| assignmentId | YES | Long | Set to the ID of an existing Möbius activity to retrieve details only for that activity. Set to 0 to retrieve details for all activities in the class. |
| timestamp | YES | Long | Current time in milliseconds (Java style). |
| signature | YES | String | Base64-encoded 16 byte binary MD5 signature of the timestamp concatenated with the shared password. |
Response Structure:
<Response>
<status>
<session></session>
<code>$code</code>
<message>$message</message>
</status>
<list>
<element>
<classId>$classId</classId>
<id>$id</id>
<name>$name</name>
<mode>$mode</mode>
<modeDescription>$modeDescription</modeDescription>
<passingScore>$passingScore</passingScore>
<totalPoints>$totalPoints</totalPoints>
<start>$start</start>
<end>$end</end>
<timeLimit>$timeLimit</timeLimit>
<policy>$policy</policy>
</element>
.
.
.
</list>
</Response>| Name | Type | Description |
|---|---|---|
| code | Integer | Error code: 0=success, 1=failure, 100=no data found. |
| message | String | Error message (if any). |
| classId | Long | ID of the Möbius class that the activity is in. |
| id | Long | ID of the Möbius activity. |
| name | String (max length 255) | Name of the Möbius activity. |
| mode | Integer | Code for the type of activity: 0 - Proctored Exam, 1 - Homework or Quiz, 2 - Anonymous Practice, 3 - Mastery Dialog, 4 - Study Session Dialog, 8 - Lesson. |
| modeDescription | String | Description of the type of activity. |
| passingScore | Integer | Passing score of the assignment (will be sent as -1 if not set). |
| totalPoints | Double | Total points of the assignment. |
| start | Long | Date/time when the assignment becomes available to students in milliseconds (Java style). |
| end | Long | Date/time when the assignment is no longer available to students in milliseconds (Java style). |
| timeLimit | Integer | Time limit for the assignment (will be sent as -1 if not set). |
| policy | String | Description of any additional policies and restrictions. |
TIP: Check out Discover the available assignment types to understand the types of assignments listed under the mode entry.
Launcher services
Launcher services work as endpoints to Möbius with automatic login for the user.
They allow the starting of Möbius activities as well as direct navigation to the System Homepage, Class Homepage, Proctor Tools, or Gradebook pages.
Each launcher request includes a wsActionID parameter that identifies the type of the launcher service, as well as a set of parameters that match fields from either the “Connect” or “Connect to a Class” calls.
POST versus GET request methods
The following sections assume that the POST request method is being used. If you plan to use the GET request method, you’ll need to:
URL-encode all of the parameters.
Use "launcher.do" in the Relative URL instead of just "launcher".
End the entire URL with an ampersand (&).
TIP: Note that GET requests may be more convenient to use, but they inherently provide less security than POST requests. GET requests expose all request parameters (even if they run over SSL) and make it easier for a malicious third party to intercept, modify, and resubmit the request. The valid signature does not guarantee that the content of the request wasn't tampered with.
TIP: To prevent a third party attack, it is recommended to use a different approach for signing GET launch requests. Instead of putting the signature as it is into the request query string, the signature should be used as a key to sign the full request URL using the HmacSHA1 digest. After the digest is calculated, it is inserted as a "signature" request parameter at the end of the GET request URL. To enable the URL signing for GET launch requests, contact DigitalEd to ensure the WS_SIGN_URL property is set to true for your site (as it is set to false by default).
Activity launcher
Purpose: Launches a Möbius activity in the current browser window.
Prerequisites: N/A
Relative URL: ws/launcher
Request Cookies: N/A
Request Structure:
wsActionID=assignment
&wsFirstName=$wsFirstName
&wsLastName=$wsLastName
&wsUserLogin=$wsUserLogin
&wsUserEmail=$wsUserEmail
&wsStudentId=$wsStudentId
&wsUserRole=$wsUserRole
&wsClassId=$wsClassId
&wsCourseId=$wsCourseId
×tamp=$timestamp
&signature=$signature
&wsExternalData=$wsExternalData
&className=$className
&testName=$testName
&testId=$testId| Name | Required | Type | Description |
|---|---|---|---|
| wsActionID | YES | String | Set to assignment for this type of request. |
| wsFirstName | YES | String (max length 255) | First name of the user account. |
| wsLastName | YES | String (max length 255) | Last name of the user account. |
| wsUserLogin | YES | String (max length 255) | User login of the user account. |
| wsUserEmail | NO | String (max length 255) | Email address of the user account. |
| wsStudentId | NO | String (max length 100) | Student ID of the user account. |
| wsUserRole | YES | String | One of the following: ADMINISTRATOR, INSTRUCTOR, PROCTOR, or STUDENT. |
| wsClassId | YES | Long | ID of the class in Möbius to enroll the user (can be retrieved by "Class List" request). |
| wsCourseId | NO | String (max length 100) | Any value representing an ID of the class or course in your external system. This value will be stored in the Möbius class as a reference. |
| timestamp | YES | Long | Current time in milliseconds (Java style). |
| signature | YES | String | Base64-encoded 16 byte binary MD5 signature of the timestamp concatenated with the shared password. |
| wsExternalData | NO | String | Any string the external system wants to be stored together with grade information on the Möbius side; this data will be sent back by the Möbius grade pushing service. |
| className | YES | String | Name of the Möbius class that contains the activity (can be retrieved by "Class list" request). |
| testName | YES | String | Name of the activity to be started (can be retrieved by "Activity list" request). |
| testId | YES | Long | ID of the activity to be started (can be retrieved by "Activity list" request). |
System Homepage launcher
Purpose: Launches the Möbius System Homepage in the current browser window.
Prerequisites: N/A
Relative URL: ws/launcher
Request Cookies: N/A
Request Structure:
wsActionID=systemHome
&wsFirstName=$wsFirstName
&wsLastName=$wsLastName
&wsUserLogin=$wsUserLogin
&wsUserEmail=$wsUserEmail
&wsStudentId=$wsStudentId
&wsUserRole=$wsUserRole
&wsClassId=-1
×tamp=$timestamp
&signature=$signature| Name | Required | Type | Description |
|---|---|---|---|
| wsActionID | YES | String | Set to systemHome for this type of request. |
| wsFirstName | YES | String (max length 255) | First name of the user account. |
| wsLastName | YES | String (max length 255) | Last name of the user account. |
| wsUserLogin | YES | String (max length 255) | User login of the user account. |
| wsUserEmail | NO | String (max length 255) | Email address of the user account. |
| wsStudentId | NO | String (max length 100) | Student ID of the user account. |
| wsUserRole | YES | String | One of the following: ADMINISTRATOR, INSTRUCTOR, PROCTOR, or STUDENT. |
| wsClassId | YES | Long | Needs to be set to -1 for this type of request. |
| timestamp | YES | Long | Current time in milliseconds (Java style). |
| signature | YES | String | Base64-encoded 16 byte binary MD5 signature of the timestamp concatenated with the shared password. |
Class Homepage launcher
Purpose: Launches the specified Class Homepage in the current browser window.
Prerequisites: N/A
Relative URL: ws/launcher
Request Cookies: N/A
Request Structure:
wsActionID=classHome
&wsFirstName=$wsFirstName
&wsLastName=$wsLastName
&wsUserLogin=$wsUserLogin
&wsUserEmail=$wsUserEmail
&wsStudentId=$wsStudentId
&wsUserRole=$wsUserRole
&wsClassId=$wsClassId
&wsCourseId=$wsCourseId
×tamp=$timestamp
&signature=$signature| Name | Required | Type | Description |
|---|---|---|---|
| wsActionID | YES | String | Set to classHome for this type of request. |
| wsFirstName | YES | String (max length 255) | First name of the user account. |
| wsLastName | YES | String (max length 255) | Last name of the user account. |
| wsUserLogin | YES | String (max length 255) | User login of the user account. |
| wsUserEmail | NO | String (max length 255) | Email address of the user account. |
| wsStudentId | NO | String (max length 100) | Student ID of the user account. |
| wsUserRole | YES | String | One of the following: ADMINISTRATOR, INSTRUCTOR, PROCTOR, or STUDENT. |
| wsClassId | YES | Long | ID of the class in Möbius to enroll the user (can be retrieved by "Class List" request). |
| wsCourseId | NO | String (max length 100) | Any value representing an ID of the class or course in your external system. This value will be stored in the Möbius class as a reference. |
| timestamp | YES | Long | Current time in milliseconds (Java style). |
| signature | YES | String | Base64-encoded 16 byte binary MD5 signature of the timestamp concatenated with the shared password. |
Proctor Tools launcher
Purpose: Launches the Proctor Tools page for the specified class in the current browser window.
Prerequisites: N/A
Relative URL: ws/launcher
Request Cookies: N/A
Request Structure:
wsActionID=proctorTools
&wsFirstName=$wsFirstName
&wsLastName=$wsLastName
&wsUserLogin=$wsUserLogin
&wsUserEmail=$wsUserEmail
&wsStudentId=$wsStudentId
&wsUserRole=$wsUserRole
&wsClassId=$wsClassId
&wsCourseId=$wsCourseId
×tamp=$timestamp
&signature=$signature| Name | Required | Type | Description |
|---|---|---|---|
| wsActionID | YES | String | Set to proctorTools for this type of request. |
| wsFirstName | YES | String (max length 255) | First name of the user account. |
| wsLastName | YES | String (max length 255) | Last name of the user account. |
| wsUserLogin | YES | String (max length 255) | User login of the user account. |
| wsUserEmail | NO | String (max length 255) | Email address of the user account. |
| wsStudentId | NO | String (max length 100) | Student ID of the user account. |
| wsUserRole | YES | String | One of the following: ADMINISTRATOR, INSTRUCTOR, PROCTOR, or STUDENT. |
| wsClassId | YES | Long | ID of the class in Möbius to enroll the user (can be retrieved by "Class List" request). |
| wsCourseId | NO | String (max length 100) | Any value representing an ID of the class or course in your external system. This value will be stored in the Möbius class as a reference. |
| timestamp | YES | Long | Current time in milliseconds (Java style). |
| signature | YES | String | Base64-encoded 16 byte binary MD5 signature of the timestamp concatenated with the shared password. |
Gradebook launcher
Purpose: Launches the Gradebook page for the specified class in the current browser window.
Prerequisites: N/A
Relative URL: ws/launcher
Request Cookies: N/A
Request Structure:
wsActionID=gradeBook
&wsFirstName=$wsFirstName
&wsLastName=$wsLastName
&wsUserLogin=$wsUserLogin
&wsUserEmail=$wsUserEmail
&wsStudentId=$wsStudentId
&wsUserRole=$wsUserRole
&wsClassId=$wsClassId
&wsCourseId=$wsCourseId
×tamp=$timestamp
&signature=$signature| Name | Required | Type | Description |
|---|---|---|---|
| wsActionID | YES | String | Set to gradeBook for this type of request. |
| wsFirstName | YES | String (max length 255) | First name of the user account. |
| wsLastName | YES | String (max length 255) | Last name of the user account. |
| wsUserLogin | YES | String (max length 255) | User login of the user account. |
| wsUserEmail | NO | String (max length 255) | Email address of the user account. |
| wsStudentId | NO | String (max length 100) | Student ID of the user account. |
| wsUserRole | YES | String | One of the following: ADMINISTRATOR, INSTRUCTOR, PROCTOR, or STUDENT. |
| wsClassId | YES | Long | ID of the class in Möbius to enroll the user (can be retrieved by "Class List" request). |
| wsCourseId | NO | String (max length 100) | Any value representing an ID of the class or course in your external system. This value will be stored in the Möbius class as a reference. |
| timestamp | YES | Long | Current time in milliseconds (Java style). |
| signature | YES | String | Base64-encoded 16 byte binary MD5 signature of the timestamp concatenated with the shared password. |
Grade pushing service
When a Möbius assignment is launched by a student from the external system, grade pushing means that immediately after grading is completed in Möbius, the grade for that student will be sent back to the external system.
The grade information is sent in the body of a regular POST request to a specified endpoint on the external system. The Möbius grade pushing service expects feedback from the external system to confirm the status of the operation.
In order for this service to function, you'll need to provide details of the external system to DigitalEd, so that the following properties can be set for your Möbius site:
| Name | Required | Example | Description |
|---|---|---|---|
| WS_SERVER_URI | YES | https://yourserver.com:433 | The URL of the external system that will receive the grade data. |
| WS_GRADE_URI | YES | grade/import/grade_receiver | A URI (relative to WS_SERVER) for the endpoint of the external system that will process the grade data. |
| WS_PASSWORD | YES | Any string | Shared password with which Möbius will sign the grade push request. The receiving side should know the password and use it to validate the request. |
| GRADE_EXPORT_TYPE | YES | BEST | Set to BEST, AVERAGE, or LAST to indicate which grade will be sent where the student has multiple grades for the given assignment. |
| WS_EMAIL_ON_ERROR | NO | Boolean (true or false) | Specify if an email notification will be sent when grade pushing fails. |
| WS_EMAILS | NO | admin@myuni.edu | Email address(es) where the notification will be sent when grade pushing fails. If none are provided, the class instructor's email address will be used by default. |
Grade push details
Purpose: Pushes a grade from Möbius to the external system
Request Structure (sent from Möbius to the external system):
<Request>
<element>
<classId>$classId</classId>
<id>$id</id>
<name>$name</name>
<mode>$mode</mode>
<modeDescription>$modeDescription</modeDescription>
<passingScore>$passingScore</passingScore>
<totalPoints>$totalPoints</totalPoints>
<weight>$weight</weight>
<start>$start</start>
<end>$end</end>
<timeLimit>$timeLimit</timeLimit>
<policy>$policy</policy>
<subelement>
<userLogin>$userLogin</userLogin>
<score>$score</score>
<dateGraded>$dateGraded</dateGraded>
<externalData>$externalData</externalData>
</subelement>
</element>
<timestamp>$timestamp</timestamp>
<signature>$signature</signature>
</Request>| Name | Type | Description |
|---|---|---|
| classId | Long | ID of the Möbius class that the assignment is in. |
| id | Long | ID of the Möbius assignment. |
| name | String (max length 255) | Name of the Möbius assignment. |
| mode | Integer | Code for the type of assignment: 0 - Proctored Exam, 1 - Homework or Quiz, 2 - Anonymous Practice, 3 - Mastery Dialog, 4 - Study Session Dialog, 8 - Lesson. |
| modeDescription | String | Description of the type of assignment. |
| passingScore | Integer | Passing score of the assignment (will be sent as -1 if not set). |
| totalPoints | Double | Total points of the assignment. |
| weight | Double | Weighting of the assignment (will be sent as 0 if not set). |
| start | Long | Date/time when the assignment becomes available to students in milliseconds (Java style). |
| end | Long | Date/time when the assignment is no longer available to students in milliseconds (Java style). |
| timeLimit | Integer | Time limit for the assignment (will be sent as -1 if not set). |
| policy | String | Description of any additional policies and restrictions. |
| userLogin | String (max length 255) | User login of the student that owns this grade |
| score | Double | Grade sent by Möbius |
| dateGraded | Long | Date/time when the grade was created in milliseconds (Java style). |
| externalData | String | Data that was sent to Möbius when the student first launched the assignment through an Activity launcher request. |
| timestamp | Long | Current time in milliseconds (Java style). |
| signature | String | Base64-encoded 16 byte binary MD5 signature of the timestamp concatenated with the shared password. |
Response Structure (expected from the external system by Möbius):
<Response>
<status>
<code>$code</code>
<message>$message</message>
</status>
</Response>| Name | Type | Description |
|---|---|---|
| code | Integer | Error code: 0=success, 1=failure, 100=no data found. |
| message | String | Error/status message. |