Routes verified from the controllers 2026-07-21; host by live capture. Class-level [Authorize].

Live: the list loaded from middleware-dev.paidhr.com/admin/announcements/select; core-backend also exposes Admin/Announcements/*. Split not fully mapped — technical §8.


Admin/AnnouncementsController — [Admin/Announcements] (20)

Announcements

Method Route Purpose
GET Select List announcements.
GET View/Detail · View/Customize Detail / content editor.
POST Add · CreateAnnouncement Create.
POST Save Save content.
POST Finish Publish — fan-out + email the audience.
POST Read Mark a recipient's copy read.
POST Delete · Remove · Restore Soft-delete lifecycle.

Audience & groups

Method Route Purpose
POST GetAudiences Resolve an audience type + selection → people.
GET View/Groups · SelectGroups · GetGroups Group reads.
GET Check_Group Duplicate-name check.
POST Add_Group Create a group.
POST Update_Group_Members · Update_Group_Name Edit a group.
POST Delete_Group Delete a group.

Admin/Welcome_MessagesController — [Admin/Welcome_Messages] (12)

Backed by OnboardingNote (via _noteService) — "Welcome Message" is the product name.

Method Route Purpose
GET Select · Get · GetContent List / detail / content.
GET View/Detail · View/Customize · View/Ready Editor screens.
GET Check Validation.
POST Add · Save · Finish Create / save / finalise.
POST Delete Delete.
POST Make_Default Set the default welcome message new hires see.

Key flows

Announcement:  Add → Save(content) → Finish (publish → EmployeeAnnouncement rows + email)
               Read → mark IsRead/ReadDate
Audience:      GetAudiences(type, selection) → target people
Group:         Add_Group → Update_Group_Members → (target as Audience=Group)
Welcome:       Add → Save → Finish → Make_Default

Not in this API

The Performance announcement-queue workers are BackgroundServices, not endpoints. See Performance. (RFD-001)

Auth & tenancy

Authorization: Bearer <token>; tenant from claims (Identity). CompanyId-scoped (TenantDb). can_create_announcements gates creation.


Related