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

Request Body

{"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"}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Accusoft-Affinity-Hintstring
Acs-Api-Keystring