All URIs are relative to http://localhost, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| applyYearEndEmployer() | PUT /employers/{id}/YearEnd | Make Year End Changes |
| calendarEmployer() | GET /employers/{id}/calendar | Get Employer Calendar |
| createEmployer() | POST /employers | Create an Employer |
| customPayslipEmployer() | GET /employers/{id}/custompayslip | Get Payslip Customisations |
| deleteEmployer() | DELETE /employers/{id} | Delete an Employer |
| getAutomationSettingsEmployer() | GET /employers/{id}/automation | Get Automation Settings |
| getEmployeesWithAccrualHolidaySchemeEmployer() | GET /employers/{id}/accrual-holiday-scheme/employee | Get List of Employees with Holiday Accrual Scheme |
| getEmployer() | GET /employers/{id} | Get an Employer |
| getEmployerOpeningBalancesEmployer() | GET /employers/{id}/openingbalances | Get EmployerOpeningBalances |
| getEvcOptInHistoryEmployer() | GET /employers/{id}/evc | Get EVC OptIn History |
| getGroupMembershipsEmployer() | GET /employers/{id}/groups | Get Employer Groups |
| getReenrolmentStatusEmployer() | GET /employers/reenrolmentstatus | Gets the re-enrolment status for the employer |
| getUserEmployerEmployer() | GET /employers/{id}/users/userEmployer | Get User Employer |
| importCsvEmployer() | POST /employers/import | Import CSV |
| indexEmployer() | GET /employers | List Employers |
| listUsersEmployer() | GET /employers/{id}/users | List Users |
| removeUserEmployer() | DELETE /employers/{id}/users/{userId} | Remove User |
| reviewYearEndEmployer() | GET /employers/{id}/YearEnd | Review Year End Changes |
| rtiRequiringAttentionEmployer() | GET /employers/{id}/rti/requiringattention | RTI Documents Requiring Attention |
| searchEmployeesEmployer() | GET /employers/employees/search | Search Employees |
| searchEmployer() | GET /employers/search | Search Employers |
| setEvcOptInEmployer() | PUT /employers/{id}/evc | Update EVC OptIn |
| setGroupMembershipsEmployer() | PUT /employers/{id}/groups | Set Employer Groups |
| setOwnerEmployer() | PUT /employers/{id}/users/owner | Set Owner |
| suggestPayCodeEmployer() | GET /employers/{id}/suggestPayrollCode | Suggest Payroll Code |
| updateAutomationSettingsEmployer() | PUT /employers/{id}/automation | Update Automation Settings |
| updateCustomPayslipEmployer() | POST /employers/{id}/custompayslip | Update Payslip Customisations |
| updateEmployer() | PUT /employers/{id} | Update an Employer |
| updateEmployerCanUsePremiumConnectorsEmployer() | PUT /employers/{id}/can-use-premium-connectors | Update Can Use Premium Connectors Setting |
| updateEmployerOpeningBalancesEmployer() | PUT /employers/{id}/openingbalances | Update EmployerOpeningBalances |
| updateLogoEmployer() | POST /employers/{id}/logo | Update Employer Logo |
applyYearEndEmployer($id, $requestBody): \SynergiTech\Staffology\Model\YearEndMake Year End Changes
Apply the changes for the year end and start the next tax year for the employer.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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 Id of the Employer
$requestBody = NULL; // array<string,mixed> | You can suppress the emailing of P60s and/or CIS Statements by supplying a value of true for dontEmailP60s and/or dontEmailCisStatements
try {
$result = $apiInstance->applyYearEndEmployer($id, $requestBody);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->applyYearEndEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The Id of the Employer | |
| requestBody | array<string,mixed> | You can suppress the emailing of P60s and/or CIS Statements by supplying a value of true for dontEmailP60s and/or dontEmailCisStatements | [optional] |
\SynergiTech\Staffology\Model\YearEnd
- Content-Type:
application/*+json,application/json,application/json-patch+json,text/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
calendarEmployer($id, $from, $to): \SynergiTech\Staffology\Model\CalendarEntry[]Get Employer Calendar
Get a list of upcoming CalendarEntry for the Employer.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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 Id of the Employer.
$from = new \DateTime('2013-10-20T19:20:30+01:00'); // \DateTime
$to = new \DateTime('2013-10-20T19:20:30+01:00'); // \DateTime
try {
$result = $apiInstance->calendarEmployer($id, $from, $to);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->calendarEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The Id of the Employer. | |
| from | \DateTime | [optional] | |
| to | \DateTime | [optional] |
\SynergiTech\Staffology\Model\CalendarEntry[]
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
createEmployer($contractEmployerRequest): \SynergiTech\Staffology\Model\ContractEmployerResponseCreate an Employer
Use this method to create a new Employer The only required field is the Employer name.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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
);
$contractEmployerRequest = new \SynergiTech\Staffology\Model\ContractEmployerRequest(); // \SynergiTech\Staffology\Model\ContractEmployerRequest
try {
$result = $apiInstance->createEmployer($contractEmployerRequest);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->createEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| contractEmployerRequest | \SynergiTech\Staffology\Model\ContractEmployerRequest | [optional] |
\SynergiTech\Staffology\Model\ContractEmployerResponse
- Content-Type:
application/*+json,application/json,application/json-patch+json,text/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
customPayslipEmployer($id): \SynergiTech\Staffology\Model\PayslipCustomisationGet Payslip Customisations
Get the settings used to customise PaySlips for this Employer
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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 Id of the Employer you want customisations for.
try {
$result = $apiInstance->customPayslipEmployer($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->customPayslipEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The Id of the Employer you want customisations for. |
\SynergiTech\Staffology\Model\PayslipCustomisation
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteEmployer($id)Delete an Employer
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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 Id of the Employer you want to delete.
try {
$apiInstance->deleteEmployer($id);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->deleteEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The Id of the Employer you want to delete. |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getAutomationSettingsEmployer($id): \SynergiTech\Staffology\Model\AutomationSettingsGet Automation Settings
Returns the AutomationSettings for the Employer
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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 Id of the Employer
try {
$result = $apiInstance->getAutomationSettingsEmployer($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->getAutomationSettingsEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The Id of the Employer |
\SynergiTech\Staffology\Model\AutomationSettings
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getEmployeesWithAccrualHolidaySchemeEmployer($id): \SynergiTech\Staffology\Model\Item[]Get List of Employees with Holiday Accrual Scheme
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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
try {
$result = $apiInstance->getEmployeesWithAccrualHolidaySchemeEmployer($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->getEmployeesWithAccrualHolidaySchemeEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string |
\SynergiTech\Staffology\Model\Item[]
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getEmployer($id): \SynergiTech\Staffology\Model\ContractEmployerResponseGet an Employer
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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 Id of the Employer you want to retrieve.
try {
$result = $apiInstance->getEmployer($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->getEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The Id of the Employer you want to retrieve. |
\SynergiTech\Staffology\Model\ContractEmployerResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getEmployerOpeningBalancesEmployer($id): \SynergiTech\Staffology\Model\EmployerOpeningBalancesGet EmployerOpeningBalances
Returns the EmployerOpeningBalances for the Employer
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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 Id of the Employer
try {
$result = $apiInstance->getEmployerOpeningBalancesEmployer($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->getEmployerOpeningBalancesEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The Id of the Employer |
\SynergiTech\Staffology\Model\EmployerOpeningBalances
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getEvcOptInHistoryEmployer($id): \SynergiTech\Staffology\Model\EmployerEvcOptInHistory[]Get EVC OptIn History
Gets the history of changes to the EVC OptIn setting for the employer.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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 Id of the Employer
try {
$result = $apiInstance->getEvcOptInHistoryEmployer($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->getEvcOptInHistoryEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The Id of the Employer |
\SynergiTech\Staffology\Model\EmployerEvcOptInHistory[]
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getGroupMembershipsEmployer($id): \SynergiTech\Staffology\Model\EmployerGroupMembership[]Get Employer Groups
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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 Id of the Employer you want to retrieve Groups for.
try {
$result = $apiInstance->getGroupMembershipsEmployer($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->getGroupMembershipsEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The Id of the Employer you want to retrieve Groups for. |
\SynergiTech\Staffology\Model\EmployerGroupMembership[]
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getReenrolmentStatusEmployer($id): \SynergiTech\Staffology\Model\ReenrolmentStatusGets the re-enrolment status for the employer
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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
try {
$result = $apiInstance->getReenrolmentStatusEmployer($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->getReenrolmentStatusEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | [optional] |
\SynergiTech\Staffology\Model\ReenrolmentStatus
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getUserEmployerEmployer($id): \SynergiTech\Staffology\Model\UserEmployerGet User Employer
Returns a UserEmployer for the given Employer Id
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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 Id of the Employer you want to get the User from.
try {
$result = $apiInstance->getUserEmployerEmployer($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->getUserEmployerEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The Id of the Employer you want to get the User from. |
\SynergiTech\Staffology\Model\UserEmployer
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
importCsvEmployer($previewOnly, $file): \SynergiTech\Staffology\Model\Item[]Import CSV
Import employers from a CSV file.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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
);
$previewOnly = false; // bool | Set to true and nothing will be imported but you'll be shown a preview of the data.
$file = '/path/to/file.txt'; // \SplFileObject
try {
$result = $apiInstance->importCsvEmployer($previewOnly, $file);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->importCsvEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| previewOnly | bool | Set to true and nothing will be imported but you'll be shown a preview of the data. | [optional] [default to false] |
| file | \SplFileObject**\SplFileObject** | [optional] |
\SynergiTech\Staffology\Model\Item[]
- Content-Type:
multipart/form-data - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
indexEmployer($employerGroupCode, $searchTerm, $employerListType, $pageNum, $pageSize, $sortBy, $sortDescending): \SynergiTech\Staffology\Model\Item[]List Employers
Return a list of employers with pagination options. If no pagination parameters are provided, return all applicable employers based on the search.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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
);
$employerGroupCode = 'employerGroupCode_example'; // string | Optionally specify the code of an EmployerGroup to only see employers that are a member of that group.
$searchTerm = 'searchTerm_example'; // string | Filters the employer list by Processor Name, Employer Name, Customer #, Alt ID and Employer GUID.
$employerListType = new \SynergiTech\Staffology\Model\\SynergiTech\Staffology\Model\EmployerListType(); // \SynergiTech\Staffology\Model\EmployerListType | Filters the employer list type.
$pageNum = 56; // int | Zero-based index indicating the current page.
$pageSize = 56; // int | Number of items per page.
$sortBy = new \SynergiTech\Staffology\Model\\SynergiTech\Staffology\Model\EmployerSortBy(); // \SynergiTech\Staffology\Model\EmployerSortBy | Field to sort employers by.
$sortDescending = True; // bool | Indicates descending sort order.
try {
$result = $apiInstance->indexEmployer($employerGroupCode, $searchTerm, $employerListType, $pageNum, $pageSize, $sortBy, $sortDescending);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->indexEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| employerGroupCode | string | Optionally specify the code of an EmployerGroup to only see employers that are a member of that group. | [optional] |
| searchTerm | string | Filters the employer list by Processor Name, Employer Name, Customer #, Alt ID and Employer GUID. | [optional] |
| employerListType | \SynergiTech\Staffology\Model\EmployerListType | Filters the employer list type. | [optional] |
| pageNum | int | Zero-based index indicating the current page. | [optional] |
| pageSize | int | Number of items per page. | [optional] |
| sortBy | \SynergiTech\Staffology\Model\EmployerSortBy | Field to sort employers by. | [optional] |
| sortDescending | bool | Indicates descending sort order. | [optional] |
\SynergiTech\Staffology\Model\Item[]
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
listUsersEmployer($id): \SynergiTech\Staffology\Model\Item[]List Users
Returns a list of Users that have access to the given Employer
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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 Id of the Employer you want a list of Users for.
try {
$result = $apiInstance->listUsersEmployer($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->listUsersEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The Id of the Employer you want a list of Users for. |
\SynergiTech\Staffology\Model\Item[]
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
removeUserEmployer($id, $userId)Remove User
Removes a User from an Employer. You cannot remove Users that are marked as the owner of the Employer. You must be the owner of the Employer in order to remove other Users.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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 Id of the Employer you want to remove the User from.
$userId = 'userId_example'; // string | The Id of the User you want to remove.
try {
$apiInstance->removeUserEmployer($id, $userId);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->removeUserEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The Id of the Employer you want to remove the User from. | |
| userId | string | The Id of the User you want to remove. |
void (empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
reviewYearEndEmployer($id): \SynergiTech\Staffology\Model\YearEndReview Year End Changes
View the changes that will be made when you start the next tax year for the employer
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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 Id of the Employer
try {
$result = $apiInstance->reviewYearEndEmployer($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->reviewYearEndEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The Id of the Employer |
\SynergiTech\Staffology\Model\YearEnd
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
rtiRequiringAttentionEmployer($id): \SynergiTech\Staffology\Model\Item[]RTI Documents Requiring Attention
Returns all RTI documents that have a Submission Status of NotSubmitted or ErrorResponse
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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 Id of the Employer
try {
$result = $apiInstance->rtiRequiringAttentionEmployer($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->rtiRequiringAttentionEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The Id of the Employer |
\SynergiTech\Staffology\Model\Item[]
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
searchEmployeesEmployer($query, $exludeCisSubContactors): \SynergiTech\Staffology\Model\Item[]Search Employees
Search all employers for an employee based on their name or payroll code. Ensure your query is at least 3 characters long or you wont get any results.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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
);
$query = 'query_example'; // string | The search string (at least 3 characters).
$exludeCisSubContactors = false; // bool | If set to true, then we'll only search employees that aren't labeled as CIS Subcontractors
try {
$result = $apiInstance->searchEmployeesEmployer($query, $exludeCisSubContactors);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->searchEmployeesEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| query | string | The search string (at least 3 characters). | [optional] |
| exludeCisSubContactors | bool | If set to true, then we'll only search employees that aren't labeled as CIS Subcontractors | [optional] [default to false] |
\SynergiTech\Staffology\Model\Item[]
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
searchEmployer($query): \SynergiTech\Staffology\Model\Item[]Search Employers
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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
);
$query = 'query_example'; // string
try {
$result = $apiInstance->searchEmployer($query);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->searchEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| query | string | [optional] |
\SynergiTech\Staffology\Model\Item[]
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
setEvcOptInEmployer($id, $body)Update EVC OptIn
Sets the EVC OptIn setting for the employer. A boolean value needs to be sent in the body to indicate if the employer is opted in. So sending false would result in the employer being opted out.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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 Id of the Employer
$body = True; // bool
try {
$apiInstance->setEvcOptInEmployer($id, $body);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->setEvcOptInEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The Id of the Employer | |
| body | bool | [optional] |
void (empty response body)
- Content-Type:
application/*+json,application/json,application/json-patch+json,text/json - Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
setGroupMembershipsEmployer($id, $employerGroupMembership): \SynergiTech\Staffology\Model\EmployerGroupMembership[]Set Employer Groups
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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 Id of the Employer you want to set Groups for.
$employerGroupMembership = array(new \SynergiTech\Staffology\Model\EmployerGroupMembership()); // \SynergiTech\Staffology\Model\EmployerGroupMembership[]
try {
$result = $apiInstance->setGroupMembershipsEmployer($id, $employerGroupMembership);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->setGroupMembershipsEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The Id of the Employer you want to set Groups for. | |
| employerGroupMembership | \SynergiTech\Staffology\Model\EmployerGroupMembership[] | [optional] |
\SynergiTech\Staffology\Model\EmployerGroupMembership[]
- Content-Type:
application/*+json,application/json,application/json-patch+json,text/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
setOwnerEmployer($id, $body)Set Owner
Sets the owner for the employer. You must be the owner of the Employer to set this value. The user you are setting as the owner must already have the role Admin. You can get a list of users from the ListUsers endpoint.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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 Id of the Employer you want to change the ownership of.
$body = 'body_example'; // string | The Id of the User you want a change ownership to. They must already be a user for this employer and have the admin role assigned to them.
try {
$apiInstance->setOwnerEmployer($id, $body);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->setOwnerEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The Id of the Employer you want to change the ownership of. | |
| body | string | The Id of the User you want a change ownership to. They must already be a user for this employer and have the admin role assigned to them. | [optional] |
void (empty response body)
- Content-Type:
application/*+json,application/json,application/json-patch+json,text/json - Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
suggestPayCodeEmployer($id): stringSuggest Payroll Code
This helper method returns a unique code for the next Employee that you create for the specified Employer. You don't have to use the value provided, you can use any value that is unique across Employees for the Employer.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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 Id of the Employer you want a suggestion for.
try {
$result = $apiInstance->suggestPayCodeEmployer($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->suggestPayCodeEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The Id of the Employer you want a suggestion for. |
string
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateAutomationSettingsEmployer($id, $automationSettings): \SynergiTech\Staffology\Model\AutomationSettingsUpdate Automation Settings
Updates the AutomationSettings for the Employer
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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 Id of the Employer
$automationSettings = new \SynergiTech\Staffology\Model\AutomationSettings(); // \SynergiTech\Staffology\Model\AutomationSettings
try {
$result = $apiInstance->updateAutomationSettingsEmployer($id, $automationSettings);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->updateAutomationSettingsEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The Id of the Employer | |
| automationSettings | \SynergiTech\Staffology\Model\AutomationSettings | [optional] |
\SynergiTech\Staffology\Model\AutomationSettings
- Content-Type:
application/*+json,application/json,application/json-patch+json,text/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateCustomPayslipEmployer($id, $payslipCustomisation): \SynergiTech\Staffology\Model\PayslipCustomisationUpdate Payslip Customisations
Set the settings used to customise PaySlips for this Employer
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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 Id of the Employer you want customisations for.
$payslipCustomisation = new \SynergiTech\Staffology\Model\PayslipCustomisation(); // \SynergiTech\Staffology\Model\PayslipCustomisation
try {
$result = $apiInstance->updateCustomPayslipEmployer($id, $payslipCustomisation);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->updateCustomPayslipEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The Id of the Employer you want customisations for. | |
| payslipCustomisation | \SynergiTech\Staffology\Model\PayslipCustomisation | [optional] |
\SynergiTech\Staffology\Model\PayslipCustomisation
- Content-Type:
application/*+json,application/json,application/json-patch+json,text/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateEmployer($id, $contractEmployerRequest): \SynergiTech\Staffology\Model\ContractEmployerResponseUpdate an Employer
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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 Id of the Employer you want to update.
$contractEmployerRequest = new \SynergiTech\Staffology\Model\ContractEmployerRequest(); // \SynergiTech\Staffology\Model\ContractEmployerRequest
try {
$result = $apiInstance->updateEmployer($id, $contractEmployerRequest);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->updateEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The Id of the Employer you want to update. | |
| contractEmployerRequest | \SynergiTech\Staffology\Model\ContractEmployerRequest | [optional] |
\SynergiTech\Staffology\Model\ContractEmployerResponse
- Content-Type:
application/*+json,application/json,application/json-patch+json,text/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateEmployerCanUsePremiumConnectorsEmployer($id, $body)Update Can Use Premium Connectors Setting
Sets Can Use Premium Connectors Setting A boolean value needs to be sent in the body to indicate if the employer can use premium connectors. So sending false would result in the employer not being able to use the premium connectors.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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 Id of the Employer you want to update.
$body = True; // bool
try {
$apiInstance->updateEmployerCanUsePremiumConnectorsEmployer($id, $body);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->updateEmployerCanUsePremiumConnectorsEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The Id of the Employer you want to update. | |
| body | bool | [optional] |
void (empty response body)
- Content-Type:
application/*+json,application/json,application/json-patch+json,text/json - Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateEmployerOpeningBalancesEmployer($id, $employerOpeningBalances): \SynergiTech\Staffology\Model\EmployerOpeningBalancesUpdate EmployerOpeningBalances
Updates the EmployerOpeningBalances for the Employer for their StartYear
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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 Id of the Employer
$employerOpeningBalances = new \SynergiTech\Staffology\Model\EmployerOpeningBalances(); // \SynergiTech\Staffology\Model\EmployerOpeningBalances
try {
$result = $apiInstance->updateEmployerOpeningBalancesEmployer($id, $employerOpeningBalances);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->updateEmployerOpeningBalancesEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The Id of the Employer | |
| employerOpeningBalances | \SynergiTech\Staffology\Model\EmployerOpeningBalances | [optional] |
\SynergiTech\Staffology\Model\EmployerOpeningBalances
- Content-Type:
application/*+json,application/json,application/json-patch+json,text/json - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateLogoEmployer($id, $file): \SynergiTech\Staffology\Model\ContractEmployerResponseUpdate Employer Logo
If you already have a URL for the employer Logo then you can just set the LogoUrl property of the Employer. Alternatively, submit a logo here and we'll upload it and set the LogoUrl for you.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure HTTP basic authorization: Basic
$config = SynergiTech\Staffology\Configuration::getDefaultConfiguration()
->setUsername('YOUR_USERNAME')
->setPassword('YOUR_PASSWORD');
$apiInstance = new SynergiTech\Staffology\Api\EmployerApi(
// 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 Id of the Employer you want to update.
$file = '/path/to/file.txt'; // \SplFileObject
try {
$result = $apiInstance->updateLogoEmployer($id, $file);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployerApi->updateLogoEmployer: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | The Id of the Employer you want to update. | |
| file | \SplFileObject**\SplFileObject** | [optional] |
\SynergiTech\Staffology\Model\ContractEmployerResponse
- Content-Type:
multipart/form-data - Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]