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 + "/global-values?api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
[- {
- "uid": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "number": "string",
- "type": 0,
- "value": "string",
- "isUsedInSet": true,
- "isDateManaged": true,
- "effectiveFrom": {
- "effectiveDate": "2019-08-24T14:15:22Z",
- "type": "string",
- "point": "string",
- "unit": "string",
- "amount": 0,
- "conditionPoint": "string",
- "conditionAmount": 0
}, - "effectiveTo": {
- "effectiveDate": "2019-08-24T14:15:22Z",
- "type": "string",
- "point": "string",
- "unit": "string",
- "amount": 0,
- "conditionPoint": "string",
- "conditionAmount": 0
}
}
]
companyUid required | string <uuid> |
api-version | string |
name required | string [ 0 .. 250 ] characters |
number required | string [ 0 .. 20 ] characters |
type required | integer <int32> |
value required | string |
isDateManaged | boolean |
object (Zalary.Models.EmployeeValue.EmployeeValueEffectiveDate) | |
object (Zalary.Models.EmployeeValue.EmployeeValueEffectiveDate) |
{- "name": "string",
- "number": "string",
- "type": 0,
- "value": "string",
- "isDateManaged": true,
- "effectiveFrom": {
- "effectiveDate": "2019-08-24T14:15:22Z",
- "type": "string",
- "point": "string",
- "unit": "string",
- "amount": 0,
- "conditionPoint": "string",
- "conditionAmount": 0
}, - "effectiveTo": {
- "effectiveDate": "2019-08-24T14:15:22Z",
- "type": "string",
- "point": "string",
- "unit": "string",
- "amount": 0,
- "conditionPoint": "string",
- "conditionAmount": 0
}
}
{- "uid": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "number": "string",
- "type": 0,
- "value": "string",
- "isUsedInSet": true,
- "isDateManaged": true,
- "effectiveFrom": {
- "effectiveDate": "2019-08-24T14:15:22Z",
- "type": "string",
- "point": "string",
- "unit": "string",
- "amount": 0,
- "conditionPoint": "string",
- "conditionAmount": 0
}, - "effectiveTo": {
- "effectiveDate": "2019-08-24T14:15:22Z",
- "type": "string",
- "point": "string",
- "unit": "string",
- "amount": 0,
- "conditionPoint": "string",
- "conditionAmount": 0
}
}
companyUid required | string <uuid> |
globalValueUid 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 GlobalValueUid = "YOUR_globalValueUid_PARAMETER"; var request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/global-values/" + GlobalValueUid + "?api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
{- "uid": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "number": "string",
- "type": 0,
- "value": "string",
- "isUsedInSet": true,
- "isDateManaged": true,
- "effectiveFrom": {
- "effectiveDate": "2019-08-24T14:15:22Z",
- "type": "string",
- "point": "string",
- "unit": "string",
- "amount": 0,
- "conditionPoint": "string",
- "conditionAmount": 0
}, - "effectiveTo": {
- "effectiveDate": "2019-08-24T14:15:22Z",
- "type": "string",
- "point": "string",
- "unit": "string",
- "amount": 0,
- "conditionPoint": "string",
- "conditionAmount": 0
}
}
companyUid required | string <uuid> |
globalValueUid required | string |
api-version | string |
uid | string <uuid> |
name required | string [ 0 .. 250 ] characters |
number required | string [ 0 .. 20 ] characters |
type required | integer <int32> |
value required | string |
isDateManaged | boolean |
object (Zalary.Models.EmployeeValue.EmployeeValueEffectiveDate) | |
object (Zalary.Models.EmployeeValue.EmployeeValueEffectiveDate) |
{- "uid": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "number": "string",
- "type": 0,
- "value": "string",
- "isDateManaged": true,
- "effectiveFrom": {
- "effectiveDate": "2019-08-24T14:15:22Z",
- "type": "string",
- "point": "string",
- "unit": "string",
- "amount": 0,
- "conditionPoint": "string",
- "conditionAmount": 0
}, - "effectiveTo": {
- "effectiveDate": "2019-08-24T14:15:22Z",
- "type": "string",
- "point": "string",
- "unit": "string",
- "amount": 0,
- "conditionPoint": "string",
- "conditionAmount": 0
}
}
{- "uid": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "number": "string",
- "type": 0,
- "value": "string",
- "isUsedInSet": true,
- "isDateManaged": true,
- "effectiveFrom": {
- "effectiveDate": "2019-08-24T14:15:22Z",
- "type": "string",
- "point": "string",
- "unit": "string",
- "amount": 0,
- "conditionPoint": "string",
- "conditionAmount": 0
}, - "effectiveTo": {
- "effectiveDate": "2019-08-24T14:15:22Z",
- "type": "string",
- "point": "string",
- "unit": "string",
- "amount": 0,
- "conditionPoint": "string",
- "conditionAmount": 0
}
}
companyUid required | string <uuid> |
globalValueType required | integer <int32> |
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 GlobalValueType = "YOUR_globalValueType_PARAMETER"; var request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/global-values/type/" + GlobalValueType + "?api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
[- {
- "uid": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "number": "string",
- "type": 0,
- "value": "string",
- "isUsedInSet": true,
- "isDateManaged": true,
- "effectiveFrom": {
- "effectiveDate": "2019-08-24T14:15:22Z",
- "type": "string",
- "point": "string",
- "unit": "string",
- "amount": 0,
- "conditionPoint": "string",
- "conditionAmount": 0
}, - "effectiveTo": {
- "effectiveDate": "2019-08-24T14:15:22Z",
- "type": "string",
- "point": "string",
- "unit": "string",
- "amount": 0,
- "conditionPoint": "string",
- "conditionAmount": 0
}
}
]
companyUid required | string <uuid> |
employeeUid 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 EmployeeUid = "YOUR_employeeUid_PARAMETER"; var request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/global-values/assignedGlobalValues/" + EmployeeUid + "?api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
[- {
- "type": 0,
- "isAvailableInCompany": true,
- "isEmployeeAssigned": true,
- "companyGlobalValueReferenceUidsPairs": [
- {
- "companyGlobalValueUid": "00000000-0000-0000-0000-000000000000",
- "referenceUid": "00000000-0000-0000-0000-000000000000"
}
]
}
]
companyUid required | string <uuid> |
companyGlobalValueUid required | string <uuid> |
includingResigned | boolean |
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 CompanyGlobalValueUid = "YOUR_companyGlobalValueUid_PARAMETER"; var request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/global-values/" + CompanyGlobalValueUid + "/unassigned?includingResigned=true&api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
[- {
- "createdOn": "2019-08-24T14:15:22Z",
- "imageUrl": "string",
- "isForeign": true,
- "company": {
- "associationId": 1,
- "pNumber": "string",
- "cvr": "string",
- "hasHolidayPayment": true,
- "hasBenefitPackage": true,
- "hasBenefitPackageTwo": true,
- "hasAmPension": true,
- "isDepartmentIncomeSplitEnabled": true,
- "insuranceType": 0,
- "isUseOfVacationDaysInAdvanceEnabled": true,
- "isHorestaSupplementEnabled": true,
- "hasHolidayPaymentNettoTransferOrPayout": true,
- "isShPayoutNettoEnabled": true,
- "isTransferFifthHolidayWeekEnabled": true,
- "isHolidayHindranceEnabled": true,
- "isExtraHolidayEntitlementInHoursEnabled": true,
- "extraHolidayEntitlementInHours": true,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "logoUrl": "string"
}, - "invitedByEmail": 0,
- "hasPayroll": true,
- "hasProfileImage": true,
- "user": {
- "isActive": true,
- "email": "string",
- "name": "string",
- "photoUrl": "string",
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}, - "hasUser": true,
- "isResignedWithinLastyear": true,
- "isResignedWithRegistrations": true,
- "salaryMode": 0,
- "employmentDate": "2019-08-24T14:15:22Z",
- "title": "string",
- "isActive": true,
- "isResigned": true,
- "cpr": "string",
- "salaryType": 0,
- "contactPhone": "string",
- "contactEmail": "string",
- "department": {
- "name": "string",
- "number": "string",
- "hasWorkSchema": true,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}, - "costCenter": {
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "number": "string",
- "type": "string"
}, - "profitCenter": {
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "number": "string",
- "type": "string"
}, - "carRegistrationNumber": "string",
- "type": 1,
- "salaryPayoutPeriod": 0,
- "incomeType": 0,
- "holidayPayReceiverType": 0,
- "extraHolidayEntitlementRule": "string",
- "name": "string",
- "employeeNumber": "string",
- "extraEmployeeNumber": "string",
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
]
companyUid required | string <uuid> |
api-version | string |
skip | integer <int32> |
take | integer <int32> |
search | string |
types | Array of integers <int32> |
override | integer <int32> |
sortBy | integer <int32> |
employeeUids | Array of strings <uuid> |
{- "skip": 0,
- "take": 0,
- "search": "string",
- "types": [
- 0
], - "override": 0,
- "sortBy": 0,
- "employeeUids": [
- "00000000-0000-0000-0000-000000000000"
]
}
{- "totalRecords": 0,
- "totalDisplayRecords": 0,
- "data": [
- {
- "uid": "00000000-0000-0000-0000-000000000000",
- "name": "string",
- "number": "string",
- "type": 0,
- "value": "string",
- "isUsedInSet": true,
- "isDateManaged": true,
- "effectiveFrom": {
- "effectiveDate": "2019-08-24T14:15:22Z",
- "type": "string",
- "point": "string",
- "unit": "string",
- "amount": 0,
- "conditionPoint": "string",
- "conditionAmount": 0
}, - "effectiveTo": {
- "effectiveDate": "2019-08-24T14:15:22Z",
- "type": "string",
- "point": "string",
- "unit": "string",
- "amount": 0,
- "conditionPoint": "string",
- "conditionAmount": 0
}
}
]
}
companyUid required | string <uuid> |
companyGlobalValueUid required | string <uuid> |
api-version | string |
isDateManaged | boolean |
object (Zalary.Models.EmployeeValue.EmployeeValueEffectiveDate) | |
object (Zalary.Models.EmployeeValue.EmployeeValueEffectiveDate) | |
employeeUids | Array of strings <uuid> |
{- "isDateManaged": true,
- "effectiveFrom": {
- "effectiveDate": "2019-08-24T14:15:22Z",
- "type": "string",
- "point": "string",
- "unit": "string",
- "amount": 0,
- "conditionPoint": "string",
- "conditionAmount": 0
}, - "effectiveTo": {
- "effectiveDate": "2019-08-24T14:15:22Z",
- "type": "string",
- "point": "string",
- "unit": "string",
- "amount": 0,
- "conditionPoint": "string",
- "conditionAmount": 0
}, - "employeeUids": [
- "00000000-0000-0000-0000-000000000000"
]
}
companyUid required | string <uuid> |
companyGlobalValueUid required | string <uuid> |
api-version | string |
skip | integer <int32> |
take | integer <int32> |
search | string |
departmentUids | Array of strings |
salaryPayoutPeriods | Array of integers <int32> Items Enum: 0 1 2 3 4 |
salaryTypes | Array of integers <int32> Items Enum: 0 1 2 3 4 5 |
filterBy | integer <int32> Enum: 0 1 2 3 4 |
employeeSortBy | integer <int32> Enum: 1 2 |
{- "skip": 0,
- "take": 0,
- "search": "string",
- "departmentUids": [
- "string"
], - "salaryPayoutPeriods": [
- 0
], - "salaryTypes": [
- 0
], - "filterBy": 0,
- "employeeSortBy": 1
}
{- "totalRecords": 0,
- "totalDisplayRecords": 0,
- "data": [
- {
- "salaryPayoutPeriod": 0,
- "salaryType": 0,
- "photoUrl": "string",
- "isDateManaged": true,
- "effectiveFrom": "2019-08-24T14:15:22Z",
- "effectiveTo": "2019-08-24T14:15:22Z",
- "isResigned": true,
- "title": "string",
- "department": {
- "name": "string",
- "number": "string",
- "hasWorkSchema": true,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}, - "hasProfileImage": true,
- "user": {
- "email": "string",
- "name": "string",
- "photoUrl": "string",
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}, - "incomeType": 0,
- "holidayPayReceiverType": 0,
- "extraHolidayEntitlementRule": "string",
- "name": "string",
- "employeeNumber": "string",
- "extraEmployeeNumber": "string",
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
]
}
companyUid required | string <uuid> |
companyGlobalValueUid required | string <uuid> |
api-version | string |
[- "00000000-0000-0000-0000-000000000000"
]
companyUid required | string <uuid> |
employeeUid required | string <uuid> |
companyGlobalValueUid 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 EmployeeUid = "YOUR_employeeUid_PARAMETER"; var CompanyGlobalValueUid = "YOUR_companyGlobalValueUid_PARAMETER"; var request = await client.PostAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/global-values/" + CompanyGlobalValueUid + "/assign/" + EmployeeUid + "?api-version=string", null); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
{ }
companyUid required | string <uuid> |
employeeUid required | string <uuid> |
companyGlobalValueUid 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 EmployeeUid = "YOUR_employeeUid_PARAMETER"; var CompanyGlobalValueUid = "YOUR_companyGlobalValueUid_PARAMETER"; var request = await client.PostAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/global-values/" + CompanyGlobalValueUid + "/unassign/" + EmployeeUid + "?api-version=string", null); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
companyUid required | string <uuid> |
api-version | string |
[- "00000000-0000-0000-0000-000000000000"
]
companyUid required | string <uuid> |
companyGlobalValueUid 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 CompanyGlobalValueUid = "YOUR_companyGlobalValueUid_PARAMETER"; var request = await client.DeleteAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/global-values/" + CompanyGlobalValueUid + "?api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }