# Available vehicle views

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

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

> **List the angles of a vehicle's pictures.** The angles a vehicle has pictures from, before fetching one.

Returns a list of available views 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)

## Response

`200`, schema `enum[]`.

An array of `enum`.

## 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/getviews?vehicleUuidKey=3043cf1b-e35f-447e-91d2-f4cd1a6dfa69' \
  -u 'YOUR_ACCOUNT:YOUR_API_KEY' \
  --fail-with-body
```

Response captured from production:

```json
[
  "PERSPECTIVE"
]
```

## Reference pages

- [Available vehicle views](https://benomad.com/dev/doc/bemap-api/guides/services/vehiclepicture-getviews.md)
