Skip to main content
Version: 8.1.0

πŸ§‘β€πŸ« Managing quizzes

See Taking a quiz for conventions.

List quizzes and tags​

Two calls, run together by the app: the quizzes of a year, and the tags. This one returns the quizzes.

POST /{typeSegment}/{id}/qcms.awp?verbe=get&v=8.1.0
data={
"anneeQCMs": "2025-2026"
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": [
{
"id": 0,
"titre": "",
"introduction": "", // Text shown before starting
"conclusion": "", // Text shown at the end
"baremeBR": 1, // Points for a right answer
"baremeAR": 0, // Points for no answer
"baremeMR": -1, // Points for a wrong answer
"idAuteur": 0, // Author id
"qAleatoire": false, // Shuffle the questions
"masquerCorrectifFE": false, // Hide the correction from students (graded)
"masquerCorrectifFormatif": false, // Hide the correction (formative)
"bloquerRejeuFormatif": false, // Forbid replaying a formative quiz
"introductionDecode": "", // optional
"conclusionDecode": "", // optional
"created": "", // Creation date
"guid": "", // Shared id (empty if not shared)
"efface": false, // Deleted
"nbQuestions": 0, // Number of questions
"etiquettes": [], // optional; Tag ids, comma separated
"evaluations": [ // optional; Linked assessments
{
"id": 0,
"titre": "",
"sousTitre": "", // Subtitle
"idEntite": 0, // Id of the linked homework or assessment
"date": "2025-10-03", // optional
"idGroupe": 0,
"idClasse": 0,
"periode": "",
"codeMatiere": "FRANC", // Subject code
"codeSSMatiere": "",
"disponible": false, // Available to students
"debute": "", // optional; Started
"fini": "" // optional; Finished
}
],
"travauxafaire": [ // optional; Linked homework
{
"id": 0,
"titre": "",
"sousTitre": "", // Subtitle
"idEntite": 0, // Id of the linked homework or assessment
"date": "2025-10-03" // optional
}
],
"taxonomies": [ // optional; Curriculum topics
{
"id": 0,
"idParent": 0, // Parent topic id
"libelleParent": "", // Parent topic label
"libelle": "", // Label
"libelleDisplay": "", // Display label
"ordre": 0, // Position
"nbQCM": 0, // Quizzes in the topic
"isLeaf": false, // Has no sub-topic
"tabChildren": [] // optional; Sub-topics
}
],
"natCommentaire": "", // optional; Shared quiz: author comment
"natEtablissement": "", // optional; Shared quiz: school
"natOgec": "", // optional; Shared quiz: school code
"natAuteur": "", // optional; Shared quiz: author
"natMotsCles": "", // optional; Shared quiz: keywords
"natNbTelecharge": "", // optional; Shared quiz: times reused
"natScoring": "", // optional; Shared quiz: average rating
"natNbVotants": "" // optional; Shared quiz: number of votes
}
]
}

List tags​

POST /{typeSegment}/{id}/qcms/etiquettes.awp?verbe=get&v=8.1.0
data={
"anneeQCMs": "2025-2026"
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": [] // Tags: id, libelle
}

Create a quiz​

POST /{typeSegment}/{id}/qcms.awp?verbe=post&v=8.1.0
data={
"qcm": {
"id": 0,
"titre": "",
"introduction": "", // Text shown before starting
"conclusion": "", // Text shown at the end
"baremeBR": 1, // Points for a right answer
"baremeAR": 0, // Points for no answer
"baremeMR": -1, // Points for a wrong answer
"idAuteur": 0, // Author id
"qAleatoire": false, // Shuffle the questions
"masquerCorrectifFE": false, // Hide the correction from students (graded)
"masquerCorrectifFormatif": false, // Hide the correction (formative)
"bloquerRejeuFormatif": false, // Forbid replaying a formative quiz
"introductionDecode": "", // optional
"conclusionDecode": "", // optional
"created": "", // Creation date
"guid": "", // Shared id (empty if not shared)
"efface": false, // Deleted
"nbQuestions": 0, // Number of questions
"etiquettes": [], // optional; Tag ids, comma separated
"evaluations": [ // optional; Linked assessments
{
"id": 0,
"titre": "",
"sousTitre": "", // Subtitle
"idEntite": 0, // Id of the linked homework or assessment
"date": "2025-10-03", // optional
"idGroupe": 0,
"idClasse": 0,
"periode": "",
"codeMatiere": "FRANC", // Subject code
"codeSSMatiere": "",
"disponible": false, // Available to students
"debute": "", // optional; Started
"fini": "" // optional; Finished
}
],
"travauxafaire": [ // optional; Linked homework
{
"id": 0,
"titre": "",
"sousTitre": "", // Subtitle
"idEntite": 0, // Id of the linked homework or assessment
"date": "2025-10-03" // optional
}
],
"taxonomies": [ // optional; Curriculum topics
{
"id": 0,
"idParent": 0, // Parent topic id
"libelleParent": "", // Parent topic label
"libelle": "", // Label
"libelleDisplay": "", // Display label
"ordre": 0, // Position
"nbQCM": 0, // Quizzes in the topic
"isLeaf": false, // Has no sub-topic
"tabChildren": [] // optional; Sub-topics
}
],
"natCommentaire": "", // optional; Shared quiz: author comment
"natEtablissement": "", // optional; Shared quiz: school
"natOgec": "", // optional; Shared quiz: school code
"natAuteur": "", // optional; Shared quiz: author
"natMotsCles": "", // optional; Shared quiz: keywords
"natNbTelecharge": "", // optional; Shared quiz: times reused
"natScoring": "", // optional; Shared quiz: average rating
"natNbVotants": "" // optional; Shared quiz: number of votes
}
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": {
"id": 1234, // Id of the new quiz
"created": "2025-10-03" // Creation date
}
}

Edit a quiz​

POST /{typeSegment}/{id}/qcms/{idQCM}.awp?verbe=put&v=8.1.0
data={
"qcm": {
"id": 0,
"titre": "",
"introduction": "", // Text shown before starting
"conclusion": "", // Text shown at the end
"baremeBR": 1, // Points for a right answer
"baremeAR": 0, // Points for no answer
"baremeMR": -1, // Points for a wrong answer
"idAuteur": 0, // Author id
"qAleatoire": false, // Shuffle the questions
"masquerCorrectifFE": false, // Hide the correction from students (graded)
"masquerCorrectifFormatif": false, // Hide the correction (formative)
"bloquerRejeuFormatif": false, // Forbid replaying a formative quiz
"introductionDecode": "", // optional
"conclusionDecode": "", // optional
"created": "", // Creation date
"guid": "", // Shared id (empty if not shared)
"efface": false, // Deleted
"nbQuestions": 0, // Number of questions
"etiquettes": [], // optional; Tag ids, comma separated
"evaluations": [ // optional; Linked assessments
{
"id": 0,
"titre": "",
"sousTitre": "", // Subtitle
"idEntite": 0, // Id of the linked homework or assessment
"date": "2025-10-03", // optional
"idGroupe": 0,
"idClasse": 0,
"periode": "",
"codeMatiere": "FRANC", // Subject code
"codeSSMatiere": "",
"disponible": false, // Available to students
"debute": "", // optional; Started
"fini": "" // optional; Finished
}
],
"travauxafaire": [ // optional; Linked homework
{
"id": 0,
"titre": "",
"sousTitre": "", // Subtitle
"idEntite": 0, // Id of the linked homework or assessment
"date": "2025-10-03" // optional
}
],
"taxonomies": [ // optional; Curriculum topics
{
"id": 0,
"idParent": 0, // Parent topic id
"libelleParent": "", // Parent topic label
"libelle": "", // Label
"libelleDisplay": "", // Display label
"ordre": 0, // Position
"nbQCM": 0, // Quizzes in the topic
"isLeaf": false, // Has no sub-topic
"tabChildren": [] // optional; Sub-topics
}
],
"natCommentaire": "", // optional; Shared quiz: author comment
"natEtablissement": "", // optional; Shared quiz: school
"natOgec": "", // optional; Shared quiz: school code
"natAuteur": "", // optional; Shared quiz: author
"natMotsCles": "", // optional; Shared quiz: keywords
"natNbTelecharge": "", // optional; Shared quiz: times reused
"natScoring": "", // optional; Shared quiz: average rating
"natNbVotants": "" // optional; Shared quiz: number of votes
}
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": {
"id": 1234,
"created": "2025-10-03"
}
}

Copy a quiz​

POST /{typeSegment}/{id}/qcms/{idQCM}.awp?verbe=copy&v=8.1.0
data={
"anneeQCMs": "2025-2026", // Target year
"qcm": {
"id": 0,
"titre": "",
"introduction": "", // Text shown before starting
"conclusion": "", // Text shown at the end
"baremeBR": 1, // Points for a right answer
"baremeAR": 0, // Points for no answer
"baremeMR": -1, // Points for a wrong answer
"idAuteur": 0, // Author id
"qAleatoire": false, // Shuffle the questions
"masquerCorrectifFE": false, // Hide the correction from students (graded)
"masquerCorrectifFormatif": false, // Hide the correction (formative)
"bloquerRejeuFormatif": false, // Forbid replaying a formative quiz
"introductionDecode": "", // optional
"conclusionDecode": "", // optional
"created": "", // Creation date
"guid": "", // Shared id (empty if not shared)
"efface": false, // Deleted
"nbQuestions": 0, // Number of questions
"etiquettes": [], // optional; Tag ids, comma separated
"evaluations": [ // optional; Linked assessments
{
"id": 0,
"titre": "",
"sousTitre": "", // Subtitle
"idEntite": 0, // Id of the linked homework or assessment
"date": "2025-10-03", // optional
"idGroupe": 0,
"idClasse": 0,
"periode": "",
"codeMatiere": "FRANC", // Subject code
"codeSSMatiere": "",
"disponible": false, // Available to students
"debute": "", // optional; Started
"fini": "" // optional; Finished
}
],
"travauxafaire": [ // optional; Linked homework
{
"id": 0,
"titre": "",
"sousTitre": "", // Subtitle
"idEntite": 0, // Id of the linked homework or assessment
"date": "2025-10-03" // optional
}
],
"taxonomies": [ // optional; Curriculum topics
{
"id": 0,
"idParent": 0, // Parent topic id
"libelleParent": "", // Parent topic label
"libelle": "", // Label
"libelleDisplay": "", // Display label
"ordre": 0, // Position
"nbQCM": 0, // Quizzes in the topic
"isLeaf": false, // Has no sub-topic
"tabChildren": [] // optional; Sub-topics
}
],
"natCommentaire": "", // optional; Shared quiz: author comment
"natEtablissement": "", // optional; Shared quiz: school
"natOgec": "", // optional; Shared quiz: school code
"natAuteur": "", // optional; Shared quiz: author
"natMotsCles": "", // optional; Shared quiz: keywords
"natNbTelecharge": "", // optional; Shared quiz: times reused
"natScoring": "", // optional; Shared quiz: average rating
"natNbVotants": "" // optional; Shared quiz: number of votes
}
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": {
"id": 1234, // Id of the copy
"created": "2025-10-03"
}
}

Delete a quiz​

POST /{typeSegment}/{id}/qcms/{idQCM}.awp?verbe=delete&v=8.1.0
data={
"anneeQCMs": "2025-2026"
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": ""
}

Import quizzes​

Sent as a raw file body (not data=), e.g. an export from another tool.

POST /{typeSegment}/{id}/qcms.awp?verbe=import&v=8.1.0
data=(raw file)

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": ""
}

Create or edit a tag​

POST /{typeSegment}/{id}/qcms/etiquettes.awp?verbe=post&v=8.1.0
data={
"etiquette": { "id": 0, "libelle": "" } // id 0 to create
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": {
"id": 1234 // Tag id
}
}

Delete a tag​

POST /{typeSegment}/{id}/qcms/etiquettes.awp?verbe=delete&v=8.1.0
data={
"anneeQCMs": "2025-2026",
"ids": [1234]
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": ""
}

Set the tags of a quiz​

POST /{typeSegment}/{id}/qcms/{idQCM}.awp?verbe=patch&v=8.1.0
data={
"action": "updateEtiquettes",
"etiquettes": "1,2" // Tag ids, comma separated
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": ""
}

Questions of a quiz​

POST /{typeSegment}/{id}/qcms/{idQCM}/questions.awp?verbe=get&v=8.1.0
data={
"anneeQCMs": "2025-2026"
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": [
{
"id": 0,
"question": "",
"enonce": "",
"remediation": "", // Hint to review
"titreSon": "", // Audio title
"uncSon": "", // Audio cloud path
"srcSon": "", // Audio URL
"typeQ": "", // Question kind
"ordre": 0, // Position
"aleatoire": false, // Shuffle the choices
"propositions": [ // optional; Answer choices
{
"id": 0,
"enonce": "",
"enonceDecode": "", // optional
"choisie": "", // optional; Selected by the student
"valide": false, // Right answer
"correctif": "", // Explanation shown after answering
"correctifDecode": "" // optional
}
],
"questionDecode": "", // optional
"enonceDecode": "", // optional
"remediationDecode": "" // optional
}
]
}

Create a question​

POST /{typeSegment}/{id}/qcms/{idQCM}/questions.awp?verbe=post&v=8.1.0
data={
"question": {}, // Same fields as returned above, id 0
"duplicate": false // true when copying an existing question
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": {}
}

Edit a question​

POST /{typeSegment}/{id}/qcms/{idQCM}/questions/{idQuestion}.awp?verbe=put&v=8.1.0
data={
"question": {}
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": {}
}

Reorder a question​

POST /{typeSegment}/{id}/qcms/{idQCM}/questions/{idQuestion}.awp?verbe=patch&v=8.1.0
data={
"action": "updateordre",
"question": {} // With its new ordre
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": ""
}

Set the audio of a question​

POST /{typeSegment}/{id}/qcms/{idQCM}/questions/{idQuestion}.awp?verbe=patch&v=8.1.0
data={
"action": "updateson", // supprimeson removes it
"question": {} // With uncSon / titreSon
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": {}
}

Delete a question​

POST /{typeSegment}/{id}/qcms/{idQCM}/questions/{idQuestion}.awp?verbe=delete&v=8.1.0
data={}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": ""
}

Possible associations​

Homework and assessments the quiz can be attached to, and those already linked. Returned as-is.

POST /{typeSegment}/{id}/qcms/{idQCM}/associations.awp?verbe=get&v=8.1.0
data={}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": {}
}

Attach to an assessment​

POST /{typeSegment}/{id}/qcms/{idQCM}/associations.awp?verbe=post&v=8.1.0
data={
"idEntite": 1234, // Assessment id
"typeEntite": "EVALUATION"
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": {
"id": 1234 // Association id
}
}

Attach to a homework​

POST /{typeSegment}/{id}/qcms/{idQCM}/associations.awp?verbe=post&v=8.1.0
data={
"idEntite": 1234, // Homework (idCDT)
"typeEntite": "CDT"
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": {
"id": 1234 // Association id
}
}

Edit association settings​

Send the settings object the app edits (availability, dates, options).

POST /{typeSegment}/{id}/qcms/{idQCM}/associations/{idAssociation}.awp?verbe=put&v=8.1.0
data={}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": ""
}

Remove an association​

POST /{typeSegment}/{id}/qcms/{idQCM}/associations/{idAssociation}.awp?verbe=delete&v=8.1.0
data={}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": ""
}

Start a quiz​

POST /{typeSegment}/{id}/qcms/{idQCM}.awp?verbe=patch&v=8.1.0
data={
"action": "startQCM", // stopQCM to close it
"idAssociation": 1234
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": ""
}

Stop a quiz​

POST /{typeSegment}/{id}/qcms/{idQCM}.awp?verbe=patch&v=8.1.0
data={
"action": "stopQCM",
"idAssociation": 1234
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": {}
}

Refresh participants​

Re-reads the students of the linked class (new arrivals).

POST /{typeSegment}/{id}/qcms/{idQCM}/associations/{idAssociation}.awp?verbe=patch&v=8.1.0
data={
"action": "refreshParticipants",
"idEntite": 1234,
"typeEntite": "CDT"
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": ""
}

Remove the automation​

POST /{typeSegment}/{id}/qcms/{idQCM}/associations/{idAssociation}.awp?verbe=patch&v=8.1.0
data={
"action": "deleteAutomatisation"
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": ""
}

Results of an association​

POST /{typeSegment}/{id}/qcms/{idQCM}/associations/{idAssociation}/resultats.awp?verbe=get&v=8.1.0
data={
"anneeQCMs": "2025-2026"
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": {
"questions": [ // optional
{
"id": 0,
"question": "",
"enonce": "",
"remediation": "", // Hint to review
"titreSon": "", // Audio title
"uncSon": "", // Audio cloud path
"srcSon": "", // Audio URL
"typeQ": "", // Question kind
"ordre": 0, // Position
"aleatoire": false, // Shuffle the choices
"propositions": [ // optional; Answer choices
{
"id": 0,
"enonce": "",
"enonceDecode": "", // optional
"choisie": "", // optional; Selected by the student
"valide": false, // Right answer
"correctif": "", // Explanation shown after answering
"correctifDecode": "" // optional
}
],
"questionDecode": "", // optional
"enonceDecode": "", // optional
"remediationDecode": "" // optional
}
],
"reponsesEleves": [ // optional; One entry per student
{
"idEleve": 0,
"idParticipant": 0, // Participation id
"nom": "",
"prenom": "",
"particule": "", // Name particle
"photo": "", // Photo URL
"sexe": "", // `M` or `F`
"lance": 0, // Times launched
"nbPoints": 0,
"nbBR": 0, // Right answers
"nbMR": 0, // Wrong answers
"nbAR": 0, // Unanswered
"pourcReussite": 0, // Success rate, %
"classement": 0, // Rank
"note": "",
"reponses": [ // optional; Answers given
{
"id": 0,
"idQuestion": 0, // Question id
"idParticipant": 0, // Participation id
"choix": 0, // optional; Chosen propositions
"choixDecode": "", // optional
"repondu": "", // optional; Answered
"resultat": "", // optional; Result: right, wrong…
"points": "" // optional; Points earned
}
],
"debute": "", // optional; Started
"fini": "" // optional; Finished
}
],
"solutions": [ // optional; Right answers per question
{
"idQuestion": 0, // Question id
"remediation": "", // Hint to review
"choix": 0, // optional; Chosen propositions
"choixDecode": "" // optional
}
],
"statsQuestions": [ // optional; Statistics per question
{
"id": 0,
"question": "",
"nbBR": 0, // Right answers
"nbMR": 0, // Wrong answers
"nbAR": 0 // Unanswered
}
]
}
}

Curriculum topics​

The topic tree used to classify shared quizzes.

POST /{typeSegment}/{id}/qcms/taxonomie.awp?verbe=get&v=8.1.0
data={}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": [] // Topics: id, idParent, libelle, libelleDisplay, ordre, nbQCM, isLeaf, tabChildren
}