HrisApi
- Create Company
- List Companies
- Delete Company
- Get Company
- Update Company
- Create Department
- List Departments
- Delete Department
- Get Department
- Update Department
- List Employee Payrolls
- Get Employee Payroll
- List Employee Schedules
- Create Employee
- List Employees
- Delete Employee
- Get Employee
- Update Employee
- List Payroll
- Get Payroll
- Create Time Off Request
- List Time Off Requests
- Delete Time Off Request
- Get Time Off Request
- Update Time Off Request
Method: companiesAdd
Apideck->getHrisApi()->companiesAdd($data)
Name | Type | Description | Notes |
---|---|---|---|
hris_company | \Apideck\Client\Model\HrisCompany | ||
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\CreateHrisCompanyResponse
Status code | Description |
---|---|
201 | Companies |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getHrisApi()->companiesAdd($company);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: companiesAll
Apideck->getHrisApi()->companiesAll($data)
Name | Type | Description | Notes |
---|---|---|---|
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
cursor | string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | |
pass_through | \Apideck\Client\Model\PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
limit | [int] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20 |
\Apideck\Client\Model\GetHrisCompaniesResponse
Status code | Description |
---|---|
200 | Companies |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getHrisApi()->companiesAll();
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: companiesDelete
Apideck->getHrisApi()->companiesDelete($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\DeleteHrisCompanyResponse
Status code | Description |
---|---|
200 | Companies |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getHrisApi()->companiesDelete('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: companiesOne
Apideck->getHrisApi()->companiesOne($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\GetHrisCompanyResponse
Status code | Description |
---|---|
200 | Company |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getHrisApi()->companiesOne('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: companiesUpdate
Apideck->getHrisApi()->companiesUpdate($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
hris_company | \Apideck\Client\Model\HrisCompany | ||
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\UpdateHrisCompanyResponse
Status code | Description |
---|---|
200 | Companies |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getHrisApi()->companiesUpdate('id_example', $company);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: departmentsAdd
Apideck->getHrisApi()->departmentsAdd($data)
Name | Type | Description | Notes |
---|---|---|---|
department | \Apideck\Client\Model\Department | ||
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\CreateDepartmentResponse
Status code | Description |
---|---|
201 | Departments |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getHrisApi()->departmentsAdd($department);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: departmentsAll
Apideck->getHrisApi()->departmentsAll($data)
Name | Type | Description | Notes |
---|---|---|---|
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
cursor | string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | |
pass_through | \Apideck\Client\Model\PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
limit | [int] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20 |
\Apideck\Client\Model\GetDepartmentsResponse
Status code | Description |
---|---|
200 | Departments |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getHrisApi()->departmentsAll();
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: departmentsDelete
Apideck->getHrisApi()->departmentsDelete($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\DeleteDepartmentResponse
Status code | Description |
---|---|
200 | Departments |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getHrisApi()->departmentsDelete('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: departmentsOne
Apideck->getHrisApi()->departmentsOne($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\GetDepartmentResponse
Status code | Description |
---|---|
200 | Departments |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getHrisApi()->departmentsOne('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: departmentsUpdate
Apideck->getHrisApi()->departmentsUpdate($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
department | \Apideck\Client\Model\Department | ||
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\UpdateDepartmentResponse
Status code | Description |
---|---|
200 | Departments |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getHrisApi()->departmentsUpdate('id_example', $department);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: employeePayrollsAll
Apideck->getHrisApi()->employeePayrollsAll($data)
Name | Type | Description | Notes |
---|---|---|---|
employee_id | string | ID of the employee you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
filter | \Apideck\Client\Model\PayrollsFilter | Apply filters | |
pass_through | \Apideck\Client\Model\PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\GetEmployeePayrollsResponse
Status code | Description |
---|---|
200 | EmployeePayrolls |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getHrisApi()->employeePayrollsAll('employee_id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: employeePayrollsOne
Apideck->getHrisApi()->employeePayrollsOne($data)
Name | Type | Description | Notes |
---|---|---|---|
payroll_id | string | ID of the payroll you are acting upon. | |
employee_id | string | ID of the employee you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\GetEmployeePayrollResponse
Status code | Description |
---|---|
200 | Payrolls |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getHrisApi()->employeePayrollsOne('payroll_id_example', 'employee_id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: employeeSchedulesAll
Apideck->getHrisApi()->employeeSchedulesAll($data)
Name | Type | Description | Notes |
---|---|---|---|
employee_id | string | ID of the employee you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
pass_through | \Apideck\Client\Model\PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\GetEmployeeSchedulesResponse
Status code | Description |
---|---|
200 | EmployeeSchedules |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getHrisApi()->employeeSchedulesAll('employee_id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: employeesAdd
Apideck->getHrisApi()->employeesAdd($data)
Name | Type | Description | Notes |
---|---|---|---|
employee | \Apideck\Client\Model\Employee | ||
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\CreateEmployeeResponse
Status code | Description |
---|---|
201 | Employees |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getHrisApi()->employeesAdd($employee);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: employeesAll
Apideck->getHrisApi()->employeesAll($data)
Name | Type | Description | Notes |
---|---|---|---|
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
cursor | string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | |
filter | \Apideck\Client\Model\EmployeesFilter | Apply filters | |
sort | \Apideck\Client\Model\EmployeesSort | Apply sorting | |
pass_through | \Apideck\Client\Model\PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
limit | [int] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20 |
\Apideck\Client\Model\GetEmployeesResponse
Status code | Description |
---|---|
200 | Employees |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getHrisApi()->employeesAll();
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: employeesDelete
Apideck->getHrisApi()->employeesDelete($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\DeleteEmployeeResponse
Status code | Description |
---|---|
200 | Employees |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getHrisApi()->employeesDelete('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: employeesOne
Apideck->getHrisApi()->employeesOne($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
filter | \Apideck\Client\Model\EmployeesOneFilter | Apply filters | |
pass_through | \Apideck\Client\Model\PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\GetEmployeeResponse
Status code | Description |
---|---|
200 | Employees |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getHrisApi()->employeesOne('id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: employeesUpdate
Apideck->getHrisApi()->employeesUpdate($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
employee | \Apideck\Client\Model\Employee | ||
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\UpdateEmployeeResponse
Status code | Description |
---|---|
200 | Employees |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getHrisApi()->employeesUpdate('id_example', $employee);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: payrollsAll
Apideck->getHrisApi()->payrollsAll($data)
Name | Type | Description | Notes |
---|---|---|---|
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
filter | \Apideck\Client\Model\PayrollsFilter | Apply filters | |
pass_through | \Apideck\Client\Model\PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\GetPayrollsResponse
Status code | Description |
---|---|
200 | Payrolls |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getHrisApi()->payrollsAll();
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: payrollsOne
Apideck->getHrisApi()->payrollsOne($data)
Name | Type | Description | Notes |
---|---|---|---|
payroll_id | string | ID of the payroll you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\GetPayrollResponse
Status code | Description |
---|---|
200 | Payrolls |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getHrisApi()->payrollsOne('payroll_id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: timeOffRequestsAdd
Apideck->getHrisApi()->timeOffRequestsAdd($data)
Name | Type | Description | Notes |
---|---|---|---|
time_off_request | \Apideck\Client\Model\TimeOffRequest | ||
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\CreateTimeOffRequestResponse
Status code | Description |
---|---|
201 | TimeOffRequests |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getHrisApi()->timeOffRequestsAdd($timeOffRequest);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: timeOffRequestsAll
Apideck->getHrisApi()->timeOffRequestsAll($data)
Name | Type | Description | Notes |
---|---|---|---|
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
cursor | string | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | |
filter | \Apideck\Client\Model\TimeOffRequestsFilter | Apply filters | |
pass_through | \Apideck\Client\Model\PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters. Ie: ?pass_through[search]=leads becomes ?search=leads | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
limit | [int] | Number of results to return. Minimum 1, Maximum 200, Default 20 | (optional) defaults to 20 |
\Apideck\Client\Model\GetTimeOffRequestsResponse
Status code | Description |
---|---|
200 | TimeOffRequests |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getHrisApi()->timeOffRequestsAll();
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: timeOffRequestsDelete
Apideck->getHrisApi()->timeOffRequestsDelete($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
employee_id | string | ID of the employee you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\DeleteTimeOffRequestResponse
Status code | Description |
---|---|
200 | TimeOffRequests |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getHrisApi()->timeOffRequestsDelete('id_example', 'employee_id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: timeOffRequestsOne
Apideck->getHrisApi()->timeOffRequestsOne($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
employee_id | string | ID of the employee you are acting upon. | |
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
fields | string | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. Example: `fields=name,email,addresses.city` In the example above, the response will only include the fields "name", "email" and "addresses.city". If any other fields are available, they will be excluded. |
|
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\GetTimeOffRequestResponse
Status code | Description |
---|---|
200 | TimeOffRequests |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getHrisApi()->timeOffRequestsOne('id_example', 'employee_id_example');
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}
[Back to top] [Back to API list] [Back to README]
Method: timeOffRequestsUpdate
Apideck->getHrisApi()->timeOffRequestsUpdate($data)
Name | Type | Description | Notes |
---|---|---|---|
id | string | ID of the record you are acting upon. | |
employee_id | string | ID of the employee you are acting upon. | |
time_off_request | \Apideck\Client\Model\TimeOffRequest | ||
x_apideck_consumer_id | string | ID of the consumer which you want to get or push data from | |
x_apideck_app_id | string | The ID of your Unify application | |
x_apideck_service_id | string | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | |
raw | [bool] | Include raw response. Mostly used for debugging purposes | (optional) defaults to false |
\Apideck\Client\Model\UpdateTimeOffRequestResponse
Status code | Description |
---|---|
200 | TimeOffRequests |
400 | Bad Request |
401 | Unauthorized |
402 | Payment Required |
404 | The specified resource was not found |
422 | Unprocessable |
4/5xx | Unexpected error |
<?php
require('vendor/autoload.php');
use Apideck\Client\Apideck;
use Apideck\Client\ApideckConfiguration;
use Apideck\Client\ApiException;
$config = new ApideckConfiguration('<insert-api-key-here>', '<insert-application-id-here>', '<insert-consumer-id-here>', '<insert-service-id-here>');
$apideck = new Apideck($config);
try {
$response = $apideck->getHrisApi()->timeOffRequestsUpdate('id_example', 'employee_id_example', $timeOffRequest);
var_dump('API called successfully', $response);
} catch(ApiException $error) {
var_dump('API called failed', $error);
}