Api Home > Announcement > GetAllAnnouncements

GET api/V3/Announcement/GetAllAnnouncements?languageCode={languageCode} Returns all announcements for specified language code.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
languageCode

The 3-letter language code

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Announcement
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Title

string

None.

Priority

string

None.

PriorityId

globally unique identifier

None.

Body

string

None.

AccessGroupId

globally unique identifier

None.

StartDate

date

None.

EndDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "06406177-04d0-4a4e-8241-3cd6730e9388",
    "Title": "sample string 2",
    "Priority": "sample string 3",
    "PriorityId": "df4dc5c3-9f6a-47a9-b7b0-98a0587f3ce8",
    "Body": "sample string 5",
    "AccessGroupId": "a76901b3-d83f-4d3b-b38f-1b9b58894eac",
    "StartDate": "2019-12-07T23:53:03.809Z",
    "EndDate": "2019-12-07T23:53:03.809Z"
  },
  {
    "Id": "06406177-04d0-4a4e-8241-3cd6730e9388",
    "Title": "sample string 2",
    "Priority": "sample string 3",
    "PriorityId": "df4dc5c3-9f6a-47a9-b7b0-98a0587f3ce8",
    "Body": "sample string 5",
    "AccessGroupId": "a76901b3-d83f-4d3b-b38f-1b9b58894eac",
    "StartDate": "2019-12-07T23:53:03.809Z",
    "EndDate": "2019-12-07T23:53:03.809Z"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAnnouncement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cireson.ServiceManager.WebConsole.ViewModels">
  <Announcement>
    <AccessGroupId>a76901b3-d83f-4d3b-b38f-1b9b58894eac</AccessGroupId>
    <Body>sample string 5</Body>
    <EndDate>2019-12-07T23:53:03.8091983+00:00</EndDate>
    <Id>06406177-04d0-4a4e-8241-3cd6730e9388</Id>
    <Priority>sample string 3</Priority>
    <PriorityId>df4dc5c3-9f6a-47a9-b7b0-98a0587f3ce8</PriorityId>
    <StartDate>2019-12-07T23:53:03.8091983+00:00</StartDate>
    <Title>sample string 2</Title>
  </Announcement>
  <Announcement>
    <AccessGroupId>a76901b3-d83f-4d3b-b38f-1b9b58894eac</AccessGroupId>
    <Body>sample string 5</Body>
    <EndDate>2019-12-07T23:53:03.8091983+00:00</EndDate>
    <Id>06406177-04d0-4a4e-8241-3cd6730e9388</Id>
    <Priority>sample string 3</Priority>
    <PriorityId>df4dc5c3-9f6a-47a9-b7b0-98a0587f3ce8</PriorityId>
    <StartDate>2019-12-07T23:53:03.8091983+00:00</StartDate>
    <Title>sample string 2</Title>
  </Announcement>
</ArrayOfAnnouncement>