All URIs are relative to https://virtserver.swaggerhub.com/smartgammadev/Evolia/1.0.0
Method | HTTP request | Description |
---|---|---|
payrollsGet | GET /payrolls | Get Payrolls by date range |
payrollsPayrollIdGet | GET /payrolls/{payrollId} | Get Payroll by it's id |
\Evolia\Model\PayrollViewModel payrollsGet($startDate, $endDate)
Get Payrolls by date range
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Evolia\SDK\PayrollApi(
// 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()
);
$startDate = "startDate_example"; // string |
$endDate = "endDate_example"; // string |
try {
$result = $apiInstance->payrollsGet($startDate, $endDate);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PayrollApi->payrollsGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
startDate | string | ||
endDate | string |
\Evolia\Model\PayrollViewModel
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Evolia\Model\PayrollViewModelList payrollsPayrollIdGet($payrollId)
Get Payroll by it's id
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Evolia\SDK\PayrollApi(
// 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()
);
$payrollId = 56; // int | Payroll Evolia identifier
try {
$result = $apiInstance->payrollsPayrollIdGet($payrollId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PayrollApi->payrollsPayrollIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
payrollId | int | Payroll Evolia identifier |
\Evolia\Model\PayrollViewModelList
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]