get_result_photo

The get_result_photo function is used to get a photo from a report.

Copied!
svc=report/get_result_photo&params={"attachmentIndex":<uint>, // or [<uint>] to get many zipped images at once
				    				"border":<uint>,
									"type":<ubyte>}

Parameters

NameDescription

attachmentIndex

Attachment index.

border

Maximum photo size (0  original size).

For Wialon Hosting and Wialon Local 2204 the maximum value is 1920.

type

Image type:

  • original image (default value);
  • image with a description frame (timestamp + address).

The parameter is only used in Wialon Hosting and Wialon Local 2204.

Returned result

The returned result for Wialon Local versions up to 1804 is a PNG image. For versions 1904-2104 the returned result is a JPEG image.

For Wialon Hosting and Wialon Local 2204, the returned result is a JPEG image if there is one value in the attachmentIndex parameter. If there is more than one value, the returned result is a ZIP archive with images.

Download PDF file
Download Word document

See also