All URIs are relative to https://tripletex.no/v2
Method | HTTP request | Description |
---|---|---|
get | GET /salary/settings | [BETA] Get salary settings of logged in company. |
put | PUT /salary/settings | [BETA] Update settings of logged in company. |
\Tripletex\Model\ResponseWrapperSalarySettings get($fields)
[BETA] Get salary settings of logged in company.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: tokenAuthScheme
$config = Tripletex\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Tripletex\Api\SalarysettingsApi(
// 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->get($fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SalarysettingsApi->get: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
fields | string | Fields filter pattern | [optional] |
\Tripletex\Model\ResponseWrapperSalarySettings
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Tripletex\Model\ResponseWrapperSalarySettings put($body)
[BETA] Update settings of logged in company.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: tokenAuthScheme
$config = Tripletex\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new Tripletex\Api\SalarysettingsApi(
// 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 \Tripletex\Model\SalarySettings(); // \Tripletex\Model\SalarySettings | Partial object describing what should be updated
try {
$result = $apiInstance->put($body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SalarysettingsApi->put: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \Tripletex\Model\SalarySettings | Partial object describing what should be updated | [optional] |
\Tripletex\Model\ResponseWrapperSalarySettings
- Content-Type: application/json; charset=utf-8
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]