PrizmDoc v12.0 - November 15, 2016
Markup XML

Markup XML

GET /AnnotationList/q/Art/q?DocumentID=u{viewingSessionId}

Routes key: GetAnnotations

Gets the list of available annotation XML files from the server.

GET http://localhost:3000/AnnotationList/q/Art/q?DocumentID=u1234

Successful Response:

200 OK
Content-Type: application/json
{
    "annotationFiles": [
        {
            "annotationLabel": "anId",
            "annotationName": "abcd_0_anId.xml",
            "ID": "1"
        }
    ]
}

GET /Document/q/Art/q?DocumentID=u{viewingSessionId}&AnnotationID=u{annotationId}

Routes key: GetAnnotation

Gets a specific annotations XML file from the server.

GET http://localhost:3000/Document/q/Art/q?DocumentID=u1234&AnnotationID=uanId

Successful Response:

200 OK
Content-Type: application/xml
<?xml version="1.0"?>...

POST /Document/q/Art/q?DocumentID=u{viewingSessionId}&AnnotationID=u{annotationId}

Routes key: CreateAnnotation

Creates a new annotations XML file using the provided data.

POST http://localhost:3000/Document/q/Art/q?DocumentID=u1234&AnnotationID=uanotherId
Content-Type: application/xml
<?xml version="1.0">...

Successful Response:

200 OK

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback