Prizm Content Connect
Attachments

Viewing EML and MSG attachments using Prizm Services.

GET ViewingSession/u{ViewingSessionID}/Attachments

This RESTful API returns a JSON List object Attachments containing the collection of Attachment objects. If the return object list length has a zero count and no errors detected, there are no attachments. The status property of the List object denotes whether the list is completed or not thus whether the request must be retried again. Each Attachment object in the list contains displayName and viewingSessionId property. The displayName can be used to label a href link on a web page and the link points to the viewingSessionId URL for the attachment. Please see the Prizm Services samples for more details. 

Http Method

GET

Resource URL

/PCCIS/V1/ViewingSession/u{ViewingSessionID}/Attachments

Parameters 

ViewingSessionID

The ID of the viewing session associated with the request.

Request Body

Empty.

Response Body

If successful, this method returns the following properties:

Property Name

Value

Description

status

String

Specifies the current status of the attachments.

  • "pending" means that there may be attachments, but the list has not yet been constructed.
  • "complete" means that the list is known and present in this object.

attachments

List

The list of attachments, if any. Each item in this list will be a new viewing session ID, which is used to view any of the listed attachments in the viewer by passing in the viewing session ID provided in this list.

Example
Copy Code
GET http://localhost:18681/PCCIS/V1/ViewingSession/ u8091681f-15bf-4150-94a0-3ff7f2acd42d/Notification/SessionStopped
Example Response
Copy Code
Empty

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback