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 codeDescription
404Not found.
304Not modified.
503Service unavailable.
416Invalid range requested.
Download PDF file
Download Word document

See also