Skip to content

Latest commit

 

History

History
executable file
·
64 lines (43 loc) · 1.72 KB

DefaultsApi.md

File metadata and controls

executable file
·
64 lines (43 loc) · 1.72 KB

OpenAPI\Client\DefaultsApi

All URIs are relative to https://topal.vitan.ch:9001, except if the operation defines another base path.

Method HTTP request Description
defaultsGet() GET /api/v1/clients/{clientId}/fiscalYears/{fiscalYearId}/defaults Gets current defaults

defaultsGet()

defaultsGet($client_id, $fiscal_year_id): \OpenAPI\Client\Model\Defaults

Gets current defaults

Example

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



$apiInstance = new OpenAPI\Client\Api\DefaultsApi(
    // 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()
);
$client_id = 'client_id_example'; // string
$fiscal_year_id = 'fiscal_year_id_example'; // string

try {
    $result = $apiInstance->defaultsGet($client_id, $fiscal_year_id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultsApi->defaultsGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
client_id string
fiscal_year_id string

Return type

\OpenAPI\Client\Model\Defaults

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, text/json, application/xml, text/xml

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