REST - Logon - PasswordReset

REST-Interface

Zurück zur Übersicht

login by LoginToken

Checks if hash is valid, logs-in the user, and redirects to ui.
URL
GET <application-url>/api/logon/passwordreset/<loginTokenSeriesIdBase64>/<loginTokenBase64>

Path parameter

  • loginTokenSeriesIdBase64
  • loginTokenBase64

Query parameter

  • dataSourceName
    The desired dataSource name
  • overwriteServerUrl
    Special option for webdev:
    possibility to overwrite the serverUrl of the datasource.
    Format: http://localhost:8080

Produces

  • 303 SEE_OTHER

Permission
-

Sample
GET http://localhost:8080/mtr-backend/api/logon/passwordreset/xxx/xxx


send login link

Send a temporary login-link to “login”.
URL
PUT <application-url>/api/logon/passwordreset

Query parameter

  • languageKey
    possible: de, en, fr, it, ...
    default: de
    The requested language

Consumes

application/json
application/xml

com.matterial.mtr.api.object.Logon

Produces

text/plain

String - “accepted”, “notSend”

  • 202 ACCEPTED
  • 304 NOT_MODIFIED
  • 500 INTERNAL_SERVER_ERROR

Permission
-

Sample
PUT http://localhost:8080/mtr-backend/api/logon/passwordreset

×