All URIs are relative to https://api.tripletex.io/v2
| Method | HTTP request | Description |
|---|---|---|
| travelExpenseSettingsGet | GET /travelExpense/settings | Get travel expense settings of logged in company. |
\Swagger\Client\Model\ResponseWrapperTravelExpenseSettings travelExpenseSettingsGet($fields)
Get travel expense settings of logged in company.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: tokenAuthScheme
$config = Swagger\Client\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Swagger\Client\Api\TravelExpensesettingsApi(
// 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
);
$fields = "fields_example"; // string | Fields filter pattern
try {
$result = $apiInstance->travelExpenseSettingsGet($fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling TravelExpensesettingsApi->travelExpenseSettingsGet: ', $e->getMessage(), PHP_EOL;
}
?>| Name | Type | Description | Notes |
|---|---|---|---|
| fields | string | Fields filter pattern | [optional] |
\Swagger\Client\Model\ResponseWrapperTravelExpenseSettings
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]