Login Action
Description
Old login service. This service is deprecated and it is recommended to use the new login instead
URL
The URL of the production service is available at
Production
- API: https://api.nalandaglobal.com/remote/auth/login.action
- CLOCKINGS: https://iot.nalandaglobal.com/remote/auth/login.action
Preproduction
- API: https://api.pre.nalandaglobal.net/remote/auth/login.action
- CLOCKINGS: https://iot.pre.nalandaglobal.net/remote/auth/login.action
Operations
Fichar-action
Request:
{
"userName": "USERNAME",
"password": "PASSWORD",
}
Request fields: userName: Portal user with permission to access the information. password: Password associated with the user.
Response:
{
"access_token": "TOKEN_DE_ACCESO_AL_SISTEMA"
}
The token currently has a maximum duration of one month and it is necessary to send it in all other requests in the header: Authorization : Bearer TOKEN_ACCESS_TO_SYSTEM_TOKEN