Users

Used to get generic data about users.

Endpoints

TypeURIDescription
POST./utilizatoriCreate an account.
GET./utilizatori/profileUsed to get basic data about the user. (eg type, name, email, permissions, roles etc )
GET./utilizatori/profile_usernameIt is used to retrieve information about a username
GET./utilizatori/infoIt is used to retrieve information about a user.
GET./utilizatori/infosIt is used to retrieve information about users..
GET./utilizatori/preferinteIt is used to get user's preferences
PUT./utilizatori/preferinteIt is used to setup user's preferences.
POST./utilizatori/send_access_codeIt is used to send a access code to a user.
POST./utilizatori/send_passwordIt is used to send a unique password via SMS or to send a link via E-mail to recover password
GET./utilizatori/searchSearch users (students, parents, teachers) after first name or last name;
GET./utilizatori/pushtokThe endpoint will return the list will all tokens that are associated to a user.
POST./utilizatori/pushtokAdd a new token for a user.
DELETE./utilizatori/pushtokDelete a token.
GET./utilizatori/signatories/secretariesGet all secretaries
GET./utilizatori/signatories/headmastersGet all headmasters