companyUid required | string <uuid> |
payrollUid required | string <uuid> |
employeePayrollUid required | string <uuid> |
api-version | string |
using System; using System.Net.Http; using System.Threading.Tasks; public class Program { public static async Task Main(string[] args) { using (var client = new HttpClient()) { client.DefaultRequestHeaders.Add("Authorization", "Bearer <YOUR_TOKEN_HERE>"); var CompanyUid = "YOUR_companyUid_PARAMETER"; var PayrollUid = "YOUR_payrollUid_PARAMETER"; var EmployeePayrollUid = "YOUR_employeePayrollUid_PARAMETER"; var request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/payroll/" + PayrollUid + "/employees/" + EmployeePayrollUid + "/paychecks?api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
[- {
- "payrollEmployeeFk": 0,
- "name": "string",
- "unit": 0,
- "paymentPerUnit": 0,
- "payCheckFor": 0,
- "regNumber": "string",
- "kontoNumber": "string",
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
]
companyUid required | string <uuid> |
payrollUid required | string <uuid> |
employeePayrollUid required | string <uuid> |
api-version | string |
payCheckFor | integer <int32> Enum: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
name required | string [ 0 .. 128 ] characters |
unit | number <double> |
paymentPerUnit | number <double> |
rateUid | string <uuid> |
regNumber | string |
kontoNumber | string |
includeInPensionBase | boolean |
includeInAmPensionBase | boolean |
isIncludedInHolidayEntitlementSalary | boolean |
departmentUid | string <uuid> |
costCenterUid | string <uuid> |
profitCenterUid | string <uuid> |
{- "payCheckFor": 0,
- "name": "string",
- "unit": 0,
- "paymentPerUnit": 0,
- "rateUid": "00000000-0000-0000-0000-000000000000",
- "regNumber": "string",
- "kontoNumber": "string",
- "includeInPensionBase": true,
- "includeInAmPensionBase": true,
- "isIncludedInHolidayEntitlementSalary": true,
- "departmentUid": "00000000-0000-0000-0000-000000000000",
- "costCenterUid": "00000000-0000-0000-0000-000000000000",
- "profitCenterUid": "00000000-0000-0000-0000-000000000000"
}
{- "payCheckFor": 0,
- "name": "string",
- "unit": 0,
- "paymentPerUnit": 0,
- "rate": {
- "hasOverride": true,
- "accountType": 0,
- "accountNumber": "string",
- "accountText": "string",
- "wageCode": "string",
- "creditAccountNumber": "string",
- "regNumber": "string",
- "kontoNumber": "string",
- "isDeleted": true,
- "isProratedRate": true,
- "includeInPensionBase": true,
- "includeInAmPensionBase": true,
- "isIncludedInHolidayEntitlementSalary": true,
- "useSupplementRates": true,
- "useHourRates": true,
- "composedRates": "string",
- "calculateOnPercentage": true,
- "percentage": 0,
- "percentageInfoText": "string",
- "calculateOnGrossSalary": true,
- "isFromTemplate": true,
- "number": "string",
- "type": 0,
- "limitedToEmployee": true,
- "isBenefitPackageTwoEnabled": true,
- "overrideRate": true,
- "hours": 0,
- "overrideName": true,
- "employees": [
- "00000000-0000-0000-0000-000000000000"
], - "departments": [
- "00000000-0000-0000-0000-000000000000"
], - "rate": 0,
- "name": "string",
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}, - "regNumber": "string",
- "kontoNumber": "string",
- "isProrated": true,
- "proratedAmount": 0,
- "costCenterCode": "string",
- "costCenterName": "string",
- "countrySpecificDto": {
- "countryUid": "00000000-0000-0000-0000-000000000000",
- "countryName": "string",
- "countryCode": "string",
- "countryId": "string",
- "countryTaxPercentage": 0,
- "countryTaxableIncome": true
}, - "registrationDate": "2019-08-24T14:15:22Z",
- "shouldTriggerRetro": true,
- "includeInPensionBase": true,
- "includeInAmPensionBase": true,
- "isIncludedInHolidayEntitlementSalary": true,
- "createdOn": "2019-08-24T14:15:22Z",
- "department": {
- "isDeleteAllowed": true,
- "responsiblePersons": [
- {
- "incomeType": 0,
- "holidayPayReceiverType": 0,
- "extraHolidayEntitlementRule": "string",
- "name": "string",
- "employeeNumber": "string",
- "extraEmployeeNumber": "string",
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
], - "companyWorkSchemas": [
- {
- "name": "string",
- "workingHoursPerDay": 0,
- "canBeDeleted": true,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
], - "name": "string",
- "number": "string",
- "hasWorkSchema": true,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}, - "costCenter": {
- "numberOfEmployees": 0,
- "employeeUids": [
- "00000000-0000-0000-0000-000000000000"
], - "costCenterName": "string",
- "costCenterCode": "string",
- "type": "string",
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}, - "profitCenter": {
- "numberOfEmployees": 0,
- "employeeUids": [
- "00000000-0000-0000-0000-000000000000"
], - "costCenterName": "string",
- "costCenterCode": "string",
- "type": "string",
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}, - "percentageInfoText": "string",
- "calculatedAmount": 0,
- "hours": 0,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
companyUid required | string <uuid> |
payrollUid required | string <uuid> |
employeePayrollUid required | string <uuid> |
payrollPaycheckUid required | string <uuid> |
api-version | string |
using System; using System.Net.Http; using System.Threading.Tasks; public class Program { public static async Task Main(string[] args) { using (var client = new HttpClient()) { client.DefaultRequestHeaders.Add("Authorization", "Bearer <YOUR_TOKEN_HERE>"); var CompanyUid = "YOUR_companyUid_PARAMETER"; var PayrollUid = "YOUR_payrollUid_PARAMETER"; var EmployeePayrollUid = "YOUR_employeePayrollUid_PARAMETER"; var PayrollPaycheckUid = "YOUR_payrollPaycheckUid_PARAMETER"; var request = await client.DeleteAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/payroll/" + PayrollUid + "/employees/" + EmployeePayrollUid + "/paychecks/" + PayrollPaycheckUid + "?api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
companyUid required | string <uuid> |
employeePayrollUid required | string <uuid> |
payrollPaycheckUid required | string <uuid> |
payrollUid required | string |
api-version | string |
payCheckFor | integer <int32> Enum: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
name required | string [ 0 .. 128 ] characters |
unit | number <double> |
paymentPerUnit | number <double> |
rateUid | string <uuid> |
regNumber | string |
kontoNumber | string |
includeInPensionBase | boolean |
includeInAmPensionBase | boolean |
isIncludedInHolidayEntitlementSalary | boolean |
departmentUid | string <uuid> |
costCenterUid | string <uuid> |
profitCenterUid | string <uuid> |
{- "payCheckFor": 0,
- "name": "string",
- "unit": 0,
- "paymentPerUnit": 0,
- "rateUid": "00000000-0000-0000-0000-000000000000",
- "regNumber": "string",
- "kontoNumber": "string",
- "includeInPensionBase": true,
- "includeInAmPensionBase": true,
- "isIncludedInHolidayEntitlementSalary": true,
- "departmentUid": "00000000-0000-0000-0000-000000000000",
- "costCenterUid": "00000000-0000-0000-0000-000000000000",
- "profitCenterUid": "00000000-0000-0000-0000-000000000000"
}
{- "payCheckFor": 0,
- "name": "string",
- "unit": 0,
- "paymentPerUnit": 0,
- "rate": {
- "hasOverride": true,
- "accountType": 0,
- "accountNumber": "string",
- "accountText": "string",
- "wageCode": "string",
- "creditAccountNumber": "string",
- "regNumber": "string",
- "kontoNumber": "string",
- "isDeleted": true,
- "isProratedRate": true,
- "includeInPensionBase": true,
- "includeInAmPensionBase": true,
- "isIncludedInHolidayEntitlementSalary": true,
- "useSupplementRates": true,
- "useHourRates": true,
- "composedRates": "string",
- "calculateOnPercentage": true,
- "percentage": 0,
- "percentageInfoText": "string",
- "calculateOnGrossSalary": true,
- "isFromTemplate": true,
- "number": "string",
- "type": 0,
- "limitedToEmployee": true,
- "isBenefitPackageTwoEnabled": true,
- "overrideRate": true,
- "hours": 0,
- "overrideName": true,
- "employees": [
- "00000000-0000-0000-0000-000000000000"
], - "departments": [
- "00000000-0000-0000-0000-000000000000"
], - "rate": 0,
- "name": "string",
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}, - "regNumber": "string",
- "kontoNumber": "string",
- "isProrated": true,
- "proratedAmount": 0,
- "costCenterCode": "string",
- "costCenterName": "string",
- "countrySpecificDto": {
- "countryUid": "00000000-0000-0000-0000-000000000000",
- "countryName": "string",
- "countryCode": "string",
- "countryId": "string",
- "countryTaxPercentage": 0,
- "countryTaxableIncome": true
}, - "registrationDate": "2019-08-24T14:15:22Z",
- "shouldTriggerRetro": true,
- "includeInPensionBase": true,
- "includeInAmPensionBase": true,
- "isIncludedInHolidayEntitlementSalary": true,
- "createdOn": "2019-08-24T14:15:22Z",
- "department": {
- "isDeleteAllowed": true,
- "responsiblePersons": [
- {
- "incomeType": 0,
- "holidayPayReceiverType": 0,
- "extraHolidayEntitlementRule": "string",
- "name": "string",
- "employeeNumber": "string",
- "extraEmployeeNumber": "string",
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
], - "companyWorkSchemas": [
- {
- "name": "string",
- "workingHoursPerDay": 0,
- "canBeDeleted": true,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
], - "name": "string",
- "number": "string",
- "hasWorkSchema": true,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}, - "costCenter": {
- "numberOfEmployees": 0,
- "employeeUids": [
- "00000000-0000-0000-0000-000000000000"
], - "costCenterName": "string",
- "costCenterCode": "string",
- "type": "string",
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}, - "profitCenter": {
- "numberOfEmployees": 0,
- "employeeUids": [
- "00000000-0000-0000-0000-000000000000"
], - "costCenterName": "string",
- "costCenterCode": "string",
- "type": "string",
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}, - "percentageInfoText": "string",
- "calculatedAmount": 0,
- "hours": 0,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}