GET api/announcements/groups
Gets the list of announcement groups.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of AnnouncementGroup| Name | Description | Type | Additional information |
|---|---|---|---|
| Code |
Gets or sets the unique code of the group. |
string |
None. |
| Name |
Gets or sets the display name of the group. |
string |
None. |
Response Formats
application/json, text/json, application/problem+json
Sample:
[
{
"code": "sample string 1",
"name": "sample string 2"
},
{
"code": "sample string 1",
"name": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfAnnouncementGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.DR.Resources">
<AnnouncementGroup>
<Code>sample string 1</Code>
<Name>sample string 2</Name>
</AnnouncementGroup>
<AnnouncementGroup>
<Code>sample string 1</Code>
<Name>sample string 2</Name>
</AnnouncementGroup>
</ArrayOfAnnouncementGroup>