SaveAnnotation

Description

Saves the list of annotations into the database.

Method Type

POST

URL

api/annotation/save

Parameters

Name

Type

Description

Annotations

List<Annotations.AnnotationObjectClient>

Annotations on the page.

DocumentID

Object

The specified document’s DocumentID.

 

The DocumentID can be any object, for example an absolute path of a file, or a database row ID. The specified Content-Engine will interpret the DocumentID and serve the document.

CE (Optional)

String

The Specified Content-Engine.

 

Possible values:

0: Default Content-Engine (default)

1: FileEngine

2: DatabaseEngine

AnnotationFile (Optional)

String

An external annotation file. If the annotation is specified, the IceViewer HTML5 will save the annotations to the specified file.

Response Type

JSON (JsonResult)

Return values

{

response (Int32)

}

 

Programming notes

None

 

Example

None

 

Requirements