Skip to main content
Version: 8.1.0

๐Ÿ‘ฅ Contacts

{context}: messagerie for the mailbox, other values when the recipient picker is used from another module.

Teachersโ€‹

{context} is messagerie for normal mails; associationParents, espaceTravail, rdv or fs when picking recipients from those modules. nom filters by name. The filter key is idClasse by default, idNiveau or idEtab to list a whole level or school; use id 0 for all. The list is wrapped: { "contacts": [...] }.

POST /{context}/contacts/professeurs.awp?verbe=get&nom={name}&{idClasse|idNiveau|idEtab}={id}&v=8.1.0
data={}

Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).

Response
{
"code": 200,
"message": "",
"data": {
"contacts": [] // array of โ†’ Contact
}
}

Studentsโ€‹

recupAll=1 returns everyone, onlyPresents=1 only present students. The list is wrapped: { "contacts": [...] }.

POST /{context}/contacts/eleves.awp?verbe=get&idClasse={id}&idGroupe={id}&idMatiere={id}&nom={name}&recupAll=0&idEspace={id}&onlyPresents=0&v=8.1.0
data={}

Accounts: Teacher (P), Staff (A). Host apip.

Response
{
"code": 200,
"message": "",
"data": {
"contacts": [] // array of โ†’ Contact
}
}

Familiesโ€‹

Contacts of the families of the students selected by the filters. The list is wrapped: { "contacts": [...] }.

POST /{context}/contacts/familles.awp?verbe=get&idClasse={id}&idGroupe={id}&idMatiere={id}&codeMatiere={code}&nom={name}&recupAll=0&v=8.1.0
data={}

Accounts: Teacher (P), Staff (A). Host apip.

Response
{
"code": 200,
"message": "",
"data": {
"contacts": [] // array of โ†’ Contact
}
}

Staffโ€‹

School staff. The list is wrapped: { "contacts": [...] }.

POST /{context}/contacts/personnels.awp?verbe=get&v=8.1.0
data={}

Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).

Response
{
"code": 200,
"message": "",
"data": {
"contacts": [] // array of โ†’ Contact
}
}

Companies and tutorsโ€‹

Company tutors. The list is wrapped: { "contacts": [...] }.

POST /{context}/contacts/entreprises.awp?verbe=get&v=8.1.0
data={}

Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).

Response
{
"code": 200,
"message": "",
"data": {
"contacts": [] // array of โ†’ Contact
}
}

Workspace membersโ€‹

Members of a workspace. The list is wrapped: { "contacts": [...] }.

POST /{context}/contacts/espacesTravail.awp?verbe=get&idEspace={idEspace}&v=8.1.0
data={}

Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).

Response
{
"code": 200,
"message": "",
"data": {
"contacts": [] // array of โ†’ Contact
}
}

My contact listsโ€‹

Saved recipient lists.

POST /messagerie/contacts/listesContacts.awp?verbe=get&v=8.1.0
data={}

Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).

Response
{
"code": 200,
"message": "",
"data": {
"contacts": [] // Lists, each with its libelle and contacts[].destinataires
}
}

Create a contact listโ€‹

POST /messagerie/contacts/listesContacts.awp?verbe=post&v=8.1.0
data={
"libelle": "",
"contacts": [] // Recipient groups, same shape as groupesDestinataires
}

Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).

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

Delete a contact listโ€‹

POST /messagerie/contacts/listesContacts.awp?verbe=delete&v=8.1.0
data={
"idListeContacts": 1234
}

Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).

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

Tutor contactsโ€‹

Contact details of the tutors of apprentices. Returned as-is.

GET /restv3/ws/tuteurs/infoscontacts?v=8.1.0
(no body)

Accounts: Teacher (P), Staff (A), Tutor (T). REST endpoint, no envelope.

Response
[]