GET v3/me/teams/{teamId}/announcements?top={top}
PARTICIPANT (member-self) TEAM ANNOUNCEMENTS — read-only team announcement feed for the participant intramural portal. Mirrors GetNetworkAnnouncements (MeV3Controller.cs:1434) but at Team scope: wraps the page-pure Business.Announcement.GetLatestAnnouncements (imLeagues/BLL/Announcement.cs:553 — raw SQL "select top N * from Announcements where Type=@Type and OwnerId=@OwnerID order by AnnouncDate desc", NO admin gate) for OwnerType.Team (=4) and projects to the same small camelCase VO. Unlike the School read (public school info), a TEAM feed is member-scoped, so the caller must have a roster row on the team (TeamMembers.Create(curUserId, teamId).Exists — the same membership predicate the captain/admin gates build on); a non-member gets an empty list. curUserId is forced from the token to keep the route member-self by convention (no body / no caller-supplied identity is trusted).
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| teamId | team id whose announcements to read |
Define this parameter in the request URI. |
| top | max rows to return (default 10) |
Define this parameter in the request URI. |
Response Information
list of ParticipantAnnouncementOutVO ordered newest-first
Response body formats
application/json, text/json
[
{
"id": 1,
"title": "sample string 2",
"body": "sample string 3",
"postedAt": "sample string 4",
"updatedBy": "sample string 5"
},
{
"id": 1,
"title": "sample string 2",
"body": "sample string 3",
"postedAt": "sample string 4",
"updatedBy": "sample string 5"
},
{
"id": 1,
"title": "sample string 2",
"body": "sample string 3",
"postedAt": "sample string 4",
"updatedBy": "sample string 5"
}
]
application/xml, text/xml
<ArrayOfParticipantAnnouncementOutVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Web.API.Models.Output.V3.Views.Mobile.Me">
<ParticipantAnnouncementOutVO>
<Body>sample string 3</Body>
<Id>1</Id>
<PostedAt>sample string 4</PostedAt>
<Title>sample string 2</Title>
<UpdatedBy>sample string 5</UpdatedBy>
</ParticipantAnnouncementOutVO>
<ParticipantAnnouncementOutVO>
<Body>sample string 3</Body>
<Id>1</Id>
<PostedAt>sample string 4</PostedAt>
<Title>sample string 2</Title>
<UpdatedBy>sample string 5</UpdatedBy>
</ParticipantAnnouncementOutVO>
<ParticipantAnnouncementOutVO>
<Body>sample string 3</Body>
<Id>1</Id>
<PostedAt>sample string 4</PostedAt>
<Title>sample string 2</Title>
<UpdatedBy>sample string 5</UpdatedBy>
</ParticipantAnnouncementOutVO>
</ArrayOfParticipantAnnouncementOutVO>
multipart/form-data
Sample not available.