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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accusoft-Affinity-Hint | string | ||
Acs-Api-Key | string |