Closed SandGrainOne closed 6 months ago
profile/api/units/partycontactpoints
in Bridge currently requires the partyId (GUID) for lookup. We could change this to requiring the organisation number to avoid the need of an initial lookup of the partyId before retrieving the contact points.
Verified in at22. Request body: ["989271156", "989271157", "989271153"] Response body:
[
{
"PartyId": "18dffb14-28e6-46f4-be2e-795cd75ece4c",
"LegacyPartyId": 51206047,
"OrganisationNumber": "989271156",
"ContactPoints": [
{
"LegacyUserId": 20000000,
"Email": "",
"PhoneNumber": "99315829"
}
]
}
]
Description
The personal contact information that users can register for an organisation is currently maintained and kept in Altinn 2. To access the data from Altinn 3 we need to create a new lookup endpoint in SblBridge.
The endpoint needs to use data from Profile. Specifically the unit profile services. It should be possible to retrieve the information for multiple organisations at the time.
Consideration
Specification
SBL InternalUserProfileProxy.GetReporteeNotificationEndPointsForReportee
Tasks
General tasks
Acceptance criteria