companyUid required | string <uuid> |
headerUid required | string <uuid> |
employeeUid required | string |
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 HeaderUid = "YOUR_headerUid_PARAMETER"; var EmployeeUid = "YOUR_employeeUid_PARAMETER"; var request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/reimbursements/" + HeaderUid + "?api-version=string"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
{- "messages": [
- {
- "messageText": "string",
- "messageType": 0,
- "messageCode": 0
}
], - "warnings": [
- {
- "messageText": "string",
- "messageType": 0,
- "messageCode": 0
}
], - "errors": [
- {
- "messageText": "string",
- "messageType": 0,
- "messageCode": 0
}
], - "validations": [
- {
- "messageText": "string",
- "messageType": 0,
- "messageCode": 0
}
], - "informations": [
- {
- "messageText": "string",
- "messageType": 0,
- "messageCode": 0
}
], - "referenceAttributeText": "string",
- "reportedTo": "string",
- "hoursWorkedFromTheEmploymentDate": 0,
- "isRequestToBeSent": true,
- "hasPayrollDuringAbsence": true,
- "isInjuredAtWork": true,
- "hasBeenEmployedForRequiredPeriod": true,
- "hasHolidayDuringAbsence": true,
- "requestType": 0,
- "resumedWorkCode": 1,
- "createdOn": "2019-08-24T14:15:22Z",
- "firstDayOfAbsence": "2019-08-24T14:15:22Z",
- "lastDayOfAbsence": "2019-08-24T14:15:22Z",
- "dateOfAbsenceReport": "2019-08-24T14:15:22Z",
- "employmentDate": "2019-08-24T14:15:22Z",
- "firstDayOfHoliday": "2019-08-24T14:15:22Z",
- "lastDayOfHoliday": "2019-08-24T14:15:22Z",
- "resumedWorkDate": "2019-08-24T14:15:22Z",
- "firstAbsenceDay": "2019-08-24T14:15:22Z",
- "resumedWorkWorkingHours": 0,
- "workingHours": 0,
- "workingHoursType": 1,
- "paymentTo": 1,
- "confirmInfo": true,
- "tokenText": "string",
- "requestUid": "string",
- "absenecUid": "string",
- "employee": {
- "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"
}, - "absenceType": 1,
- "action": 0,
- "conditionStatus": 0,
- "status": 1,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
companyUid required | string <uuid> |
employeeUid required | string <uuid> |
headerUid required | string <uuid> |
api-version | string |
reportedTo | string [ 0 .. 100 ] characters |
firstAbsenceDay | string <date-time> |
lastDayOfAbsence | string <date-time> |
dateOfAbsenceReport | string <date-time> |
resumedWorkDate | string <date-time> |
firstDayOfHoliday | string <date-time> |
lastDayOfHoliday | string <date-time> |
employmentDate | string <date-time> |
resumedWorkWorkingHours | number <double> >= 0 |
workingHours | number <double> >= 0 |
hoursWorkedFromTheEmploymentDate | number <double> >= 0 |
absenceType | integer <int32> Enum: 1 2 3 |
resumedWorkCode | integer <int32> Enum: 1 2 3 4 |
workingHoursType | integer <int32> Enum: 1 2 3 4 |
paymentTo | integer <int32> Enum: 1 2 |
isInjuredAtWork | boolean |
hasBeenEmployedForRequiredPeriod | boolean |
hasHolidayDuringAbsence | boolean |
confirmInfo | boolean |
{- "reportedTo": "string",
- "firstAbsenceDay": "2019-08-24T14:15:22Z",
- "lastDayOfAbsence": "2019-08-24T14:15:22Z",
- "dateOfAbsenceReport": "2019-08-24T14:15:22Z",
- "resumedWorkDate": "2019-08-24T14:15:22Z",
- "firstDayOfHoliday": "2019-08-24T14:15:22Z",
- "lastDayOfHoliday": "2019-08-24T14:15:22Z",
- "employmentDate": "2019-08-24T14:15:22Z",
- "resumedWorkWorkingHours": 0,
- "workingHours": 0,
- "hoursWorkedFromTheEmploymentDate": 0,
- "absenceType": 1,
- "resumedWorkCode": 1,
- "workingHoursType": 1,
- "paymentTo": 1,
- "isInjuredAtWork": true,
- "hasBeenEmployedForRequiredPeriod": true,
- "hasHolidayDuringAbsence": true,
- "confirmInfo": true
}
{- "employee": {
- "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"
}, - "absenceType": 1,
- "action": 0,
- "conditionStatus": 0,
- "status": 1,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}
companyUid required | string <uuid> |
employeeUid required | string <uuid> |
api-version | string |
reportedTo | string [ 0 .. 100 ] characters |
firstAbsenceDay | string <date-time> |
lastDayOfAbsence | string <date-time> |
dateOfAbsenceReport | string <date-time> |
resumedWorkDate | string <date-time> |
firstDayOfHoliday | string <date-time> |
lastDayOfHoliday | string <date-time> |
employmentDate | string <date-time> |
resumedWorkWorkingHours | number <double> >= 0 |
workingHours | number <double> >= 0 |
hoursWorkedFromTheEmploymentDate | number <double> >= 0 |
absenceType | integer <int32> Enum: 1 2 3 |
resumedWorkCode | integer <int32> Enum: 1 2 3 4 |
workingHoursType | integer <int32> Enum: 1 2 3 4 |
paymentTo | integer <int32> Enum: 1 2 |
isInjuredAtWork | boolean |
hasBeenEmployedForRequiredPeriod | boolean |
hasHolidayDuringAbsence | boolean |
confirmInfo | boolean |
{- "reportedTo": "string",
- "firstAbsenceDay": "2019-08-24T14:15:22Z",
- "lastDayOfAbsence": "2019-08-24T14:15:22Z",
- "dateOfAbsenceReport": "2019-08-24T14:15:22Z",
- "resumedWorkDate": "2019-08-24T14:15:22Z",
- "firstDayOfHoliday": "2019-08-24T14:15:22Z",
- "lastDayOfHoliday": "2019-08-24T14:15:22Z",
- "employmentDate": "2019-08-24T14:15:22Z",
- "resumedWorkWorkingHours": 0,
- "workingHours": 0,
- "hoursWorkedFromTheEmploymentDate": 0,
- "absenceType": 1,
- "resumedWorkCode": 1,
- "workingHoursType": 1,
- "paymentTo": 1,
- "isInjuredAtWork": true,
- "hasBeenEmployedForRequiredPeriod": true,
- "hasHolidayDuringAbsence": true,
- "confirmInfo": true
}
{- "employee": {
- "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"
}, - "absenceType": 1,
- "action": 0,
- "conditionStatus": 0,
- "status": 1,
- "id": 0,
- "uid": "00000000-0000-0000-0000-000000000000"
}