This API allows eGain users and authenticated customers to retrieve their own suggestion by its ID.
For this API to execute successfully:
Accept-Language required | string Default: en-US Language locale accepted by client (used for locale specific fields in resource representation and in error responses). |
X-egain-tenant-id | string Unique identifier for tenant. |
X-egain-activity-id | integer Numeric unique identifier of interaction from eGain. |
X-interaction-id | string Unique identifier for interaction from other CRM applications. |
Success
Bad Request
Unauthorized
Forbidden
Not Found
Not acceptable
Internal server error
{- "suggestion": [
- {
- "link": [
- {
- "rel": "self",
- "href": "/knowledge/portalmgr/v3/portals/999900000000000/suggestions/777700000002315"
}
], - "name": "Sample Suggestion (1658997874728)",
- "description": "Sample Description",
- "content": "Sample Content",
- "status": {
- "value": "suggested",
- "displayValue": "Suggested"
}, - "lastModified": {
- "user": {
- "firstName": "kb",
- "lastName": "author",
- "id": "1005"
}, - "date": "2022-07-28T08:44:34.000Z"
}, - "attachments": {
- "count": 1,
- "link": {
- "rel": "self",
- "href": "/knowledge/portalmgr/v3/portals/999900000000000/suggestions/777700000002315/attachments"
}
}, - "language": {
- "code": "fr-fr",
- "label": "French"
}, - "id": 777700000002315,
- "alternateId": "DEV1-2315",
- "customAttributes": {
- "customAttribute": [
- {
- "attribName": "custom_integer_attribute",
- "attribValues": {
- "attribValue": [
- {
- "value": 8
}
]
}
}, - {
- "attribName": "custom_string_attribute",
- "attribValues": {
- "attribValue": [
- {
- "value": "fg"
}
]
}
}
]
}
}
]
}