> ## Documentation Index
> Fetch the complete documentation index at: https://benzinga.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Logos

> logos()

[\< BACK](/sdks/languages/java#logos)

## Overview

### Available Operations

* [bulkSync](#bulksync) - Get Logos for given search keys
* [search](#search) - Get Logos for given search keys

## bulkSync

Get Logos for given search keys

### Example Usage

```java theme={null}
package hello.world;

import java.lang.Exception;
import java.util.List;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.errors.BzhttpResp;
import org.benzinga.BZClient.models.operations.LogoBulkSyncRequest;
import org.benzinga.BZClient.models.operations.LogoBulkSyncResponse;

public class Application {

    public static void main(String[] args) throws BzhttpResp, Exception {

        Bzclient sdk = Bzclient.builder()
                .apiKeyAuth("<YOUR_API_KEY_HERE>")
            .build();

        LogoBulkSyncRequest req = LogoBulkSyncRequest.builder()
                .searchKeys("<value>")
                .fields(List.of(
                    "<value>"))
                .build();

        LogoBulkSyncResponse res = sdk.logos().bulkSync()
                .request(req)
                .call();

        if (res.bzhttpResp().isPresent()) {
            // handle response
        }
    }
}
```

### Parameters

| Parameter | Type                                                                  | Required             | Description                                |
| --------- | --------------------------------------------------------------------- | -------------------- | ------------------------------------------ |
| `request` | [LogoBulkSyncRequest](../../models/operations/LogoBulkSyncRequest.md) | :heavy\_check\_mark: | The request object to use for the request. |

### Response

**[LogoBulkSyncResponse](../../models/operations/LogoBulkSyncResponse.md)**

### Errors

| Error Type                 | Status Code   | Content Type     |
| -------------------------- | ------------- | ---------------- |
| models/errors/BzhttpResp   | 400, 404, 500 | application/json |
| models/errors/APIException | 4XX, 5XX      | \*/\*            |

## search

Get Logos for given search keys

### Example Usage

```java theme={null}
package hello.world;

import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.errors.BzhttpResp;
import org.benzinga.BZClient.models.operations.GetSearchLogosRequest;
import org.benzinga.BZClient.models.operations.GetSearchLogosResponse;

public class Application {

    public static void main(String[] args) throws BzhttpResp, Exception {

        Bzclient sdk = Bzclient.builder()
                .apiKeyAuth("<YOUR_API_KEY_HERE>")
            .build();

        GetSearchLogosRequest req = GetSearchLogosRequest.builder()
                .searchKeys("<value>")
                .fields("<value>")
                .build();

        GetSearchLogosResponse res = sdk.logos().search()
                .request(req)
                .call();

        if (res.logoapiLogoRevisions().isPresent()) {
            // handle response
        }
    }
}
```

### Parameters

| Parameter | Type                                                                      | Required             | Description                                |
| --------- | ------------------------------------------------------------------------- | -------------------- | ------------------------------------------ |
| `request` | [GetSearchLogosRequest](../../models/operations/GetSearchLogosRequest.md) | :heavy\_check\_mark: | The request object to use for the request. |

### Response

**[GetSearchLogosResponse](../../models/operations/GetSearchLogosResponse.md)**

### Errors

| Error Type                 | Status Code   | Content Type     |
| -------------------------- | ------------- | ---------------- |
| models/errors/BzhttpResp   | 400, 404, 500 | application/json |
| models/errors/APIException | 4XX, 5XX      | \*/\*            |
