Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 1.78 KB

AlgemeneInformatieApi.md

File metadata and controls

56 lines (40 loc) · 1.78 KB

Kadaster\BagApiClient\AlgemeneInformatieApi

All URIs are relative to https://api.bag.kadaster.nl/lvbag/individuelebevragingen/v2

Method HTTP request Description
getInfo GET /info Algemene info van de API

getInfo

\Kadaster\BagApiClient\Model\APIInfo getInfo()

Algemene info van de API

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: apiKeyBAG
$config = Kadaster\BagApiClient\Configuration::getDefaultConfiguration()->setApiKey('X-Api-Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Kadaster\BagApiClient\Configuration::getDefaultConfiguration()->setApiKeyPrefix('X-Api-Key', 'Bearer');

$apiInstance = new Kadaster\BagApiClient\Api\AlgemeneInformatieApi(
    // 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(),
    $config
);

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

Parameters

This endpoint does not need any parameter.

Return type

\Kadaster\BagApiClient\Model\APIInfo

Authorization

apiKeyBAG

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/problem+json

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