Upload Records to a Search Context

PUT {{prizmdoc_server_base_url}}/v2/searchContexts/{{contextId}}/records

https://help.accusoft.com/PrizmDoc/latest/HTML/search-contexts.html#put-v2searchcontextscontextidrecords

Request Body

{"pages"=>[{"number"=>0, "width"=>612, "height"=>792, "text"=>"This is an example text file.\n", "rectangles"=>[[56.8, 55.29, 6, 12.81], [62.8, 55.29, 6, 12.81], [68.8, 55.29, 6, 12.81], [74.8, 55.29, 6, 12.81], [80.8, 55.29, 6, 12.81], [86.8, 55.29, 6, 12.81], [92.8, 55.29, 6, 12.81], [98.8, 55.29, 6, 12.81], [104.8, 55.29, 6, 12.81], [110.8, 55.29, 6, 12.81], [116.8, 55.29, 6, 12.81], [122.8, 55.29, 6, 12.81], [128.8, 55.29, 6, 12.81], [134.8, 55.29, 6, 12.81], [140.8, 55.29, 6, 12.81], [146.8, 55.29, 6, 12.81], [152.8, 55.29, 6, 12.81], [158.8, 55.29, 6, 12.81], [164.8, 55.29, 6, 12.81], [170.8, 55.29, 6, 12.81], [176.8, 55.29, 6, 12.81], [182.8, 55.29, 6, 12.81], [188.8, 55.29, 6, 12.81], [194.8, 55.29, 6, 12.81], [200.8, 55.29, 6, 12.81], [206.8, 55.29, 6, 12.81], [212.8, 55.29, 6, 12.81], [218.8, 55.29, 6, 12.81], [224.8, 55.29, 6, 12.81], [230.8, 55.29, 4.8, 12.81]]}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Accusoft-Affinity-Tokenstring