Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 1.89 KB

ClientApi.md

File metadata and controls

59 lines (42 loc) · 1.89 KB

Evolia\ClientApi

All URIs are relative to https://virtserver.swaggerhub.com/smartgammadev/Evolia/1.0.0

Method HTTP request Description
searchClient GET /api/v3/client/{registrationNumber}/{agencyId} This endpoint is used to search the siret in the DB from the NIC and the Siret

searchClient

\Evolia\Model\SiretQueryResult[] searchClient($authorization, $registrationNumber, $agencyId)

This endpoint is used to search the siret in the DB from the NIC and the Siret

Example

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

$apiInstance = new Evolia\SDK\ClientApi(
    // 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()
);
$authorization = "authorization_example"; // string | 
$registrationNumber = "registrationNumber_example"; // string | 
$agencyId = "agencyId_example"; // string | 

try {
    $result = $apiInstance->searchClient($authorization, $registrationNumber, $agencyId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ClientApi->searchClient: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

Name Type Description Notes
authorization string
registrationNumber string
agencyId string

Return type

\Evolia\Model\SiretQueryResult[]

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]