GET announcements Id

GET
/announcements/{id}

Authorization

Bearer
headerAuthorizationBearer <token>

Paste your JWT token here

Path Parameters

id*integer

The unique identifier of the announcement to retrieve.

Formatint32

Response Body

OK

application/json
  1. response

Represents the response DTO for an announcement, containing all relevant information about the announcement, including its properties and information about the creator. The GetAnnouncementResponseDTO is used to transfer comprehensive announcement data from the server to the client when retrieving announcement information, allowing for a complete representation of the announcement's details, creator information, and creation timestamp in the response payload.

id*integer

The unique identifier of the announcement, assigned incrementally.

Formatint32
titleDutch*string

The Dutch title of the announcement.

titleEnglish*string

The English title of the announcement.

contentDutch*string

The Dutch content of the announcement.

contentEnglish*string

The English content of the announcement.

createdByName*string

The name of the user who created the announcement, providing information about the creator of the announcement for display purposes in the client application. This field allows for better identification and attribution of announcements to their respective creators, enhancing the user experience by providing context about the source of the announcement in the system.

createdById?|

The member id who created the announcement.

Formatuuid
createdAt*string

The date and time when the announcement was created.

Formatdate-time
curl -X GET 'https://example.com/announcements/0'
{  "id": 0,  "titleDutch": "string",  "titleEnglish": "string",  "contentDutch": "string",  "contentEnglish": "string",  "createdByName": "string",  "createdById": "e13e432a-5323-4484-a91d-b5969bc564d9",  "createdAt": "2019-08-24T14:15:22Z"}