get_messages

The get_messages function is used to get messages from a layer.

Copied!
svc=render/get_messages&params={"layerName":"<text>",
								"indexFrom":<uint>,
								"indexTo":<uint>,
								"unitId":<long>}

Parameters

NameDescription
layerNameLayer name.
indexFromThe index of the first requested message,
indexToThe index of the last requested message.
unitIdUnit ID.

Returned result

Copied!
[			/* array of messages */
	{
		...
	}
]

The message formats are described here.

Possible error codes:

CodeDescription
6Undefined error.
4

Wrong input parameters.

Download PDF file
Download Word document

See also