- Portal Manager
- V4
- Get Acknowledged Article Compliances
The Get Acknowledged Article Compliances API retrieves all compliance-enabled articles in a portal that have been read by the current user in the last 60 days. Results are sorted in descending order of the acknowledgement date.
- The Article compliances that are returned must be:
- Available for the current user profile.
- Displayable. An article is displayable when the "Include in browse on portals" property is enabled for the article.
- Acknowledged within the last 60 days.
- Only the latest version of a republished compliance article will be shown.
- Results will be sorted in descending order of acknowledgment date.
The attributes of an Article to be returned in addition to the default list of attributes, listed below. Multiple additional attributes can be specified using a comma-separated list. Passing 'all' will return all attributes.
These Article attributes are always returned:
| Name | Description |
|---|---|
| id | The ID of the Article. |
| name | The name of the Article. |
| updateSummary | Summary of the Article update. |
| articleType | The Article Type and its attributes. |
| createdBy | The ID, first name, middle name and last name of the user that created the Article. |
| createdDate | The date that the Article was created. |
| hasAttachments | True: The Article has one or more attachments. False: The Article does not have any attachments. |
| languageCode | The language code of the Article language. |
| modifiedBy | The ID, first name, middle name and last name of the user that last modified the Article. |
| modifiedDate | The date that the Article was last modified on. |
| link | The link object, used to retrieve the details of the Article. |
| versionId | The ID of the Article version that is returned. |
Specifies extended attributes of an Article Result to be returned in the response. This parameter is used for specific metadata fields that are not included in the default response or the standard additional attributes list.
Note: The list of supported values for this parameter may be expanded in the future as more fields are added to the article result schema.
| Name | Description |
|---|---|
| availabilityDate | The date and time when the article becomes available for viewing. |
The unique numeric identifier for a tenant, used in self-service functionality as well as third-party integrations.
Note: The x-ext-integration-id and x-ext-interaction-id headers must always be provided together and cannot be supplied independently.
The x-egain-activity-id may be provided on its own, or it may be provided along with both x-ext-integration-id and x-ext-interaction-id.
A unique interaction identifier from other CRM applications.
Note: The x-ext-integration-id and x-ext-interaction-id headers must always be provided together and cannot be supplied independently.
The x-egain-activity-id may be provided on its own, or it may be provided along with both x-ext-integration-id and x-ext-interaction-id.
- Production Serverhttps://api.egain.cloud/knowledge/portalmgr/v4/portals/{portalID}/articles/compliance/acknowledged
curl -i -X GET \
'https://api.egain.cloud/knowledge/portalmgr/v4/portals/PROD-1000/articles/compliance/acknowledged?complianceArticleResultAdditionalAttributes=averageRating&articleResultExtendedAttributes=availabilityDate&%24lang=en-US&%24pagenum=1&%24pagesize=10' \
-H 'Accept-Language: en-US' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'x-egain-activity-id: 59237' \
-H 'x-ext-integration-id: 3155180e-0c13-43e9-9c38-e9045bcbf176' \
-H 'x-ext-interaction-id: 3155180e-0c13-43e9-9c38-e9045bcbf176'{ "article": [ { … } ], "paginationInfo": { "count": 1, "pagenum": 1, "pagesize": 10 } }