...
- faire un premier appel (POST) au serveur OAuth pour récupérer le token
- utiliser ce token pour appeler l'API (GET)
Récupération du token
POST POST https://authn-app.[univ].pc-scol.fr/cas/v1/tickets?username=[id]&password=[pwd]
L'id et le pwd à passer sont ceux permettant d'identifier MDW auprès du serveur OAuth de Pégase.
Appel de l'API
GET https://ins.[univ].pc-scol.fr/api/v5/ins/gestion/inscription/[codeEtablissement]/[codeApprenant]/
...