2) Create a Work File for the Markup
POST {{prizmdoc_server_base_url}}/PCCIS/V1/WorkFile?FileExtension={{fileExtension}}
https://help.accusoft.com/PrizmDoc/latest/HTML/work-files.html#post-pccisv1workfile-when-body-is-file-bytes
Request Params
Key | Datatype | Required | Description |
---|
FileExtension | string | | |
Request Body
{"name"=>"layer name 1", "marks"=>[{"uid"=>"bmd3OF8yMDE5LTAxLTE4VDEyOjE5OjU2LjQ0M1pfNGY3MTFx", "interactionMode"=>"Full", "pageNumber"=>1, "type"=>"RectangleAnnotation", "creationDateTime"=>"2019-01-18T12:19:56.442Z", "modificationDateTime"=>"2019-01-18T12:19:58.089Z", "rectangle"=>{"x"=>15.622641509433958, "y"=>15.622641509433958, "width"=>143.99999999999997, "height"=>103.2452830188679}, "pageData"=>{"width"=>612, "height"=>792}, "borderColor"=>"#000000", "borderThickness"=>4, "fillColor"=>"#ff0000", "opacity"=>255}]}
Key | Datatype | Required | Description |
---|
Content-Type | string | | |
Accusoft-Affinity-Hint | string | | |
Acs-Api-Key | string | | |
Accusoft-Affinity-Token | string | | |