Logo
Accusoft API Documentation

1) Create a Viewing Session

POST {{prizmdoc_server_base_url}}/PCCIS/V1/ViewingSession

NOTE: The PrizmDoc Server viewing sessions REST API is used by PAS and is maintained for backwards compatibility. It should not be used for new application development. Please use the newer PAS viewing sessions REST API instead.

https://help.accusoft.com/PrizmDoc/latest/HTML/viewing-sessions.html#post-pccisv1viewingsession

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accusoft-Affinity-Hint
string
Acs-Api-Key
string




RESPONSES

status





Curl
curl -X POST 'prizmdoc_server_base_url/PCCIS/V1/ViewingSession' -H 'Content-Type: application/json' -H 'Accusoft-Affinity-Hint: fileName' -H 'Acs-Api-Key: prizmdoc_cloud_api_key' -d '{"documentSource":"api","documentExtension":"txt","render":{"html5":{"alwaysUseRaster":false}},"watermarks":[{"type":"diagonalText","slope":"up","opacity":0.25,"text":"Accusoft\nConfidential","fontSize":"50pt","color":"#FF0000","fontWeight":"bold","fontFamily":"Arial"}]}'

ENDPOINTS