Skip to main content
Version: 8.1.0

📚 Programme catalogue

Verbs get, post, put, delete.

Catalogue​

The programme catalogue: domains, skills and programme elements. {scope} is the value the app passes first (not set by any screen of this build). Programme elements are what a homework or lesson links to (see Link a programme element).

POST /{scope}/competences/catalogue.awp?verbe=get&v=8.1.0
data={}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": [
{
"id": 0,
"code": "",
"libelle": "", // Label
"modifiable": false, // The user may change it
"competences": [ // optional
{
"id": 0,
"libelle": "", // Label
"isSysteme": false, // Provided by the system, read-only
"personnalise": "", // optional; Added by a teacher
"idProf": 1234, // optional; Teacher who added it
"elementsProgramme": [ // optional; Programme elements
{
"idOrigineCatalogue": "", // Id of the element in the catalogue
"idConnaissance": 0, // optional; Knowledge id
"libelle": "", // Label
"imprime": false, // Printed on reports
"idCompetence": 0, // Skill id
"libelleCompetence": "", // Skill label
"composantes": [ // optional; Components of the skill
{
"id": 0,
"code": "",
"libelle": "" // Label
}
],
"connaissancesAssociees": [ // optional; Linked knowledge
{
"id": 0,
"libelle": "", // Label
"isSysteme": false, // Provided by the system, read-only
"personnalise": "", // optional; Added by a teacher
"idProf": 1234 // optional; Teacher who added it
}
],
"bareme": "", // optional; Scale
"idMatiere": 1234, // optional
"libelleMatiere": "", // optional
"id": 1234, // optional
"personnalise": "", // optional; Added by a teacher
"idProf": 1234, // optional; Teacher who added it
"pourcentageEvaluation0": "", // optional; Weight of level 0, %
"pourcentageEvaluation1": "", // optional; Weight of level 1, %
"pourcentageEvaluation2": "", // optional; Weight of level 2, %
"pourcentageEvaluation3": "", // optional; Weight of level 3, %
"pourcentageEvaluation4": "", // optional; Weight of level 4, %
"afc": "" // optional; Linked to the AFC framework
}
],
"editable": false, // optional
"temporaire": "" // optional
}
]
}
]
}

Add a skill​

POST /{scope}/catalogue/{idDomaine}/competences.awp?verbe=post&v=8.1.0
data={
"libelle": ""
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": {
"id": 1234, // Id of the skill
"isSysteme": false
}
}

Rename a skill​

POST /{scope}/catalogue/{idDomaine}/competences/{idCompetence}.awp?verbe=put&v=8.1.0
data={
"libelle": ""
}

Accounts: Teacher (P). Host apip.

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

Delete a skill​

POST /{scope}/catalogue/{idDomaine}/competences/{idCompetence}.awp?verbe=delete&v=8.1.0
data={}

Accounts: Teacher (P). Host apip.

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

Add a programme element​

The app merges data into the element it sent, so data carries the fields the server assigns (ids).

POST /{scope}/catalogue/{idDomaine}/competences/{idCompetence}/elements.awp?verbe=post&v=8.1.0
data={
"idOrigineCatalogue": "", // Id of the element in the catalogue
"idConnaissance": 0, // optional; Knowledge id
"libelle": "", // Label
"imprime": false, // Printed on reports
"idCompetence": 0, // Skill id
"libelleCompetence": "", // Skill label
"composantes": [ // optional; Components of the skill
{
"id": 0,
"code": "",
"libelle": "" // Label
}
],
"connaissancesAssociees": [ // optional; Linked knowledge
{
"id": 0,
"libelle": "", // Label
"isSysteme": false, // Provided by the system, read-only
"personnalise": "", // optional; Added by a teacher
"idProf": 1234 // optional; Teacher who added it
}
],
"bareme": "", // optional; Scale
"idMatiere": 1234, // optional
"libelleMatiere": "", // optional
"id": 1234, // optional
"personnalise": "", // optional; Added by a teacher
"idProf": 1234, // optional; Teacher who added it
"pourcentageEvaluation0": "", // optional; Weight of level 0, %
"pourcentageEvaluation1": "", // optional; Weight of level 1, %
"pourcentageEvaluation2": "", // optional; Weight of level 2, %
"pourcentageEvaluation3": "", // optional; Weight of level 3, %
"pourcentageEvaluation4": "", // optional; Weight of level 4, %
"afc": "" // optional; Linked to the AFC framework
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": {} // The element completed with its ids
}

Edit a programme element​

POST /{scope}/catalogue/{idDomaine}/elements/{idOrigineCatalogue}.awp?verbe=put&v=8.1.0
data={
"idOrigineCatalogue": "", // Id of the element in the catalogue
"idConnaissance": 0, // optional; Knowledge id
"libelle": "", // Label
"imprime": false, // Printed on reports
"idCompetence": 0, // Skill id
"libelleCompetence": "", // Skill label
"composantes": [ // optional; Components of the skill
{
"id": 0,
"code": "",
"libelle": "" // Label
}
],
"connaissancesAssociees": [ // optional; Linked knowledge
{
"id": 0,
"libelle": "", // Label
"isSysteme": false, // Provided by the system, read-only
"personnalise": "", // optional; Added by a teacher
"idProf": 1234 // optional; Teacher who added it
}
],
"bareme": "", // optional; Scale
"idMatiere": 1234, // optional
"libelleMatiere": "", // optional
"id": 1234, // optional
"personnalise": "", // optional; Added by a teacher
"idProf": 1234, // optional; Teacher who added it
"pourcentageEvaluation0": "", // optional; Weight of level 0, %
"pourcentageEvaluation1": "", // optional; Weight of level 1, %
"pourcentageEvaluation2": "", // optional; Weight of level 2, %
"pourcentageEvaluation3": "", // optional; Weight of level 3, %
"pourcentageEvaluation4": "", // optional; Weight of level 4, %
"afc": "" // optional; Linked to the AFC framework
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": {
"idOrigineCatalogue": "", // Id of the element in the catalogue
"idConnaissance": 0, // optional; Knowledge id
"libelle": "", // Label
"imprime": false, // Printed on reports
"idCompetence": 0, // Skill id
"libelleCompetence": "", // Skill label
"composantes": [ // optional; Components of the skill
{
"id": 0,
"code": "",
"libelle": "" // Label
}
],
"connaissancesAssociees": [ // optional; Linked knowledge
{
"id": 0,
"libelle": "", // Label
"isSysteme": false, // Provided by the system, read-only
"personnalise": "", // optional; Added by a teacher
"idProf": 1234 // optional; Teacher who added it
}
],
"bareme": "", // optional; Scale
"idMatiere": 1234, // optional
"libelleMatiere": "", // optional
"id": 1234, // optional
"personnalise": "", // optional; Added by a teacher
"idProf": 1234, // optional; Teacher who added it
"pourcentageEvaluation0": "", // optional; Weight of level 0, %
"pourcentageEvaluation1": "", // optional; Weight of level 1, %
"pourcentageEvaluation2": "", // optional; Weight of level 2, %
"pourcentageEvaluation3": "", // optional; Weight of level 3, %
"pourcentageEvaluation4": "", // optional; Weight of level 4, %
"afc": "" // optional; Linked to the AFC framework
}
}

Delete a programme element​

POST /{scope}/catalogue/{idDomaine}/elements/{idOrigineCatalogue}.awp?verbe=delete&v=8.1.0
data={}

Accounts: Teacher (P). Host apip.

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

Add linked knowledge​

POST /{scope}/catalogue/{idDomaine}/elements/{idOrigineCatalogue}/ca.awp?verbe=post&v=8.1.0
data={
"id": 0,
"libelle": "", // Label
"isSysteme": false, // Provided by the system, read-only
"personnalise": "", // optional; Added by a teacher
"idProf": 1234 // optional; Teacher who added it
}

Accounts: Teacher (P). Host apip.

Response
{
"code": 200,
"message": "",
"data": {} // The knowledge completed with its id
}

Edit linked knowledge​

POST /{scope}/catalogue/{idDomaine}/elements/{idOrigineCatalogue}/ca/{idConnaissance}.awp?verbe=put&v=8.1.0
data={
"id": 0,
"libelle": "", // Label
"isSysteme": false, // Provided by the system, read-only
"personnalise": "", // optional; Added by a teacher
"idProf": 1234 // optional; Teacher who added it
}

Accounts: Teacher (P). Host apip.

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

Delete linked knowledge​

POST /{scope}/catalogue/{idDomaine}/elements/{idOrigineCatalogue}/ca/{idConnaissance}.awp?verbe=delete&v=8.1.0
data={}

Accounts: Teacher (P). Host apip.

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