GET api/v2.0/Announcements/GetAnnouncement?announcementKey={announcementKey}
Returns the details of the specified Announcement.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
announcementKey |
Unique key of a specific Announcement. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
An Announcement.
Collection of AnnouncementName | Description | Type | Additional information |
---|---|---|---|
AnnouncementKey |
The primary key for the announcement. |
globally unique identifier |
None. |
AnnouncementText |
The announcement content/body. |
string |
None. |
AnnouncementTitle |
Title of the announcement. |
string |
None. |
AnnouncementType |
Type of announcement, otherwise string.Empty. |
string |
None. |
CommunityKey |
If the announcement is associated to a community, is the primary key for the community, otherwise Guid.Empty. |
globally unique identifier |
None. |
CommunityName |
If the announcement is associated to a community, is the name of the community, otherwise not included. |
string |
None. |
CreatedByContactKey |
The primary key of the contact who created the announcement. |
globally unique identifier |
None. |
ContactDisplayName |
The display name of the contact who created the announcement. |
string |
None. |
LinkToContactProfile |
The url that links to the profile of the contact who created the announcement. |
string |
None. |
ContactLargePictureUrl |
The url of the large picture of the contact who created the announcement. |
string |
None. |
ContactSmallPictureUrl |
The url of the small picture of the contact who created the announcement. |
string |
None. |
CreatedOn |
The DateTime at which the announcement was created. |
date |
None. |
IsLoggingEnabled |
If logging is enabled for this item. |
boolean |
None. |
LinkText |
URL Text given at creation the text to be displayed with the LinkUrl. Optional, else is string.Empty. |
string |
None. |
LinkUrl |
Additional URL given at creation. Optional, else is string.Empty. |
string |
None. |
MicrositeGroupTypeRouteDesignKey |
The primary key for the MicrositeGroupTypeRouteDesign for the announcement. |
globally unique identifier |
None. |
OpenNewWindow |
If the LinkUrl should open in a new window. |
boolean |
None. |
Tags |
All of the tags indexed for the item. This includes user tags and admin based tags. |
Collection of ItemTagResponse |
None. |
UpdatedByContactKey |
The primary key of the contact who last updated the announcement. |
globally unique identifier |
None. |
UpdatedOn |
The DateTime at which the announcement was last updated. |
date |
None. |
UserPermissions |
Permissions for actions the current user can take |
Collection of string |
None. |
Response Formats
application/json, text/json
[ { "AnnouncementKey": "fa494e79-2e1e-4270-ae90-0eb933198d98", "AnnouncementText": "sample string 2", "AnnouncementTitle": "sample string 3", "AnnouncementType": "sample string 4", "CommunityKey": "57239c5e-b256-48a6-9e8b-ffb8c56efc56", "CommunityName": "sample string 6", "CreatedByContactKey": "d6fa088a-cc1c-4dd2-ad74-7a7f9178f28d", "ContactDisplayName": "sample string 8", "LinkToContactProfile": "sample string 9", "ContactLargePictureUrl": "sample string 10", "ContactSmallPictureUrl": "sample string 11", "CreatedOn": "2024-04-24T11:42:57.5234204Z", "IsLoggingEnabled": true, "LinkText": "sample string 14", "LinkUrl": "sample string 15", "MicrositeGroupTypeRouteDesignKey": "eab4ce1c-f666-4cd4-9b11-fe95c0c70a23", "OpenNewWindow": true, "Tags": [ { "Tag": "sample string 1", "TagType": "sample string 2" }, { "Tag": "sample string 1", "TagType": "sample string 2" } ], "UpdatedByContactKey": "1f8173e3-7167-482c-a519-6afcb46e76a6", "UpdatedOn": "2024-04-24T11:42:57.5234204Z", "UserPermissions": [ "sample string 1", "sample string 2" ] }, { "AnnouncementKey": "fa494e79-2e1e-4270-ae90-0eb933198d98", "AnnouncementText": "sample string 2", "AnnouncementTitle": "sample string 3", "AnnouncementType": "sample string 4", "CommunityKey": "57239c5e-b256-48a6-9e8b-ffb8c56efc56", "CommunityName": "sample string 6", "CreatedByContactKey": "d6fa088a-cc1c-4dd2-ad74-7a7f9178f28d", "ContactDisplayName": "sample string 8", "LinkToContactProfile": "sample string 9", "ContactLargePictureUrl": "sample string 10", "ContactSmallPictureUrl": "sample string 11", "CreatedOn": "2024-04-24T11:42:57.5234204Z", "IsLoggingEnabled": true, "LinkText": "sample string 14", "LinkUrl": "sample string 15", "MicrositeGroupTypeRouteDesignKey": "eab4ce1c-f666-4cd4-9b11-fe95c0c70a23", "OpenNewWindow": true, "Tags": [ { "Tag": "sample string 1", "TagType": "sample string 2" }, { "Tag": "sample string 1", "TagType": "sample string 2" } ], "UpdatedByContactKey": "1f8173e3-7167-482c-a519-6afcb46e76a6", "UpdatedOn": "2024-04-24T11:42:57.5234204Z", "UserPermissions": [ "sample string 1", "sample string 2" ] } ]
application/xml, text/xml
<ArrayOfAnnouncement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise"> <Announcement> <AnnouncementKey>fa494e79-2e1e-4270-ae90-0eb933198d98</AnnouncementKey> <AnnouncementText>sample string 2</AnnouncementText> <AnnouncementTitle>sample string 3</AnnouncementTitle> <AnnouncementType>sample string 4</AnnouncementType> <CommunityKey>57239c5e-b256-48a6-9e8b-ffb8c56efc56</CommunityKey> <CommunityName>sample string 6</CommunityName> <ContactDisplayName>sample string 8</ContactDisplayName> <ContactLargePictureUrl>sample string 10</ContactLargePictureUrl> <ContactSmallPictureUrl>sample string 11</ContactSmallPictureUrl> <CreatedByContactKey>d6fa088a-cc1c-4dd2-ad74-7a7f9178f28d</CreatedByContactKey> <CreatedOn>2024-04-24T07:42:57.5234204-04:00</CreatedOn> <IsLoggingEnabled>true</IsLoggingEnabled> <LinkText>sample string 14</LinkText> <LinkToContactProfile>sample string 9</LinkToContactProfile> <LinkUrl>sample string 15</LinkUrl> <MicrositeGroupTypeRouteDesignKey>eab4ce1c-f666-4cd4-9b11-fe95c0c70a23</MicrositeGroupTypeRouteDesignKey> <OpenNewWindow>true</OpenNewWindow> <Tags xmlns:d3p1="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.Tagging"> <d3p1:ItemTagResponse> <d3p1:Tag>sample string 1</d3p1:Tag> <d3p1:TagType>sample string 2</d3p1:TagType> </d3p1:ItemTagResponse> <d3p1:ItemTagResponse> <d3p1:Tag>sample string 1</d3p1:Tag> <d3p1:TagType>sample string 2</d3p1:TagType> </d3p1:ItemTagResponse> </Tags> <UpdatedByContactKey>1f8173e3-7167-482c-a519-6afcb46e76a6</UpdatedByContactKey> <UpdatedOn>2024-04-24T07:42:57.5234204-04:00</UpdatedOn> <UserPermissions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </UserPermissions> </Announcement> <Announcement> <AnnouncementKey>fa494e79-2e1e-4270-ae90-0eb933198d98</AnnouncementKey> <AnnouncementText>sample string 2</AnnouncementText> <AnnouncementTitle>sample string 3</AnnouncementTitle> <AnnouncementType>sample string 4</AnnouncementType> <CommunityKey>57239c5e-b256-48a6-9e8b-ffb8c56efc56</CommunityKey> <CommunityName>sample string 6</CommunityName> <ContactDisplayName>sample string 8</ContactDisplayName> <ContactLargePictureUrl>sample string 10</ContactLargePictureUrl> <ContactSmallPictureUrl>sample string 11</ContactSmallPictureUrl> <CreatedByContactKey>d6fa088a-cc1c-4dd2-ad74-7a7f9178f28d</CreatedByContactKey> <CreatedOn>2024-04-24T07:42:57.5234204-04:00</CreatedOn> <IsLoggingEnabled>true</IsLoggingEnabled> <LinkText>sample string 14</LinkText> <LinkToContactProfile>sample string 9</LinkToContactProfile> <LinkUrl>sample string 15</LinkUrl> <MicrositeGroupTypeRouteDesignKey>eab4ce1c-f666-4cd4-9b11-fe95c0c70a23</MicrositeGroupTypeRouteDesignKey> <OpenNewWindow>true</OpenNewWindow> <Tags xmlns:d3p1="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.Tagging"> <d3p1:ItemTagResponse> <d3p1:Tag>sample string 1</d3p1:Tag> <d3p1:TagType>sample string 2</d3p1:TagType> </d3p1:ItemTagResponse> <d3p1:ItemTagResponse> <d3p1:Tag>sample string 1</d3p1:Tag> <d3p1:TagType>sample string 2</d3p1:TagType> </d3p1:ItemTagResponse> </Tags> <UpdatedByContactKey>1f8173e3-7167-482c-a519-6afcb46e76a6</UpdatedByContactKey> <UpdatedOn>2024-04-24T07:42:57.5234204-04:00</UpdatedOn> <UserPermissions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </UserPermissions> </Announcement> </ArrayOfAnnouncement>