This API allows the user to get details for all attachments belonging to a specific activity.
Method | URL | Description |
---|---|---|
GET | /ws/v12/interaction/activity/{ID}/attachment | Retrieve attachments belong to activity with ID: {ID} |
Authentication is required. The client must be logged in to call this API. Each API request must contain X-egain-session request header returned by Login API.
All of the following are required:
The logged in user must have the following licenses:
Name | Description | Allowed values | Default value |
---|---|---|---|
X-egain-session | Session ID obtained from Login API response header | N/A | N/A |
Accept | Content type accepted by client | application/xml or application/json | N/A |
Accept-Language | Language locale accepted by client (used for locale specific fields in resource representation and in error responses) | Supported 'Accept-Language' header codes | default system language |
NONE
NONE
Name | Description | Possible values |
---|---|---|
X-egain-session | Session ID of the current user session | N/A |
Content-Type | Media type of response body | application/xml or application/json |
Summary attributes of Attachment Resource
200 (OK)
204 (No content)
400 (Bad request)
401 (Unauthorized)
403 (Forbidden)
404 (Not found)
500 (Internal server error)
Example 1 - Get all attachments for an activity