๐ฅ 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": [...] }.
data={}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": "",
"data": {
"contacts": [] // array of โ Contact
}
}
Staffโ
School staff. The list is wrapped: { "contacts": [...] }.
data={}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": "",
"data": {
"contacts": [] // array of โ Contact
}
}
Companies and tutorsโ
Company tutors. The list is wrapped: { "contacts": [...] }.
data={}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": "",
"data": {
"contacts": [] // array of โ Contact
}
}
Workspace membersโ
Members of a workspace. The list is wrapped: { "contacts": [...] }.
data={}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": "",
"data": {
"contacts": [] // array of โ Contact
}
}
My contact listsโ
Saved recipient lists.
data={}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": "",
"data": {
"contacts": [] // Lists, each with its libelle and contacts[].destinataires
}
}
Create a contact listโ
data={
"libelle": "",
"contacts": [] // Recipient groups, same shape as groupesDestinataires
}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": ""
}
Delete a contact listโ
data={
"idListeContacts": 1234
}
Accounts: Student (E), Family (1ยท2), Teacher (P), Staff (A).
{
"code": 200,
"message": ""
}