Payroll | Benefit Account Type
Service to manage entities of type 'BenefitAccountType'.
Overview
URL | api/{tenantKey}/{orgKey}/payrollCore/benefitAccountTypes |
Methods Supported | GET, POST, PUT, DELETE |
All Operations
This service includes the following operations:
-
GET:
- GET BenefitAccountTypes
- GET BenefitAccountTypes (paged)
- GET BenefitAccountType by identifier
- GET BenefitAccountType by key
- GET Print BenefitAccountType by identifier
- GET Print BenefitAccountType by key
- GET Original Print BenefitAccountTypeOriginal by identifier
- GET Original Print BenefitAccountType by key
- POST:
-
PUT:
- PUT Set IsActive BenefitAccountType
- PUT Set BenefitAccountTypeKey BenefitAccountType
- PUT Set Name BenefitAccountType
- PUT Set BenefitAccountKind BenefitAccountType
- PUT Set CreditFormula BenefitAccountType
- PUT Set CreditValueCriteria BenefitAccountType
- PUT Set DebitKind BenefitAccountType
- PUT Set DebitFormula BenefitAccountType
- PUT Set DebitAbsence BenefitAccountType
- PUT Set AbsenceValidationFormula BenefitAccountType
- PUT Set BalanceTimeLimit BenefitAccountType
- PUT Set BalanceMinLimit BenefitAccountType
- PUT Set BalanceMinValidate BenefitAccountType
- PUT Set Earning BenefitAccountType
- PUT Set Timing BenefitAccountType
- PUT Set IsEditable BenefitAccountType
- PUT Set LiquidationEarning BenefitAccountType
- PUT Set AnualAdjustmentFormula BenefitAccountType
- DELETE:
All Resources
This service uses the following resources:
All Enumerations
This service uses the following enumerations:
GET BenefitAccountTypes
Returns the list of all the entity records available.
Response:
When successful, the response body contains the list of records available. See BenefitAccountTypeResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET BenefitAccountTypes (paged)
Returns a page of the list of all the entity records available.
The following elements are optional:
page | (int) The index of the page of the list that should be returned. This is a query string parameter. |
pageSize | (int) The number of page elements that should be returned (max. is 1000). This is a query string parameter. |
Response:
When successful, the response body contains the list of records available. See BenefitAccountTypeResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET BenefitAccountType by identifier
Returns the entity record that matches the specified identifier.
The following elements are required:
id | (string) The record identifier. |
Response:
When successful, the response body contains the entity record. See BenefitAccountTypeResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
GET BenefitAccountType by key
Returns the entity record that matches the specified key.
The following elements are required:
benefitAccountTypeKey | (string) Benefit Account Type. |
Response:
When successful, the response body contains the entity record. See BenefitAccountTypeResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
GET Print BenefitAccountType by identifier
Prints the specified entity record.
The following elements are required:
id | (string) The record identifier. |
The following elements are optional:
template | (string) The report template that should be used. This is a query string parameter. |
Response:
When successful, the response body contains a stream with the printed file. |
Response status codes:
200 | OK. The operation was completed successfully. |
404 | NotFound. The specified resord does not exist. |
Resource URL:
GET Print BenefitAccountType by key
Prints the specified entity record.
The following elements are required:
benefitAccountTypeKey | (string) Benefit Account Type. |
The following elements are optional:
template | (string) The report template that should be used. This is a query string parameter. |
Response:
When successful, the response body contains a stream with the printed file. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
GET Original Print BenefitAccountTypeOriginal by identifier
Prints the specified entity record.
The following elements are required:
id | (string) The record identifier. |
The following elements are optional:
template | (string) The report template that should be used. This is a query string parameter. |
Response:
When successful, the response body contains a stream with the printed file. |
Response status codes:
200 | OK. The operation was completed successfully. |
404 | NotFound. The specified resord does not exist. |
Resource URL:
GET Original Print BenefitAccountType by key
Prints the specified entity record.
The following elements are required:
benefitAccountTypeKey | (string) Benefit Account Type. |
The following elements are optional:
template | (string) The report template that should be used. This is a query string parameter. |
Response:
When successful, the response body contains a stream with the printed file. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
POST BenefitAccountTypes
Creates a new entity record.
The following elements are required:
benefitAccountTypeResource | (ApiBenefitAccountTypeResource) The request body should contain the entity record that should be created. See ApiBenefitAccountTypeResource. |
Response:
When successful, the response body contains the new entity record identifier. The resource header location property contains the URL for the new entity record. See ApiBenefitAccountTypeResource. |
Response status codes:
201 | Created. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set AbsenceValidationFormula BenefitAccountType
Updates the value of attribute 'AbsenceValidationFormula' in the specified entity record.
The following elements are required:
benefitAccountTypeKey | (string) Benefit Account Type. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set AnualAdjustmentFormula BenefitAccountType
Updates the value of attribute 'AnualAdjustmentFormula' in the specified entity record.
The following elements are required:
benefitAccountTypeKey | (string) Benefit Account Type. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set BalanceMinLimit BenefitAccountType
Updates the value of attribute 'BalanceMinLimit' in the specified entity record.
The following elements are required:
benefitAccountTypeKey | (string) Benefit Account Type. |
value | (decimal) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set BalanceMinValidate BenefitAccountType
Updates the value of attribute 'BalanceMinValidate' in the specified entity record.
The following elements are required:
benefitAccountTypeKey | (string) Benefit Account Type. |
value | (bool) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set BalanceTimeLimit BenefitAccountType
Updates the value of attribute 'BalanceTimeLimit' in the specified entity record.
The following elements are required:
benefitAccountTypeKey | (string) Benefit Account Type. |
value | (enum BalanceTimeLimit) The request body should contain the new value for the attribute. See BalanceTimeLimit. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set BenefitAccountKind BenefitAccountType
Updates the value of attribute 'BenefitAccountKind' in the specified entity record.
The following elements are required:
benefitAccountTypeKey | (string) Benefit Account Type. |
value | (enum BenefitAccountKind) The request body should contain the new value for the attribute. See BenefitAccountKind. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set BenefitAccountTypeKey BenefitAccountType
Updates the value of attribute 'BenefitAccountTypeKey' in the specified entity record.
The following elements are required:
benefitAccountTypeKey | (string) Benefit Account Type. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set CreditFormula BenefitAccountType
Updates the value of attribute 'CreditFormula' in the specified entity record.
The following elements are required:
benefitAccountTypeKey | (string) Benefit Account Type. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set CreditValueCriteria BenefitAccountType
Updates the value of attribute 'CreditValueCriteria' in the specified entity record.
The following elements are required:
benefitAccountTypeKey | (string) Benefit Account Type. |
value | (enum CreditValueCriteriaKind) The request body should contain the new value for the attribute. See CreditValueCriteriaKind. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set DebitAbsence BenefitAccountType
Updates the value of attribute 'DebitAbsence' in the specified entity record.
The following elements are required:
benefitAccountTypeKey | (string) Benefit Account Type. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set DebitFormula BenefitAccountType
Updates the value of attribute 'DebitFormula' in the specified entity record.
The following elements are required:
benefitAccountTypeKey | (string) Benefit Account Type. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set DebitKind BenefitAccountType
Updates the value of attribute 'DebitKind' in the specified entity record.
The following elements are required:
benefitAccountTypeKey | (string) Benefit Account Type. |
value | (enum DebitKind) The request body should contain the new value for the attribute. See DebitKind. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Earning BenefitAccountType
Updates the value of attribute 'Earning' in the specified entity record.
The following elements are required:
benefitAccountTypeKey | (string) Benefit Account Type. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set IsActive BenefitAccountType
Updates the value of attribute 'IsActive' in the specified entity record.
The following elements are required:
benefitAccountTypeKey | (string) Benefit Account Type. |
value | (bool) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
PUT Set IsEditable BenefitAccountType
Updates the value of attribute 'IsEditable' in the specified entity record.
The following elements are required:
benefitAccountTypeKey | (string) Benefit Account Type. |
value | (bool) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set LiquidationEarning BenefitAccountType
Updates the value of attribute 'LiquidationEarning' in the specified entity record.
The following elements are required:
benefitAccountTypeKey | (string) Benefit Account Type. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Name BenefitAccountType
Updates the value of attribute 'Name' in the specified entity record.
The following elements are required:
benefitAccountTypeKey | (string) Benefit Account Type. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Timing BenefitAccountType
Updates the value of attribute 'Timing' in the specified entity record.
The following elements are required:
benefitAccountTypeKey | (string) Benefit Account Type. |
value | (enum Timing) The request body should contain the new value for the attribute. See Timing. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
DELETE BenefitAccountType by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
id | (string) The record identifier. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | Deleted. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE BenefitAccountType by key
Deletes the entity record that matches the specified key.
The following elements are required:
benefitAccountTypeKey | (string) Benefit Account Type. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | Deleted. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
Resources
ApiBenefitAccountTypeResource
The following elements are required:
benefitAccountTypeKey | (string) Benefit Account Type. |
name | (string) Name. |
benefitAccountKind | (enum BenefitAccountKind) Kind.
See BenefitAccountKind. |
creditFormula | (string) Formula. |
creditValueCriteria | (enum CreditValueCriteriaKind) Value Criteria.
See CreditValueCriteriaKind. |
debitKind | (enum DebitKind) Kind.
See DebitKind. |
balanceTimeLimit | (enum BalanceTimeLimit) Balance Time Limit.
See BalanceTimeLimit. |
balanceMinLimit | (decimal) Min. Value. |
balanceMinValidate | (bool) Validate Min. Balance?. |
isEditable | (bool) Is Editable. |
The following elements are optional:
debitFormula | (string) Formula. |
debitAbsence | (string) Absence. |
absenceValidationFormula | (string) Absence Validation Formula. |
earning | (string) Earning. |
timing | (enum Timing) Timing.
See Timing. |
liquidationEarning | (string) Liquidation Earning. |
anualAdjustmentFormula | (string) Anual Adjustment Formula. |
BenefitAccountTypeResource
The following elements are required:
benefitAccountTypeKey | (string) Benefit Account Type. |
name | (string) Name. |
benefitAccountKind | (enum BenefitAccountKind) Kind.
See BenefitAccountKind. |
creditFormula | (string) Formula.
(fk) Allowed value: the natural key of a record of type Formula. These records are accessibly through the Formulas service. |
creditValueCriteria | (enum CreditValueCriteriaKind) Value Criteria.
See CreditValueCriteriaKind. |
debitKind | (enum DebitKind) Kind.
See DebitKind. |
balanceTimeLimit | (enum BalanceTimeLimit) Balance Time Limit.
See BalanceTimeLimit. |
balanceMinLimit | (decimal) Min. Value. |
balanceMinValidate | (bool) Validate Min. Balance?. |
isEditable | (bool) Is Editable. |
The following elements are optional:
debitFormula | (string) Formula.
(fk) Allowed value: the natural key of a record of type Formula. These records are accessibly through the Formulas service. |
debitAbsence | (string) Absence.
(fk) Allowed value: the natural key of a record of type AbsenceType. These records are accessibly through the AbsenceTypes service. |
absenceValidationFormula | (string) Absence Validation Formula.
(fk) Allowed value: the natural key of a record of type Formula. These records are accessibly through the Formulas service. |
earning | (string) Earning.
(fk) Allowed value: the natural key of a record of type Earning. These records are accessibly through the Earnings service. |
timing | (enum Timing) Timing.
See Timing. |
liquidationEarning | (string) Liquidation Earning.
(fk) Allowed value: the natural key of a record of type Earning. These records are accessibly through the Earnings service. |
anualAdjustmentFormula | (string) Anual Adjustment Formula.
(fk) Allowed value: the natural key of a record of type Formula. These records are accessibly through the Formulas service. |