companyUid required | string <uuid> |
employeeUid required | string <uuid> |
api-version | string |
filter.take | integer <int32> |
filter.skip | integer <int32> |
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 + "/employees/" + EmployeeUid + "/logs?api-version=string&filter.take=0&filter.skip=0"); var response = await request.Content.ReadAsStringAsync(); Console.WriteLine(response); } } }
{- "totalRecords": 0,
- "totalDisplayRecords": 0,
- "data": [
- {
- "uid": "00000000-0000-0000-0000-000000000000",
- "entityUid": "00000000-0000-0000-0000-000000000000",
- "entityName": "string",
- "column": "string",
- "value": "string",
- "previousValue": "string",
- "changedBy": "string",
- "application": "string",
- "changedAt": "2019-08-24T14:15:22Z",
- "currentVacationYear": 0,
- "vacationYearBefore": 0,
- "twoVacationYearsBefore": 0,
- "frozenVacationYear": 0
}
]
}