Create or edit note

This API call saves a note. This may be a new note or the save could edit an existing note. A note is attached to a document, and may also be attached to an element within that document

Example API call

/lcapi?book=1&collection=1&target=annot&action=insert_note

Parameters

ParameterDescription
targetannot
actioninsert_note
collection The id of the collection, an integer, such as 1.
bookThe id of the publication, an integer, such as 1.

XML post data

This API call requires XML post data such as in the following example.
<notedata>
     <docid>S1000DBIKE-AAA-D00-00-00-00AA-042A-A</docid>
     <eidoffset>0</eidoffset>
     <location>s1000d_bike_41%5CBike%204.1%5CBicycle%5CBicycle%20-%20Standard%20repair%20procedures</location>
     <mode>edit</mode>
     <title>Check%20for%20source%20of%20puncture</title>
     <visibility>PUBLIC</visibility>
     <note>After%20step%206%2C%20check%20the%20inside%20of%20the%20tire%20for%20sharp%20protrusions%20that%20may%20have%20caused%20the%20tube%20to%20puncture.%20Remove%20protrusion%20if%20possible.</note>
     <annot_id/>
</notedata>

Returns

On success
Returns nothing.
On failure

Returns nothing.