Payroll | Processing Request
Service to manage entities of type 'ProcessingRequest'.
Overview
| URL | api/{tenantKey}/{orgKey}/payrollCore/processingRequests |
| Methods Supported | POST |
All Operations
This service includes the following operations:
All Resources
This service uses the following resources:
All Enumerations
This service uses the following enumerations:
POST Post Processing Request
Posts a processing request.
The following elements are required:
| contract | (Guid) Contract Identifier. |
| year | (int) Year to process. |
| month | (int) Month to process. |
| eventSource | (int) Event Source type. |
| operationType | (int) OperationType. |
| eventSourceId | (Guid) Event Source Identifier. Required when EventSource > 0. |
Response:
| When successful, the response body is empty. |
Resource URL:
api/{tenantKey}/{orgKey}/payrollCore/processingRequests/postProcessingRequest/{contract}/{year}/{month}/{eventSource}/{operationType}
POST /payrollCore/processingRequests/postProcessingRequest/{contract}/{year}/{month}/{eventSource}/{operationType}
Resources
ProcessingRequestResource
The following elements are required:
| key | (int) Key. |
| sourceType | (enum ProcessingRequestSourceType) Source Type.
See ProcessingRequestSourceType. |
| operationType | (enum OperationType) Operation Type.
See OperationType. |
| sourceId | (Guid) Source Id. |
| contract | (string) Contract. |
| handled | (bool) Handled. |
| company | (string) Company. |
| year | (int) Year. |
| month | (int) Month. |
The following elements are optional:
| handledId | (Guid) Handled Id. |
| processingRequestState | (enum ProcessingRequestState) Processing Request State.
See ProcessingRequestState. |
Enumerations
OperationType
| 1 | Add | |
| 2 | Delete | |
| 3 | Change |
ProcessingRequestSourceType
| 1 | Absence | |
| 2 | EarningConfig | |
| 3 | EarningNatureConfig | |
| 4 | DeductionConfig | |
| 5 | ContractEarning | |
| 6 | ContractDeduction | |
| 7 | Formula | |
| 8 | ExtraEarning | |
| 9 | Contract | |
| 10 | ContractTaxData | |
| 11 | ContractBenefitAccount | |
| 12 | BenefitAccountEntry | |
| 13 | BenefitAccountType | |
| 14 | Cessation | |
| 15 | ContractSchedule | |
| 16 | User | |
| 17 | Payment | |
| 18 | ContractGlobalVariables | |
| 19 | VocationalTraining |
ProcessingRequestState
| 1 | Aproved | |
| 2 | Dismissed |