Users
Get User Info
Changed onRetrieves user-info for the currently authenticated user.
get/api/user/v1/user-info
Request
- The document declares no server URL.
- AuthOpenID Connect (http://localhost:6999/realms/agate/.well-known/openid-configuration, scopes: agridata.ch.Agridata_Einwilliger, agridata.ch.Agridata_Datenbezueger, agridata.ch.Agridata_Admin, agridata.ch.Agridata_Support, agridata.ch.Agridata_Datenanbieter)
Response
OK
Example response
{
"agateLoginId": "1234567",
"ktIdP": "ZH123456",
"uid": "CHE123456789",
"givenName": "Anna",
"familyName": "Muster",
"email": "anna.muster@example.com",
"phoneNumber": "+41331234567",
"mobileNumber": "+41791234567",
"addressStreet": "Bahnhofstrasse 10",
"addressLocality": "Zürich",
"addressPostalCode": "8001",
"addressCountry": "CH",
"lastLoginDate": "2022-03-10T12:15:50",
"userPreferences": {
"mainMenuOpened": true,
"activeUid": "CHE123456789",
"dismissedMigratedIds": [
"a5b1d2e3-4f6a-2b7c-6d0e-9f1a3b5c7d9e"
],
"hasSeenConsentRequestTourIntro": true
},
"lastAcceptedAgbDate": "2022-03-10T12:15:50",
"enforceAgbAcceptanceFrom": "2022-03-10T12:15:50"
}Changes
- warning
added the new
EXPORT_CAPACITY_EXHAUSTEDenum value to theresponse property for the response status - warning
added the new
EXPORT_CAPACITY_EXHAUSTEDenum value to theresponse property for the response status - warning
added the new
EXPORT_LIMIT_EXCEEDEDenum value to theresponse property for the response status - warning
added the new
EXPORT_LIMIT_EXCEEDEDenum value to theresponse property for the response status
- warning
- warning
added the new
UID_CLAIM_MISSINGenum value to theresponse property for the response status - warning
added the new
UID_CLAIM_MISSINGenum value to theresponse property for the response status
- warning