# Vehicle picture

`GET https://bemap.benomad.com/bgis/service/vehicle/picture/1.0/getone`

Part of [Electric vehicle database](https://benomad.com/dev/doc/bemap-api/electric-mobility/ev-vehicles.md).

> **Get one picture of a vehicle.** One picture of a vehicle model, from the angle you choose.

Returns a picture of the vehicle.

Requires the Vehicle option (Allow to get the information of vehicle); without it BeMap answers `400 Access Denied`.

## Query parameters

- `vehicleUuidKey` (string, required, in query)
- `pictureView` (enum, in query)
  - `FRONT`: Front View of the vehicle's picture.
  - `REAR`: Rear View of the vehicle's picture.
  - `SIDE`: Side View of the vehicle's picture.
  - `PERSPECTIVE`: Perspective View of the vehicle's picture.
  - `UP`: Up View of the vehicle's picture.
  - `NOT_SUPPORTED_VALUE`: Not supported value for this API version.

## Response

`200`, schema `base64 string`.

A plain value.

## Errors

- `400`: Bad Request
- `302`: no credentials were sent. Do not follow the redirect.
- `401`: the account or the API key is wrong.

How to read each one: [Errors](https://benomad.com/dev/doc/bemap-api/getting-started/errors.md).

## Example

```bash
curl -X GET 'https://bemap.benomad.com/bgis/service/vehicle/picture/1.0/getone?vehicleUuidKey=3043cf1b-e35f-447e-91d2-f4cd1a6dfa69&pictureView=PERSPECTIVE' \
  -u 'YOUR_ACCOUNT:YOUR_API_KEY' \
  --fail-with-body \
  -o image
```

## Reference pages

- [Vehicle picture](https://benomad.com/dev/doc/bemap-api/guides/services/vehiclepicture-getone.md)
