Skip to content

New endpoint to search in "your contact-information" by email-address #589

@tba76

Description

@tba76

Description

  • Deliver a search endpoint GET /profile/api/v1/dashboard/organizations/{orgNumber}/contactinformation/email (route must be decided during the task) that returns all organisations where the email-address is registered.
  • New index in table to support search by email
  • Align the response schema with existing DashboardController payload conventions so the Support Dashboard can present contact data consistently

Acceptance criteria

  • Authenticated callers with the Dashboard Maskinporten scope can retrieve organisations for any email-address present in "your contact.information".
  • Empty or missing organisation results in a successful response with an empty collection and no partial failures.
  • Unauthenticated or insufficient-scope requests are rejected with 401/403 and audited.
  • Contract examples are documented in Swagger/OpenAPI.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

💻 In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions