Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:mervis-scada:50-api [2025/07/24 08:16]
m.skrivanek [[Depricated] api/get/history]
en:mervis-scada:50-api [2025/07/24 08:46] (current)
m.skrivanek [api/v2/get/authenticate]
Line 54: Line 54:
  
 **Response** **Response**
 +
 +     * token (string) - Authentication token for calling other API methods.
 +     * tokenValidFor (TimeSpan) - The duration for which the provided token is valid. This value is not returned if a token wasn't provided or if its validity period isn't configured. Example: "P1D" indicates a validity of 1 day.
 +     * changePwdBefore (DateTime or null) - If present, this specifies the date and time by which the current password must be changed. This period is determined by the domain's password policies, starting from the last password change. Example: "2026-12-21T13:26:42Z".
 +     * notifyNearingPwdExpirationIn (TimeSpan or null) - If present, this indicates how long before the password expires (refer to changePwdBefore) a notification should be displayed to the user. Example: "P8DT22H16M12S" (meaning just over 8 days).
 +
 +
  
 <code javascript> <code javascript>
Line 77: Line 84:
     }     }
 }</code> }</code>
- 
-  * You **should** use the received **Token** in subsequent API calls. 
- 
- 
 ====[Deprecated] api/checkCredentials==== ====[Deprecated] api/checkCredentials====
  
  • © Energocentrum Plus, s.r.o. 2017 - 2025