bfg/bouw7-sdk

0.1.0 2024-03-18 08:49 UTC

This package is not auto-updated.

Last update: 2024-09-17 09:54:28 UTC


README

  • API版本:1.0.0

要求

PHP 5.5及以后版本

安装与使用

Composer

然后运行composer install

手动安装

下载文件并包含autoload.php

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

测试

运行单元测试

composer install
./vendor/bin/phpunit

入门指南

请遵循安装和用法说明,然后运行以下命令

<?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;
}

?>

API端点文档

所有URI相对于https://heimdall.bouw7.nl

模型文档

授权文档

载体

  • 类型: API密钥
  • API密钥参数名: 授权
  • 位置: HTTP头

作者