Skip to content

Latest commit

 

History

History
executable file
·
182 lines (125 loc) · 4.93 KB

NumRangesApi.md

File metadata and controls

executable file
·
182 lines (125 loc) · 4.93 KB

OpenAPI\Client\NumRangesApi

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

Method HTTP request Description
numRangesGet() GET /api/v1/clients/{clientId}/fiscalYears/{fiscalYearId}/numranges get list of numRanges
numRangesGetByCode() GET /api/v1/clients/{clientId}/fiscalYears/{fiscalYearId}/numranges/bycode/{code} Get numRange by code
numRangesGet_0() GET /api/v1/clients/{clientId}/fiscalYears/{fiscalYearId}/numranges/{id} Get numRange by id

numRangesGet()

numRangesGet($client_id, $fiscal_year_id): \Topal\Client\Model\NumRange[]

get list of numRanges

Example

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



$apiInstance = new Topal\Client\Api\NumRangesApi(
    // 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->numRangesGet($client_id, $fiscal_year_id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling NumRangesApi->numRangesGet: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
client_id string
fiscal_year_id string

Return type

\Topal\Client\Model\NumRange[]

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]

numRangesGetByCode()

numRangesGetByCode($code, $client_id, $fiscal_year_id): \Topal\Client\Model\NumRange

Get numRange by code

Example

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



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

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

Parameters

Name Type Description Notes
code string
client_id string
fiscal_year_id string

Return type

\Topal\Client\Model\NumRange

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]

numRangesGet_0()

numRangesGet_0($id, $client_id, $fiscal_year_id): \Topal\Client\Model\NumRange

Get numRange by id

Example

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



$apiInstance = new Topal\Client\Api\NumRangesApi(
    // 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()
);
$id = 56; // int
$client_id = 'client_id_example'; // string
$fiscal_year_id = 'fiscal_year_id_example'; // string

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

Parameters

Name Type Description Notes
id int
client_id string
fiscal_year_id string

Return type

\Topal\Client\Model\NumRange

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]