Mark a Module Complete
Marks people complete for a module.
Request Uri:
PUT https://api.litmos.com/v1.svc/results/modules/[moduleid]?source=[source]
Request Body: (XML)
<ModuleResult>
<CourseId>string</CourseId>
<UserId>string</UserId>
<Score>int 0 - 100</Score>
<Completed>boolean (1 or 0)</Completed>
<UpdatedAt>datetime (YYYY-MM-DDTHH:MM:SS)</UpdatedAt>
<Note>string (255 character limit)</Note>
<Attempts>int</Attempts>
</ModuleResult>
Important Notes:
- A common use of this API call is to mark a module complete when a user completes a function outside of Litmos. This call can be used along with and embedded module and choosing to uncheck the "Complete the module when opened/ viewed".
- Attempt values can only be inserted for embed and link module types. If you're not using these module types please remove "Attempts" for the body. Attempt values for other module types are created generically by the system.
- datetime is recorded in 24Hour-UTC, if no time (HH:MM:SS) is passed the system will default it to 00:00:00.
Comments
0 comments
Article is closed for comments.