avl_driver_image

To get the image of a driver or trailer, use the following request:

Copied!
http://<host>/avl_driver_image/<rid>/<did>/<max_border>/<any.png>

Parameters

The required parameters are marked with an asterisk (*).

Name Description
rid* Resource ID.
did* Driver ID or trailer ID.
max_border* Maximum image size (from 16 to 256 pixels, recommended: 32).
flags Flags. Must contain 0x02 to get the trailer image.

Response

If the request is completed successfully, an image in the PNG format is returned. Otherwise, the response is an error code.

Error codes

Error code Description
404 Not found.
304 Not modified.
503 Service unavailable.
416 Invalid range requested.

If you find a mistake in the text, please select it and press Ctrl+Enter.