Skip to main content

Announcements

Announcement List

Use this API to get all announcements received by a Trainee.

 GET /announcement/trainee-announcement-list

Query string parameters

FieldTypeDescription
firstRecord
required
integerFirst record to return. Default: 1
count
required
integerNumber of records to be returned starting from the first record. Default: 20, Max count limit: 50
qstringfilter data by title and description
{
"success": true,
"data": {
"response": {
"acknowledgement": "Success",
"data": {
"announcementList": [
{
"announcementId": 2197,
"announcementSentId": 621997,
"subject": "Hello All",
"sentDate": "2022-12-30 11:33:04",
"isViewed": true
}
],
"totalRecords": 37
},
"error": {
"code": "",
"internal_message": "",
"moreInfo": []
}
}
}
}

Announcement Details

Use this API to get details of an announcement.

 GET /trainee-announcement-detail{announcementId}/{announcementSentId}

Path parameters

FieldTypeDescription
announcementId
required
integerThe announcement ID
announcementSentId
required
integerThe announcement sent ID
{
"success": true,
"data": {
"response": {
"acknowledgement": "Success",
"data": {
"title": "Hello All",
"description": "<p>Hello</p>",
"attachment": null
},
"error": {
"code": "",
"internal_message": "",
"moreInfo": []
}
}
}
}

Frontend Announcement Details

Use this API to get the list of announcements for frontend websites.

 GET /announcement/front-end-announcement-list

Path parameters

FieldTypeDescription
firstRecord
required
integerFirst record to return. Default: 1
count
required
integerNumber of records to be returned starting from the first record. Default: 20, Max count limit: 100
type
required
integer1-web, 2-microsite
qstringfilter data by title and description
{
"success": true,
"data": {
"response": {
"acknowledgement": "Success",
"data": {
"announcementList": [
{
"announcementId": 2197,
"title": "Hello",
"description": "Hello All",
}
],
"totalRecords": 1
},
"error": {
"code": "",
"internal_message": "",
"moreInfo": []
}
}
}
}