Save practice results
submit_training_resultsIdempotent
Saves the outcomes of practice exercises the learner actually attempted. confirmed records that the learner approved saving each included result, including failures; Polidict does not grade answers and stores the reported rating and whether it came from model assessment or learner self-assessment. Pass the batch's practiceId and a new requestId per submission; identical retries are idempotent. Each result needs the word's latest expectedVersion; a stale version returns WORD_CHANGED without saving. The response's progressSaved=true confirms the save, and updatedItems carries the new versions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | ||
| timezone | No | ||
| confirmed | Yes | True when the learner saw each included result and agreed to save it. | |
| requestId | Yes | ||
| practiceId | Yes | ||
| languageCode | Yes | Code of the learning language, for example en-GB or es-ES. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestId | No | ||
| assessment | No | ||
| practiceId | No | ||
| savedCount | No | ||
| updatedItems | No | ||
| progressSaved | No |