Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 2.1 KB

File metadata and controls

59 lines (41 loc) · 2.1 KB

TutuRu\LegalSuggesterClient\DefaultApi

All URIs are relative to /

Method HTTP request Description
legalSuggesterServiceSuggestionsSearchGet GET /legal_suggester_service/suggestions/search Поиск юр. лиц

legalSuggesterServiceSuggestionsSearchGet

\TutuRu\LegalSuggesterClient\Model\Suggestion[] legalSuggesterServiceSuggestionsSearchGet($query, $count)

Поиск юр. лиц

Поиск юр. лиц.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');

$apiInstance = new TutuRu\LegalSuggesterClient\Api\DefaultApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$query = "query_example"; // string | Запрос, для которого нужно получить подсказки
$count = "count_example"; // string | Максимальное кол-во найденных совпадений

try {
    $result = $apiInstance->legalSuggesterServiceSuggestionsSearchGet($query, $count);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->legalSuggesterServiceSuggestionsSearchGet: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
query string Запрос, для которого нужно получить подсказки
count string Максимальное кол-во найденных совпадений

Return type

\TutuRu\LegalSuggesterClient\Model\Suggestion[]

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]