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 + "/extrahourspayment?api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
[- {
- "employeePayrollFk": 0,
- "companyExtraHourPaymentRateFk": 0,
- "name": "string",
- "rate": 0,
- "paymentPerRate": 0,
- "companyExtraHourPaymentRate": {
- "name": "string",
- "number": "string",
- "excludeHours": true,
- "isBenefitsPackageTwoEnabled": true,
- "timeInLieuEnabled": true,
- "ratio": 0,
- "isStandard": true,
- "hourRateExtras": [
- {
- "uid": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "extraHourRateDataType": "string",
- "amountType": "string",
- "amount": 0,
- "hasOverride": true,
- "accountNumber": "string",
- "creditAccountNumber": "string",
- "wageCode": "string",
- "accountText": "string"
}
], - "isIncludeInStandardRateDataPresent": true,
- "calculateFromRate": { },
- "calculateFromRatePercentage": 0,
- "overrideRateName": true,
- "bookingGroupUids": "string",
- "hasBookingGroupOverride": true,
- "isSicknessInHoursEnabled": true,
- "isExtraHolidayEntitlementInHoursEnabled": true,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}, - "extraHoursPaymentData": [
- {
- "type": "string",
- "value": { }
}
], - "isIncludeInStandardRateDataPresent": true,
- "includeInStandardRateExtraHourDataValue": {
- "name": "string",
- "amount": 0,
- "amountType": "string",
- "standardRate": 0,
- "calculatedAmount": 0,
- "additionalAmountPerRate": 0
}, - "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"
}, - "calculatedPaymentPerRate": 0,
- "paymentAmount": 0,
- "calculatedPaymentAmount": 0,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
]
companyUid required | string <uuid> |
payrollUid required | string <uuid> |
employeePayrollUid required | string <uuid> |
api-version | string |
rateUid | string <uuid> |
companyExtraHourPaymentRateFk | integer <int32> |
rate | number <double> |
paymentPerRate | number <double> |
departmentUid | string <uuid> |
costCenterUid | string <uuid> |
profitCenterUid | string <uuid> |
{- "rateUid": "00000000-0000-0000-0000-000000000000",
- "companyExtraHourPaymentRateFk": 0,
- "rate": 0,
- "paymentPerRate": 0,
- "departmentUid": "00000000-0000-0000-0000-000000000000",
- "costCenterUid": "00000000-0000-0000-0000-000000000000",
- "profitCenterUid": "00000000-0000-0000-0000-000000000000"
}
{- "employeePayrollFk": 0,
- "companyExtraHourPaymentRateFk": 0,
- "name": "string",
- "rate": 0,
- "paymentPerRate": 0,
- "companyExtraHourPaymentRate": {
- "name": "string",
- "number": "string",
- "excludeHours": true,
- "isBenefitsPackageTwoEnabled": true,
- "timeInLieuEnabled": true,
- "ratio": 0,
- "isStandard": true,
- "hourRateExtras": [
- {
- "uid": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "extraHourRateDataType": "string",
- "amountType": "string",
- "amount": 0,
- "hasOverride": true,
- "accountNumber": "string",
- "creditAccountNumber": "string",
- "wageCode": "string",
- "accountText": "string"
}
], - "isIncludeInStandardRateDataPresent": true,
- "calculateFromRate": { },
- "calculateFromRatePercentage": 0,
- "overrideRateName": true,
- "bookingGroupUids": "string",
- "hasBookingGroupOverride": true,
- "isSicknessInHoursEnabled": true,
- "isExtraHolidayEntitlementInHoursEnabled": true,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}, - "extraHoursPaymentData": [
- {
- "type": "string",
- "value": { }
}
], - "isIncludeInStandardRateDataPresent": true,
- "includeInStandardRateExtraHourDataValue": {
- "name": "string",
- "amount": 0,
- "amountType": "string",
- "standardRate": 0,
- "calculatedAmount": 0,
- "additionalAmountPerRate": 0
}, - "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"
}, - "calculatedPaymentPerRate": 0,
- "paymentAmount": 0,
- "calculatedPaymentAmount": 0,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
companyUid required | string <uuid> |
payrollUid required | string <uuid> |
employeePayrollUid required | string <uuid> |
extrahourspaymentUid 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 ExtrahourspaymentUid = "YOUR_extrahourspaymentUid_PARAMETER"; var request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/payroll/" + PayrollUid + "/employees/" + EmployeePayrollUid + "/extrahourspayment/" + ExtrahourspaymentUid + "?api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
{- "employeePayrollFk": 0,
- "companyExtraHourPaymentRateFk": 0,
- "name": "string",
- "rate": 0,
- "paymentPerRate": 0,
- "companyExtraHourPaymentRate": {
- "name": "string",
- "number": "string",
- "excludeHours": true,
- "isBenefitsPackageTwoEnabled": true,
- "timeInLieuEnabled": true,
- "ratio": 0,
- "isStandard": true,
- "hourRateExtras": [
- {
- "uid": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "extraHourRateDataType": "string",
- "amountType": "string",
- "amount": 0,
- "hasOverride": true,
- "accountNumber": "string",
- "creditAccountNumber": "string",
- "wageCode": "string",
- "accountText": "string"
}
], - "isIncludeInStandardRateDataPresent": true,
- "calculateFromRate": { },
- "calculateFromRatePercentage": 0,
- "overrideRateName": true,
- "bookingGroupUids": "string",
- "hasBookingGroupOverride": true,
- "isSicknessInHoursEnabled": true,
- "isExtraHolidayEntitlementInHoursEnabled": true,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}, - "extraHoursPaymentData": [
- {
- "type": "string",
- "value": { }
}
], - "isIncludeInStandardRateDataPresent": true,
- "includeInStandardRateExtraHourDataValue": {
- "name": "string",
- "amount": 0,
- "amountType": "string",
- "standardRate": 0,
- "calculatedAmount": 0,
- "additionalAmountPerRate": 0
}, - "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"
}, - "calculatedPaymentPerRate": 0,
- "paymentAmount": 0,
- "calculatedPaymentAmount": 0,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
companyUid required | string <uuid> |
payrollUid required | string <uuid> |
employeePayrollUid required | string <uuid> |
extrahourspaymentUid 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 ExtrahourspaymentUid = "YOUR_extrahourspaymentUid_PARAMETER"; var request = await client.DeleteAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/payroll/" + PayrollUid + "/employees/" + EmployeePayrollUid + "/extrahourspayment/" + ExtrahourspaymentUid + "?api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
companyUid required | string <uuid> |
payrollUid required | string <uuid> |
employeePayrollUid required | string <uuid> |
extrahourspaymentUid required | string <uuid> |
api-version | string |
rateUid | string <uuid> |
companyExtraHourPaymentRateFk | integer <int32> |
rate | number <double> |
paymentPerRate | number <double> |
departmentUid | string <uuid> |
costCenterUid | string <uuid> |
profitCenterUid | string <uuid> |
{- "rateUid": "00000000-0000-0000-0000-000000000000",
- "companyExtraHourPaymentRateFk": 0,
- "rate": 0,
- "paymentPerRate": 0,
- "departmentUid": "00000000-0000-0000-0000-000000000000",
- "costCenterUid": "00000000-0000-0000-0000-000000000000",
- "profitCenterUid": "00000000-0000-0000-0000-000000000000"
}
companyUid required | string <uuid> |
payrollUid required | string <uuid> |
employeePayrollUid required | string <uuid> |
companyExtraHourPaymentRateUid 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 + "/extrahourspayment/paymentperrate?companyExtraHourPaymentRateUid=497f6eca-6276-4993-bfeb-53cbbbba6f08&api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
0