# Vehicle brand logo object

`GET https://bemap.benomad.com/bgis/service/vehicle/1.1/getbrandlogo`

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

> **Get a brand logo.** The logo of a vehicle brand with information about the image, to show it beside the brand name.

Returns the logo of the vehicle brand with additional informations.

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

## Query parameters

- `brandId` (string, required, in query)

## Response

`200`, schema `EvBrandLogoDescription`.

- `brandId` (string, required): Unique identifier of brand.
- `pictureFileFormat` (enum, required): Image file format of the brand logo.
  - `PNG`: PNG 8 bit format: Indexed color (8 bits per pixel).
  - `PNG24`: PNG 24 bit format: RGB + alpha channel (32 bits per pixel).
  - `GIF`: GIF format: Indexed color (8 bits per pixel).
  - `JPEG`: JPEG format: RGB (24 bits per pixel).
  - `NOT_SUPPORTED_VALUE`: Not supported value for this API version.
- `logo` (base64 string, required): Logo of the brand.

## 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/1.1/getbrandlogo?brandId=5e903acb9548987051674126' \
  -u 'YOUR_ACCOUNT:YOUR_API_KEY' \
  --fail-with-body
```

Response captured from production, long arrays and strings shortened:

```json
{
  "brandId": "5e903acb9548987051674126",
  "pictureFileFormat": "PNG",
  "logo": "iVBORw0KGgoAAAANSUhEUgAAADkAAABLCAYAAADK8i9PAAAFrklEQVR42uVcWcxNVxQ+xhpa+htDS0MiraEqHhC8eEBD+0Bi"
}
```

## Reference pages

- [Vehicle brand logo object](https://benomad.com/dev/doc/bemap-api/guides/services/vehiclepicture-getbrandlogo.md)
