All URIs are relative to https://api.ageras.com/v2
Method | HTTP request | Description |
---|---|---|
kpiIndex | GET /kpi | |
kpiTargetsCreate | POST /kpi/targets | |
kpiTargetsIndex | GET /kpi/targets | |
kpiValuesIndex | GET /kpi/values |
\Ageras\Api\KPIResult kpiIndex($criteria)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: jwt
Ageras\Api\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Ageras\Api\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure HTTP basic authorization: login
Ageras\Api\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Ageras\Api\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
$api_instance = new Ageras\Api\Api\KpiApi();
$criteria = [
'kpi_id' => "kpi_id_example"; // string | Identifiers for the kpi's
'geo_code' => "geo_code_example"; // string | Geographic Location Code.
'industry' => "industry_example"; // string | Industry code for the kpi
'industry_id' => "industry_id_example"; // string | Industry id for the kpi
'employee_id' => "employee_id_example"; // string | Employee Id
'partner_id' => "partner_id_example"; // string | Partner Id
'limit' => 56; // int | The number of resources to be returned.
'page' => 56; // int | The page position in the result.
'query' => "query_example"; // string | The search wildcard.
];
try {
$result = $api_instance->kpiIndex($criteria);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling KpiApi->kpiIndex: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
kpi_id | string | Identifiers for the kpi's | [optional] |
geo_code | string | Geographic Location Code. | [optional] |
industry | string | Industry code for the kpi | [optional] |
industry_id | string | Industry id for the kpi | [optional] |
employee_id | string | Employee Id | [optional] |
partner_id | string | Partner Id | [optional] |
limit | int | The number of resources to be returned. | [optional] |
page | int | The page position in the result. | [optional] |
query | string | The search wildcard. | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Ageras\Api\KpiTargetResource kpiTargetsCreate($kpi_target_resource)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: jwt
Ageras\Api\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Ageras\Api\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure HTTP basic authorization: login
Ageras\Api\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Ageras\Api\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
$api_instance = new Ageras\Api\Api\KpiApi();
$kpi_target_resource = new \Ageras\Api\KpiTargetResource(); // \Ageras\Api\KpiTargetResource |
try {
$result = $api_instance->kpiTargetsCreate($kpi_target_resource);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling KpiApi->kpiTargetsCreate: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
kpi_target_resource | \Ageras\Api\KpiTargetResource |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Ageras\Api\KpiTargetResult kpiTargetsIndex($criteria)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: jwt
Ageras\Api\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Ageras\Api\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure HTTP basic authorization: login
Ageras\Api\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Ageras\Api\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
$api_instance = new Ageras\Api\Api\KpiApi();
$criteria = [
'kpi_identifier' => "kpi_identifier_example"; // string | Identifier for KPI.
'employee_id' => "employee_id_example"; // string | Employee ID to get KPI values for.
'temporal_scope' => "temporal_scope_example"; // string | Which scopes of time to retrieve KPI values for.
'limit' => 56; // int | The number of resources to be returned.
'page' => 56; // int | The page position in the result.
'query' => "query_example"; // string | The search wildcard.
];
try {
$result = $api_instance->kpiTargetsIndex($criteria);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling KpiApi->kpiTargetsIndex: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
kpi_identifier | string | Identifier for KPI. | [optional] |
employee_id | string | Employee ID to get KPI values for. | [optional] |
temporal_scope | string | Which scopes of time to retrieve KPI values for. | [optional] |
limit | int | The number of resources to be returned. | [optional] |
page | int | The page position in the result. | [optional] |
query | string | The search wildcard. | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Ageras\Api\KpiValueResult kpiValuesIndex($criteria)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: jwt
Ageras\Api\Configuration::getDefaultConfiguration()->setApiKey('token', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// Ageras\Api\Configuration::getDefaultConfiguration()->setApiKeyPrefix('token', 'Bearer');
// Configure HTTP basic authorization: login
Ageras\Api\Configuration::getDefaultConfiguration()->setUsername('YOUR_USERNAME');
Ageras\Api\Configuration::getDefaultConfiguration()->setPassword('YOUR_PASSWORD');
$api_instance = new Ageras\Api\Api\KpiApi();
$criteria = [
'kpi_identifier' => "kpi_identifier_example"; // string | Identifier for KPI.
'employee_id' => "employee_id_example"; // string | Employee ID to get KPI values for.
'temporal_scope' => "temporal_scope_example"; // string | Which scopes of time to retrieve KPI values for.
'limit' => 56; // int | The number of resources to be returned.
'page' => 56; // int | The page position in the result.
'query' => "query_example"; // string | The search wildcard.
];
try {
$result = $api_instance->kpiValuesIndex($criteria);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling KpiApi->kpiValuesIndex: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
kpi_identifier | string | Identifier for KPI. | [optional] |
employee_id | string | Employee ID to get KPI values for. | [optional] |
temporal_scope | string | Which scopes of time to retrieve KPI values for. | [optional] |
limit | int | The number of resources to be returned. | [optional] |
page | int | The page position in the result. | [optional] |
query | string | The search wildcard. | [optional] |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]