bfg/bouw7-sdk

0.1.0 2024-03-18 08:49 UTC

This package is not auto-updated.

Last update: 2024-12-10 11:03:31 UTC


README

  • API version: 1.0.0

Requirements

PHP 5.5 and later

Installation & Usage

Composer

Then run composer install

Manual Installation

Download the files and include autoload.php:

    require_once('/path/to/SwaggerClient-php/vendor/autoload.php');

Tests

To run the unit tests:

composer install
./vendor/bin/phpunit

Getting Started

Please follow the installation procedure and then run the following:

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

// Configure API key authorization: Bearer
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');

$apiInstance = new Swagger\Client\Api\ApprovalApi(
    // 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
);
$body = new \Swagger\Client\Model\CondensedApprovalTemplateCriteria(); // \Swagger\Client\Model\CondensedApprovalTemplateCriteria | 

try {
    $apiInstance->deleteApprovalCriteria($body);
} catch (Exception $e) {
    echo 'Exception when calling ApprovalApi->deleteApprovalCriteria: ', $e->getMessage(), PHP_EOL;
}

?>

Documentation for API Endpoints

All URIs are relative to https://heimdall.bouw7.nl

Documentation For Models

Documentation For Authorization

Bearer

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Author