companyUid 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 request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/supplementsanddeductions/rates/list?api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
{- "totalRecords": 0,
- "totalDisplayRecords": 0,
- "data": [
- {
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000",
- "createdOn": "2019-08-24T14:15:22Z",
- "rate": 0,
- "hours": 0,
- "name": "string",
- "number": "string",
- "kontoNumber": "string",
- "regNumber": "string",
- "type": 0,
- "sharedToAll": true,
- "limitedToEmployee": true,
- "isBenefitPackageTwoEnabled": true,
- "overrideRate": true,
- "isProratedRate": true,
- "includeInPensionBase": true,
- "includeInAmPensionBase": true,
- "predefinedRateType": 0,
- "isIncludedInHolidayEntitlementSalary": true,
- "overrideName": true,
- "useSupplementRates": true,
- "useHourRates": true,
- "composedRates": "string",
- "calculateOnPercentage": true,
- "percentage": 0,
- "calculateOnGrossSalary": true,
- "hasBookingGroupOverride": true,
- "isFromTemplate": true
}
]
}
companyUid required | string <uuid> |
api-version | string |
skip | integer <int32> |
take | integer <int32> |
searchPhrase | string |
object (Zalary.SupplementsAndDeductions.Models.RateSortOptions) | |
override | Array of booleans |
prorated | Array of booleans |
{- "skip": 0,
- "take": 0,
- "searchPhrase": "string",
- "rateSortOptions": { },
- "override": [
- true
], - "prorated": [
- true
]
}
{- "totalRecords": 0,
- "totalDisplayRecords": 0,
- "data": [
- {
- "isOverridden": true,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000",
- "createdOn": "2019-08-24T14:15:22Z",
- "rate": 0,
- "hours": 0,
- "name": "string",
- "number": "string",
- "kontoNumber": "string",
- "regNumber": "string",
- "type": 0,
- "sharedToAll": true,
- "limitedToEmployee": true,
- "isBenefitPackageTwoEnabled": true,
- "overrideRate": true,
- "isProratedRate": true,
- "includeInPensionBase": true,
- "includeInAmPensionBase": true,
- "predefinedRateType": 0,
- "isIncludedInHolidayEntitlementSalary": true,
- "overrideName": true,
- "useSupplementRates": true,
- "useHourRates": true,
- "composedRates": "string",
- "calculateOnPercentage": true,
- "percentage": 0,
- "calculateOnGrossSalary": true,
- "hasBookingGroupOverride": true,
- "isFromTemplate": true
}
]
}
companyUid 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 request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/supplementsanddeductions/rates/filter?api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
[- {
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000",
- "createdOn": "2019-08-24T14:15:22Z",
- "rate": 0,
- "hours": 0,
- "name": "string",
- "number": "string",
- "kontoNumber": "string",
- "regNumber": "string",
- "type": 0,
- "sharedToAll": true,
- "limitedToEmployee": true,
- "isBenefitPackageTwoEnabled": true,
- "overrideRate": true,
- "isProratedRate": true,
- "includeInPensionBase": true,
- "includeInAmPensionBase": true,
- "predefinedRateType": 0,
- "isIncludedInHolidayEntitlementSalary": true,
- "overrideName": true,
- "useSupplementRates": true,
- "useHourRates": true,
- "composedRates": "string",
- "calculateOnPercentage": true,
- "percentage": 0,
- "calculateOnGrossSalary": true,
- "hasBookingGroupOverride": true,
- "isFromTemplate": true
}
]
companyUid 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 request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/supplementsanddeductions/rates/settings?api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
{- "isActivatedSH": true,
- "isActivatedFreeChoise": true,
- "isActivatedFreeChoiceTwo": true,
- "isActivatedTransferOrPayoutShNettoAmount": true,
- "isTransferDaysOfHoliday": true,
- "isHolidayHindranceDays": true,
- "isExtraHolidayEntitlementInHoursEnabled": true,
- "extraHolidayEntitlementInHours": true
}
companyUid required | string <uuid> |
supplementRateUid 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 SupplementRateUid = "YOUR_supplementRateUid_PARAMETER"; var request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/supplementsanddeductions/rates/" + SupplementRateUid + "?api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
{- "employees": [
- "00000000-0000-0000-0000-000000000000"
], - "departments": [
- "00000000-0000-0000-0000-000000000000"
], - "hourRates": [
- {
- "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,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
], - "supplementRates": [
- {
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000",
- "createdOn": "2019-08-24T14:15:22Z",
- "rate": 0,
- "hours": 0,
- "name": "string",
- "number": "string",
- "kontoNumber": "string",
- "regNumber": "string",
- "type": 0,
- "sharedToAll": true,
- "limitedToEmployee": true,
- "isBenefitPackageTwoEnabled": true,
- "overrideRate": true,
- "isProratedRate": true,
- "includeInPensionBase": true,
- "includeInAmPensionBase": true,
- "predefinedRateType": 0,
- "isIncludedInHolidayEntitlementSalary": true,
- "overrideName": true,
- "useSupplementRates": true,
- "useHourRates": true,
- "composedRates": "string",
- "calculateOnPercentage": true,
- "percentage": 0,
- "calculateOnGrossSalary": true,
- "hasBookingGroupOverride": true,
- "isFromTemplate": true
}
], - "bookingGroupUids": [
- "00000000-0000-0000-0000-000000000000"
], - "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000",
- "createdOn": "2019-08-24T14:15:22Z",
- "rate": 0,
- "hours": 0,
- "name": "string",
- "number": "string",
- "kontoNumber": "string",
- "regNumber": "string",
- "type": 0,
- "sharedToAll": true,
- "limitedToEmployee": true,
- "isBenefitPackageTwoEnabled": true,
- "overrideRate": true,
- "isProratedRate": true,
- "includeInPensionBase": true,
- "includeInAmPensionBase": true,
- "predefinedRateType": 0,
- "isIncludedInHolidayEntitlementSalary": true,
- "overrideName": true,
- "useSupplementRates": true,
- "useHourRates": true,
- "composedRates": "string",
- "calculateOnPercentage": true,
- "percentage": 0,
- "calculateOnGrossSalary": true,
- "hasBookingGroupOverride": true,
- "isFromTemplate": true
}
companyUid required | string <uuid> |
supplementRateUid 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 SupplementRateUid = "YOUR_supplementRateUid_PARAMETER"; var request = await client.DeleteAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/supplementsanddeductions/rates/" + SupplementRateUid + "?api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
companyUid required | string <uuid> |
supplementRateUid required | string <uuid> |
api-version | string |
name required | string [ 0 .. 100 ] characters |
number required | string |
kontoNumber | string |
regNumber | string |
type | 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 |
rate | number <double> |
sharedToAll | boolean |
hours | number <double> |
limitedToEmployee | boolean |
isBenefitPackageTwoEnabled | boolean |
overrideRate | boolean |
employees required | Array of strings <uuid> |
departments required | Array of strings <uuid> |
isProratedRate | boolean |
includeInPensionBase | boolean |
includeInAmPensionBase | boolean |
isIncludedInHolidayEntitlementSalary | boolean |
overrideName | boolean |
useSupplementRates | boolean |
supplementRates | Array of strings <uuid> |
useHourRates | boolean |
hourRates | Array of strings <uuid> |
calculateOnPercentage | boolean |
percentage | number <double> |
calculateOnGrossSalary | boolean |
hasBookingGroupOverride | boolean |
bookingGroupUids | Array of strings <uuid> |
{- "name": "string",
- "number": "string",
- "kontoNumber": "string",
- "regNumber": "string",
- "type": 0,
- "rate": 0,
- "sharedToAll": true,
- "hours": 0,
- "limitedToEmployee": true,
- "isBenefitPackageTwoEnabled": true,
- "overrideRate": true,
- "employees": [
- "00000000-0000-0000-0000-000000000000"
], - "departments": [
- "00000000-0000-0000-0000-000000000000"
], - "isProratedRate": true,
- "includeInPensionBase": true,
- "includeInAmPensionBase": true,
- "isIncludedInHolidayEntitlementSalary": true,
- "overrideName": true,
- "useSupplementRates": true,
- "supplementRates": [
- "00000000-0000-0000-0000-000000000000"
], - "useHourRates": true,
- "hourRates": [
- "00000000-0000-0000-0000-000000000000"
], - "calculateOnPercentage": true,
- "percentage": 0,
- "calculateOnGrossSalary": true,
- "hasBookingGroupOverride": true,
- "bookingGroupUids": [
- "00000000-0000-0000-0000-000000000000"
]
}
companyUid required | string <uuid> |
currentRateUid | 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 request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/supplementsanddeductions/rates?currentRateUid=497f6eca-6276-4993-bfeb-53cbbbba6f08&api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
[- {
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000",
- "createdOn": "2019-08-24T14:15:22Z",
- "rate": 0,
- "hours": 0,
- "name": "string",
- "number": "string",
- "kontoNumber": "string",
- "regNumber": "string",
- "type": 0,
- "sharedToAll": true,
- "limitedToEmployee": true,
- "isBenefitPackageTwoEnabled": true,
- "overrideRate": true,
- "isProratedRate": true,
- "includeInPensionBase": true,
- "includeInAmPensionBase": true,
- "predefinedRateType": 0,
- "isIncludedInHolidayEntitlementSalary": true,
- "overrideName": true,
- "useSupplementRates": true,
- "useHourRates": true,
- "composedRates": "string",
- "calculateOnPercentage": true,
- "percentage": 0,
- "calculateOnGrossSalary": true,
- "hasBookingGroupOverride": true,
- "isFromTemplate": true
}
]
companyUid required | string <uuid> |
api-version | string |
name required | string [ 0 .. 100 ] characters |
number required | string |
kontoNumber | string |
regNumber | string |
type | 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 |
rate | number <double> |
sharedToAll | boolean |
hours | number <double> |
limitedToEmployee | boolean |
isBenefitPackageTwoEnabled | boolean |
overrideRate | boolean |
employees required | Array of strings <uuid> |
departments required | Array of strings <uuid> |
isProratedRate | boolean |
includeInPensionBase | boolean |
includeInAmPensionBase | boolean |
isIncludedInHolidayEntitlementSalary | boolean |
overrideName | boolean |
useSupplementRates | boolean |
supplementRates | Array of strings <uuid> |
useHourRates | boolean |
hourRates | Array of strings <uuid> |
calculateOnPercentage | boolean |
percentage | number <double> |
calculateOnGrossSalary | boolean |
hasBookingGroupOverride | boolean |
bookingGroupUids | Array of strings <uuid> |
{- "name": "string",
- "number": "string",
- "kontoNumber": "string",
- "regNumber": "string",
- "type": 0,
- "rate": 0,
- "sharedToAll": true,
- "hours": 0,
- "limitedToEmployee": true,
- "isBenefitPackageTwoEnabled": true,
- "overrideRate": true,
- "employees": [
- "00000000-0000-0000-0000-000000000000"
], - "departments": [
- "00000000-0000-0000-0000-000000000000"
], - "isProratedRate": true,
- "includeInPensionBase": true,
- "includeInAmPensionBase": true,
- "isIncludedInHolidayEntitlementSalary": true,
- "overrideName": true,
- "useSupplementRates": true,
- "supplementRates": [
- "00000000-0000-0000-0000-000000000000"
], - "useHourRates": true,
- "hourRates": [
- "00000000-0000-0000-0000-000000000000"
], - "calculateOnPercentage": true,
- "percentage": 0,
- "calculateOnGrossSalary": true,
- "hasBookingGroupOverride": true,
- "bookingGroupUids": [
- "00000000-0000-0000-0000-000000000000"
]
}
{- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000",
- "createdOn": "2019-08-24T14:15:22Z",
- "rate": 0,
- "hours": 0,
- "name": "string",
- "number": "string",
- "kontoNumber": "string",
- "regNumber": "string",
- "type": 0,
- "sharedToAll": true,
- "limitedToEmployee": true,
- "isBenefitPackageTwoEnabled": true,
- "overrideRate": true,
- "isProratedRate": true,
- "includeInPensionBase": true,
- "includeInAmPensionBase": true,
- "predefinedRateType": 0,
- "isIncludedInHolidayEntitlementSalary": true,
- "overrideName": true,
- "useSupplementRates": true,
- "useHourRates": true,
- "composedRates": "string",
- "calculateOnPercentage": true,
- "percentage": 0,
- "calculateOnGrossSalary": true,
- "hasBookingGroupOverride": true,
- "isFromTemplate": true
}
companyUid required | string <uuid> |
api-version | string |
companySupplementRatesUids required | Array of strings <uuid> |
{- "companySupplementRatesUids": [
- "00000000-0000-0000-0000-000000000000"
]
}