All URIs are relative to http://localhost, except if the operation defines another base path.
| Method | HTTP request | Description |
|---|---|---|
| contributionsForPayrunPensionScheme() | GET /employers/{employerId}/pensionschemes/{id}/contributions/{taxYear}/{payPeriod}/{periodNumber} | Contributions for Payrun |
| contributionsPensionScheme() | GET /employers/{employerId}/pensionschemes/{id}/contributions/{taxYear}/{submissionId} | Contributions Data |
| createPensionScheme() | POST /employers/{employerId}/pensionschemes | Create a PensionScheme |
| deletePensionScheme() | DELETE /employers/{employerId}/pensionschemes/{id} | Delete a PensionScheme |
| employeesPensionScheme() | GET /employers/{employerId}/pensionschemes/{id}/employees | Get Employees |
| getPensionScheme() | GET /employers/{employerId}/pensionschemes/{id} | Get a PensionScheme |
| indexPensionScheme() | GET /employers/{employerId}/pensionschemes | List PensionSchemes |
| listContributionsPensionScheme() | GET /employers/{employerId}/pensionschemes/{id}/contributions/{taxYear} | List Contributions |
| markAsSentPensionScheme() | POST /employers/{employerId}/pensionschemes/{id}/contributions/{taxYear}/{submissionId}/markassent | Mark as Sent |
| resubmitContributionsPensionScheme() | POST /employers/{employerId}/pensionschemes/{id}/contributions/{taxYear}/{submissionId} | Re-submit Contributions |
| updatePensionScheme() | PUT /employers/{employerId}/pensionschemes/{id} | Update a PensionScheme |
contributionsForPayrunPensionScheme($employerId, $id, $taxYear, $payPeriod, $periodNumber, $ordinal): \SynergiTech\Staffology\Model\PensionContributionsSubmissionContributions for Payrun
Returns contributions for a specific scheme and payrun
<?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\PensionSchemeApi(
// 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 PensionScheme belongs.
$id = 'id_example'; // string | The Id of the PensionScheme.
$taxYear = new \SynergiTech\Staffology\Model\\SynergiTech\Staffology\Model\TaxYear(); // \SynergiTech\Staffology\Model\TaxYear | The TaxYear to query
$payPeriod = new \SynergiTech\Staffology\Model\\SynergiTech\Staffology\Model\PayPeriods(); // \SynergiTech\Staffology\Model\PayPeriods
$periodNumber = 56; // int
$ordinal = 1; // int
try {
$result = $apiInstance->contributionsForPayrunPensionScheme($employerId, $id, $taxYear, $payPeriod, $periodNumber, $ordinal);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PensionSchemeApi->contributionsForPayrunPensionScheme: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| employerId | string | The Id of the Employer to which the PensionScheme belongs. | |
| id | string | The Id of the PensionScheme. | |
| taxYear | \SynergiTech\Staffology\Model\TaxYear | The TaxYear to query | |
| payPeriod | \SynergiTech\Staffology\Model\PayPeriods | ||
| periodNumber | int | ||
| ordinal | int | [optional] [default to 1] |
\SynergiTech\Staffology\Model\PensionContributionsSubmission
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
contributionsPensionScheme($employerId, $id, $taxYear, $submissionId): \SynergiTech\Staffology\Model\ExternalProviderConversationContributions Data
Returns an ExternalProviderConversation showing data sent to and received from the ExternalDataProvider for the pension contribution submission.
<?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\PensionSchemeApi(
// 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 PensionScheme belongs.
$id = 'id_example'; // string | The Id of the PensionScheme.
$taxYear = new \SynergiTech\Staffology\Model\\SynergiTech\Staffology\Model\TaxYear(); // \SynergiTech\Staffology\Model\TaxYear | The TaxYear of the submission
$submissionId = 'submissionId_example'; // string | The Id of the Submission.
try {
$result = $apiInstance->contributionsPensionScheme($employerId, $id, $taxYear, $submissionId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PensionSchemeApi->contributionsPensionScheme: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| employerId | string | The Id of the Employer to which the PensionScheme belongs. | |
| id | string | The Id of the PensionScheme. | |
| taxYear | \SynergiTech\Staffology\Model\TaxYear | The TaxYear of the submission | |
| submissionId | string | The Id of the Submission. |
\SynergiTech\Staffology\Model\ExternalProviderConversation
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
createPensionScheme($employerId, $pensionScheme): \SynergiTech\Staffology\Model\PensionSchemeCreate a PensionScheme
<?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\PensionSchemeApi(
// 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
$pensionScheme = new \SynergiTech\Staffology\Model\PensionScheme(); // \SynergiTech\Staffology\Model\PensionScheme
try {
$result = $apiInstance->createPensionScheme($employerId, $pensionScheme);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PensionSchemeApi->createPensionScheme: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| employerId | string | ||
| pensionScheme | \SynergiTech\Staffology\Model\PensionScheme | [optional] |
\SynergiTech\Staffology\Model\PensionScheme
- 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]
deletePensionScheme($employerId, $id)Delete a PensionScheme
<?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\PensionSchemeApi(
// 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
$id = 'id_example'; // string
try {
$apiInstance->deletePensionScheme($employerId, $id);
} catch (Exception $e) {
echo 'Exception when calling PensionSchemeApi->deletePensionScheme: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| employerId | string | ||
| id | 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]
employeesPensionScheme($employerId, $id): \SynergiTech\Staffology\Model\Item[]Get Employees
Returns the employees that are enrolled in the specified 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\PensionSchemeApi(
// 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 PensionScheme belongs.
$id = 'id_example'; // string | The Id of the PensionScheme you want to retrieve Employees for.
try {
$result = $apiInstance->employeesPensionScheme($employerId, $id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PensionSchemeApi->employeesPensionScheme: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| employerId | string | The Id of the Employer to which the PensionScheme belongs. | |
| id | string | The Id of the PensionScheme you want to retrieve Employees 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]
getPensionScheme($employerId, $id): \SynergiTech\Staffology\Model\PensionSchemeGet a PensionScheme
<?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\PensionSchemeApi(
// 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 PensionScheme belongs.
$id = 'id_example'; // string | The Id of the PensionScheme you want to retrieve.
try {
$result = $apiInstance->getPensionScheme($employerId, $id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PensionSchemeApi->getPensionScheme: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| employerId | string | The Id of the Employer to which the PensionScheme belongs. | |
| id | string | The Id of the PensionScheme you want to retrieve. |
\SynergiTech\Staffology\Model\PensionScheme
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
indexPensionScheme($employerId): \SynergiTech\Staffology\Model\Item[]List PensionSchemes
<?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\PensionSchemeApi(
// 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 PensionSchemes
try {
$result = $apiInstance->indexPensionScheme($employerId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PensionSchemeApi->indexPensionScheme: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| employerId | string | The Id of the Employer for which you want to list PensionSchemes |
\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]
listContributionsPensionScheme($employerId, $id, $taxYear): \SynergiTech\Staffology\Model\Item[]List Contributions
Returns a list of Items that tell you which PayRuns contain contributions to this scheme and the Url to the relevant report. IF the scheme is connected to an ExternalDataProvider then the status of the submission will also be included.
<?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\PensionSchemeApi(
// 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 PensionScheme belongs.
$id = 'id_example'; // string | The Id of the PensionScheme.
$taxYear = new \SynergiTech\Staffology\Model\\SynergiTech\Staffology\Model\TaxYear(); // \SynergiTech\Staffology\Model\TaxYear | The TaxYear to query
try {
$result = $apiInstance->listContributionsPensionScheme($employerId, $id, $taxYear);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PensionSchemeApi->listContributionsPensionScheme: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| employerId | string | The Id of the Employer to which the PensionScheme belongs. | |
| id | string | The Id of the PensionScheme. | |
| taxYear | \SynergiTech\Staffology\Model\TaxYear | The TaxYear to query |
\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]
markAsSentPensionScheme($employerId, $id, $taxYear, $submissionId): \SynergiTech\Staffology\Model\ExternalProviderConversationMark as Sent
Marks the Pension Contributions as sent
<?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\PensionSchemeApi(
// 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 PensionScheme belongs.
$id = 'id_example'; // string | The Id of the PensionScheme.
$taxYear = new \SynergiTech\Staffology\Model\\SynergiTech\Staffology\Model\TaxYear(); // \SynergiTech\Staffology\Model\TaxYear | The TaxYear of the submission
$submissionId = 'submissionId_example'; // string | The Id of the Submission.
try {
$result = $apiInstance->markAsSentPensionScheme($employerId, $id, $taxYear, $submissionId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PensionSchemeApi->markAsSentPensionScheme: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| employerId | string | The Id of the Employer to which the PensionScheme belongs. | |
| id | string | The Id of the PensionScheme. | |
| taxYear | \SynergiTech\Staffology\Model\TaxYear | The TaxYear of the submission | |
| submissionId | string | The Id of the Submission. |
\SynergiTech\Staffology\Model\ExternalProviderConversation
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
resubmitContributionsPensionScheme($employerId, $id, $taxYear, $submissionId)Re-submit Contributions
Re-submits previously failed Contributions to a Pension 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\PensionSchemeApi(
// 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 PensionScheme belongs.
$id = 'id_example'; // string | The Id of the PensionScheme.
$taxYear = new \SynergiTech\Staffology\Model\\SynergiTech\Staffology\Model\TaxYear(); // \SynergiTech\Staffology\Model\TaxYear | The TaxYear of the submission
$submissionId = 'submissionId_example'; // string | The Id of the Submission to re-submit.
try {
$apiInstance->resubmitContributionsPensionScheme($employerId, $id, $taxYear, $submissionId);
} catch (Exception $e) {
echo 'Exception when calling PensionSchemeApi->resubmitContributionsPensionScheme: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| employerId | string | The Id of the Employer to which the PensionScheme belongs. | |
| id | string | The Id of the PensionScheme. | |
| taxYear | \SynergiTech\Staffology\Model\TaxYear | The TaxYear of the submission | |
| submissionId | string | The Id of the Submission to re-submit. |
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]
updatePensionScheme($employerId, $id, $pensionScheme): \SynergiTech\Staffology\Model\PensionSchemeUpdate a PensionScheme
<?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\PensionSchemeApi(
// 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
$id = 'id_example'; // string
$pensionScheme = new \SynergiTech\Staffology\Model\PensionScheme(); // \SynergiTech\Staffology\Model\PensionScheme
try {
$result = $apiInstance->updatePensionScheme($employerId, $id, $pensionScheme);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PensionSchemeApi->updatePensionScheme: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| employerId | string | ||
| id | string | ||
| pensionScheme | \SynergiTech\Staffology\Model\PensionScheme | [optional] |
\SynergiTech\Staffology\Model\PensionScheme
- 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]