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 |
\Kadaster\BagApiClient\Model\APIInfo getInfo()
Algemene info van de API
<?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;
}
?>
This endpoint does not need any parameter.
\Kadaster\BagApiClient\Model\APIInfo
- Content-Type: Not defined
- Accept: application/json, application/problem+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]