This API allows eGain users and authenticated customers to get details of one attachment that belongs to their own suggestion. If requested, one of the response attributes is the contentUrl, which can be used to download the content of the attachment. This only exists temporarily on the server. The client should immediately download the attachment content if needed. The attachment can be retrieved only once as it is deleted from the server after download.
For this API to execute successfully:
Success
Bad Request
Unauthorized
Forbidden
Not Found
Not acceptable
Internal server error
{- "attachment": [
- {
- "link": {
- "rel": "self",
- "href": "/knowledge/portalmgr/v3/portals/999900000000000/suggestions/attachments/777700000001015"
}, - "fileName": "phone.txt",
- "size": 1396,
- "id": 777700000001015
}
]
}