-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API endpoint for getting UserProfile by username
#104 Adds an API endpoint in altinn-profile: profile/api/v1/users/?username={username} which consumes the newly added SBL bridge API: /sblbridge/profile/api/users/?username={username}
- Loading branch information
Jon Kjetil Øye
committed
Oct 31, 2023
1 parent
7413143
commit 87ff2de
Showing
7 changed files
with
296 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
test/Altinn.Profile.Tests/Testdata/UserProfile/OrstaECUser.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"UserId": 2001072, | ||
"UserType": 3, | ||
"UserName": "OrstaECUser", | ||
"ExternalIdentity": "", | ||
"PhoneNumber": null, | ||
"Email": null, | ||
"PartyId": 50005545, | ||
"Party": { | ||
"PartyTypeName": 2, | ||
"SSN": "", | ||
"OrgNumber": "910459880", | ||
"Person": null, | ||
"Organization": { | ||
"OrgNumber": "910459880", | ||
"Name": "ØRSTA OG HEGGEDAL", | ||
"UnitType": "AS", | ||
"TelephoneNumber": "12345678", | ||
"MobileNumber": "99999999", | ||
"FaxNumber": "12345679", | ||
"EMailAddress": "test@test.test", | ||
"InternetAddress": null, | ||
"MailingAddress": null, | ||
"MailingPostalCode": "", | ||
"MailingPostalCity": "", | ||
"BusinessAddress": null, | ||
"BusinessPostalCode": "", | ||
"BusinessPostalCity": "", | ||
"UnitStatus": "N" | ||
}, | ||
"PartyId": 50005545, | ||
"UnitType": "AS", | ||
"Name": "ØRSTA OG HEGGEDAL ", | ||
"IsDeleted": false, | ||
"OnlyHierarchyElementWithNoAccess": false, | ||
"ChildParties": null | ||
}, | ||
"ProfileSettingPreference": { | ||
"Language": "nb", | ||
"PreSelectedPartyId": 0, | ||
"DoNotPromptForParty": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters