Users
Comprueba, en servidor (sin abrir ventana en el cliente), si el colegio del usuario tiene acceso a CAF Notifica (afcservicios). Obtiene el token, monta los MISMOS campos que el POST-form del front y hace el POST a `application/redirect/` SIN seguir el redirect, para leer el status real: - 3xx (302) -> la plataforma acepta -> status "ok" - 412 Precondition Failed -> colegio NO dado de alta -> status "no-access" - resto / excepción -> problema de conexión -> status "error" El front usa esto para decidir SIN abrir la pestaña: solo abre CAF Notifica si status == "ok"; si "no-access" muestra un aviso de alta; si "error", un aviso de reintentar más tarde.
get/api/v1/Users/cafbl/access-check
Request
- Base URL: https://api.cafportal.es (the document declares no server; this is the origin it was published from)
- URL: https://api.cafportal.es/api/v1/Users/cafbl/access-check
- Auth: OAuth 2 (implicit, authorization URL https://api.cafportal.es/connect/authorize)
Query parameters
targetUrlstring
officestring
rolestring
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.