All URIs are relative to http://localhost, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
legacyFieldValuesGet() | GET /apps/api/kronos.fieldValues.get | Return a list of all available field values item. |
legacyFieldValuesGetList() | GET /apps/api/kronos.fieldValues.getList | Return a list of field values. |
legacyFieldValuesGet($id): \Equisoft\SDK\EquisoftConnect\Model\KronosFieldValuesFieldValuesGet
Return a list of all available field values item.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2
$config = Equisoft\SDK\EquisoftConnect\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Equisoft\SDK\EquisoftConnect\Api\LegacyFieldValuesApi(
// 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
);
$id = 'id_example'; // string | The fieldValue unique id or the fieldValue unique system name.
try {
$result = $apiInstance->legacyFieldValuesGet($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LegacyFieldValuesApi->legacyFieldValuesGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | The fieldValue unique id or the fieldValue unique system name. |
\Equisoft\SDK\EquisoftConnect\Model\KronosFieldValuesFieldValuesGet
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
legacyFieldValuesGetList($module, $includeValues): \Equisoft\SDK\EquisoftConnect\Model\LegacyFieldValuesFieldValuesGetList
Return a list of field values.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2
$config = Equisoft\SDK\EquisoftConnect\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Equisoft\SDK\EquisoftConnect\Api\LegacyFieldValuesApi(
// 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
);
$module = 'module_example'; // string | The module name.
$includeValues = True; // bool | Includes field value's values.
try {
$result = $apiInstance->legacyFieldValuesGetList($module, $includeValues);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LegacyFieldValuesApi->legacyFieldValuesGetList: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
module | string | The module name. | [optional] |
includeValues | bool | Includes field value's values. | [optional] |
\Equisoft\SDK\EquisoftConnect\Model\LegacyFieldValuesFieldValuesGetList
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]