All URIs are relative to http://localhost, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| createPayCode() | POST /employers/{employerId}/paycodes | Create PayCode |
| deletePayCode() | DELETE /employers/{employerId}/paycodes/{code} | Delete PayCode (deprecated) |
| deletePayCodePayCode() | DELETE /employers/{employerId}/paycodes/paycode | Delete PayCode |
| getPayCode() | GET /employers/{employerId}/paycodes/{code} | Get PayCode (deprecated) |
| getPayCodePayCode() | GET /employers/{employerId}/paycodes/paycode | Get PayCode |
| indexPayCode() | GET /employers/{employerId}/paycodes | List PayCodes |
| nominalCodeMappingsPayCode() | GET /employers/{employerId}/paycodes/nominalcodes | Get Nominal Code Mappings |
| updateNominalCodeMappingsPayCode() | PUT /employers/{employerId}/paycodes/nominalcodes | Updates Nominal Code Mappings |
| updatePayCode() | PUT /employers/{employerId}/paycodes/{code} | Update PayCode (deprecated) |
| updatePayCodePayCode() | PUT /employers/{employerId}/paycodes/paycode | Update PayCode |
createPayCode($employerId, $payCode): \SynergiTech\Staffology\Model\PayCodeCreate PayCode
Creates a new PayCode 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\PayCodeApi(
// 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
);
$employerId = 'employerId_example'; // string
$payCode = new \SynergiTech\Staffology\Model\PayCode(); // \SynergiTech\Staffology\Model\PayCode
try {
$result = $apiInstance->createPayCode($employerId, $payCode);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PayCodeApi->createPayCode: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| employerId | string | ||
| payCode | \SynergiTech\Staffology\Model\PayCode | [optional] |
\SynergiTech\Staffology\Model\PayCode
- 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]
deletePayCode($employerId, $code)Delete PayCode (deprecated)
Deletes the specified PayCode. Use the other Delete endpoint that supports non-alphanumeric characters for a pay code
<?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\PayCodeApi(
// 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
);
$employerId = 'employerId_example'; // string
$code = 'code_example'; // string
try {
$apiInstance->deletePayCode($employerId, $code);
} catch (Exception $e) {
echo 'Exception when calling PayCodeApi->deletePayCode: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| employerId | string | ||
| code | string |
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]
deletePayCodePayCode($employerId, $code)Delete PayCode
Deletes the specified PayCode.
<?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\PayCodeApi(
// 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
);
$employerId = 'employerId_example'; // string
$code = 'code_example'; // string
try {
$apiInstance->deletePayCodePayCode($employerId, $code);
} catch (Exception $e) {
echo 'Exception when calling PayCodeApi->deletePayCodePayCode: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| employerId | string | ||
| code | string | [optional] |
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]
getPayCode($employerId, $code): \SynergiTech\Staffology\Model\PayCodeGet PayCode (deprecated)
Gets the PayCode specified. Use the other GET endpoint that supports non-alphanumeric characters for a pay code
<?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\PayCodeApi(
// 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
);
$employerId = 'employerId_example'; // string | The Id of the Employer to which the Pay Code belongs.
$code = 'code_example'; // string | The code of the Pay Code you want to retrieve.
try {
$result = $apiInstance->getPayCode($employerId, $code);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PayCodeApi->getPayCode: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| employerId | string | The Id of the Employer to which the Pay Code belongs. | |
| code | string | The code of the Pay Code you want to retrieve. |
\SynergiTech\Staffology\Model\PayCode
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getPayCodePayCode($employerId, $code): \SynergiTech\Staffology\Model\PayCodeGet PayCode
Gets the PayCode specified.
<?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\PayCodeApi(
// 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
);
$employerId = 'employerId_example'; // string | The Id of the Employer to which the Pay Code belongs.
$code = 'code_example'; // string | The code of the Pay Code you want to retrieve.
try {
$result = $apiInstance->getPayCodePayCode($employerId, $code);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PayCodeApi->getPayCodePayCode: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| employerId | string | The Id of the Employer to which the Pay Code belongs. | |
| code | string | The code of the Pay Code you want to retrieve. | [optional] |
\SynergiTech\Staffology\Model\PayCode
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
indexPayCode($employerId, $verbose): \SynergiTech\Staffology\Model\PayCode[]List PayCodes
Lists all PayCodes for the Employer specified.
<?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\PayCodeApi(
// 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
);
$employerId = 'employerId_example'; // string | The Id of the Employer for which you want to list Pay Codes
$verbose = false; // bool | If provided and set to true then full details of all Pay Codes will be returned instead of just a summary
try {
$result = $apiInstance->indexPayCode($employerId, $verbose);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PayCodeApi->indexPayCode: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| employerId | string | The Id of the Employer for which you want to list Pay Codes | |
| verbose | bool | If provided and set to true then full details of all Pay Codes will be returned instead of just a summary | [optional] [default to false] |
\SynergiTech\Staffology\Model\PayCode[]
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
nominalCodeMappingsPayCode($employerId): \SynergiTech\Staffology\Model\NominalCodeMapping[]Get Nominal Code Mappings
Returns the list of mappings of PayCodes to NominalCodes
<?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\PayCodeApi(
// 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
);
$employerId = 'employerId_example'; // string | The Id of the Employer for which you want to get the mapping
try {
$result = $apiInstance->nominalCodeMappingsPayCode($employerId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PayCodeApi->nominalCodeMappingsPayCode: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| employerId | string | The Id of the Employer for which you want to get the mapping |
\SynergiTech\Staffology\Model\NominalCodeMapping[]
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateNominalCodeMappingsPayCode($employerId, $nominalCodeMapping): \SynergiTech\Staffology\Model\NominalCodeMapping[]Updates Nominal Code Mappings
Updates the list of mappings of PayCodes to NominalCodes
<?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\PayCodeApi(
// 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
);
$employerId = 'employerId_example'; // string
$nominalCodeMapping = array(new \SynergiTech\Staffology\Model\NominalCodeMapping()); // \SynergiTech\Staffology\Model\NominalCodeMapping[]
try {
$result = $apiInstance->updateNominalCodeMappingsPayCode($employerId, $nominalCodeMapping);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PayCodeApi->updateNominalCodeMappingsPayCode: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| employerId | string | ||
| nominalCodeMapping | \SynergiTech\Staffology\Model\NominalCodeMapping[] | [optional] |
\SynergiTech\Staffology\Model\NominalCodeMapping[]
- 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]
updatePayCode($employerId, $code, $payCode): \SynergiTech\Staffology\Model\PayCodeUpdate PayCode (deprecated)
Updates the details of an existing PayCode. Use the other Update endpoint that supports non-alphanumeric characters for a pay code
<?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\PayCodeApi(
// 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
);
$employerId = 'employerId_example'; // string
$code = 'code_example'; // string
$payCode = new \SynergiTech\Staffology\Model\PayCode(); // \SynergiTech\Staffology\Model\PayCode
try {
$result = $apiInstance->updatePayCode($employerId, $code, $payCode);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PayCodeApi->updatePayCode: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| employerId | string | ||
| code | string | ||
| payCode | \SynergiTech\Staffology\Model\PayCode | [optional] |
\SynergiTech\Staffology\Model\PayCode
- 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]
updatePayCodePayCode($employerId, $code, $payCode): \SynergiTech\Staffology\Model\PayCodeUpdate PayCode
Updates the details of an existing PayCode.
<?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\PayCodeApi(
// 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
);
$employerId = 'employerId_example'; // string
$code = 'code_example'; // string
$payCode = new \SynergiTech\Staffology\Model\PayCode(); // \SynergiTech\Staffology\Model\PayCode
try {
$result = $apiInstance->updatePayCodePayCode($employerId, $code, $payCode);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PayCodeApi->updatePayCodePayCode: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| employerId | string | ||
| code | string | [optional] | |
| payCode | \SynergiTech\Staffology\Model\PayCode | [optional] |
\SynergiTech\Staffology\Model\PayCode
- 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]