Employees

Employees_GetEmployeeBasesAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string

Responses

Request samples

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 + "/employees?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

Employees_UpsertEmployeeAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
employeeType
required
integer <int32>
Enum: 1 2 3
pnumber
required
string
address
required
string [ 0 .. 50 ] characters
city
required
string [ 0 .. 50 ] characters
postalNumber
required
string [ 0 .. 20 ] characters
mobilePhone
string [ 0 .. 50 ] characters
kontoNumber
string
regNumber
string
object (Zalary.Models.Employee.EmployeeLanguage)
cpr
string [ 0 .. 30 ] characters
email
string [ 0 .. 75 ] characters
name
required
string [ 0 .. 150 ] characters
linkedIn
string [ 0 .. 200 ] characters
carRegistrationNumber
string [ 0 .. 20 ] characters
countryCode
string [ 0 .. 5 ] characters

Responses

Request samples

Content type
{
}

Response samples

Content type
"00000000-0000-0000-0000-000000000000"

Employees_PostEmployeeAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
iban
string [ 0 .. 34 ] characters
swift
string [ 0 .. 11 ] characters
isForeign
boolean
isCprValidated
boolean
employeeNumber
string
extraEmployeeNumber
string
globalValueSetUid
string <uuid>
globalValueUid
string <uuid>
employmentDate
string <date-time>
ancinityDate
string <date-time>
object (Zalary.Models.Employee.UpdateEmployeeStartSaldoRequest)
object (Zalary.Models.Employee.EmployeeEmploymentBaseDto)
address
required
string [ 0 .. 50 ] characters
city
required
string [ 0 .. 50 ] characters
postalNumber
required
string [ 0 .. 20 ] characters
mobilePhone
string [ 0 .. 50 ] characters
kontoNumber
string
regNumber
string
object (Zalary.Models.Employee.EmployeeLanguage)
cpr
string [ 0 .. 30 ] characters
email
string [ 0 .. 75 ] characters
name
required
string [ 0 .. 150 ] characters
linkedIn
string [ 0 .. 200 ] characters
carRegistrationNumber
string [ 0 .. 20 ] characters
countryCode
string [ 0 .. 5 ] characters

Responses

Request samples

Content type
{
}

Response samples

Content type
"00000000-0000-0000-0000-000000000000"

Employees_GetEmployeeAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string

Responses

Request samples

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 + "?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

Employees_PutEmployeeAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
required
object (Zalary.Models.Employee.UpdateEmployeeRequest)
required
object (Zalary.Models.Employee.UpdateEmployeeStartSaldoRequest)
required
object (Zalary.Models.Employee.UpdateEmployeeEmploymentRequest)
required
object (Zalary.Models.Employee.UpdateEmployeeAdditionalRequest)

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

Employees_DeleteEmployee

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string

Responses

Request samples

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.DeleteAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Employees_GetEmployeeAgeAsync

Authorizations:
oauth2
path Parameters
employeeUid
required
string <uuid>
companyUid
required
string
query Parameters
api-version
string

Responses

Request samples

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 EmployeeUid = "YOUR_employeeUid_PARAMETER";
      var CompanyUid = "YOUR_companyUid_PARAMETER";
      var request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/age?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
0

Employees_GetEmployeeAbsenceSaldoAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string

Responses

Request samples

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 + "/saldo?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

Employees_GetEmployeeTurnoverAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
year
required
integer <int32>
api-version
string

Responses

Request samples

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 + "/employees/turnover?year=0&api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

Employees_GetEmployeeProfile

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string

Responses

Request samples

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 + "/profile?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

Employees_PatchEmployeeProfile

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
iban
string [ 0 .. 34 ] characters
swift
string [ 0 .. 11 ] characters
isForeign
boolean
isCprValidated
boolean
employeeNumber
string
extraEmployeeNumber
string
globalValueSetUid
string <uuid>
globalValueUid
string <uuid>
employmentDate
string <date-time>
ancinityDate
string <date-time>
object (Zalary.Models.Employee.UpdateEmployeeStartSaldoRequest)
object (Zalary.Models.Employee.EmployeeEmploymentBaseDto)
address
required
string [ 0 .. 50 ] characters
city
required
string [ 0 .. 50 ] characters
postalNumber
required
string [ 0 .. 20 ] characters
mobilePhone
string [ 0 .. 50 ] characters
kontoNumber
string
regNumber
string
object (Zalary.Models.Employee.EmployeeLanguage)
cpr
string [ 0 .. 30 ] characters
email
string [ 0 .. 75 ] characters
name
required
string [ 0 .. 150 ] characters
linkedIn
string [ 0 .. 200 ] characters
carRegistrationNumber
string [ 0 .. 20 ] characters
countryCode
string [ 0 .. 5 ] characters

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

Employees_GetEmployeeSkatMessages

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string

Responses

Request samples

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 + "/taxcards?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

Employees_ForceRequestSkatMessage

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string

Responses

Request samples

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.PostAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/taxcards?api-version=string", null);
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
[
]

Employees_GetEmployeeEmployeesBasesAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string

Responses

Request samples

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 + "/employees?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

Employees_GetEmployeeTaxCardAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string

Responses

Request samples

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 + "/tax-cards?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
[
]

Employees_GetEmployeeDepartmentAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string

Responses

Request samples

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 + "/department?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

Employees_PutResignedEmployeDepartmentAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
companyDepartmentUid
string <uuid>

Responses

Request samples

Content type
{
}

Employees_GetEmployeeItemsAccess

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string

Responses

Request samples

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 + "/items-access?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

Employees_GetEmployeeStandardRate

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string

Responses

Request samples

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 + "/standard-rate?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
0

Employees_GetEmployeeImageAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
isAdd
boolean
api-version
string

Responses

Request samples

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 + "/image?isAdd=true&api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{ }

Employees_PutEmployeeImageAsync Deprecated

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string

Responses

Request samples

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.PostAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/image?api-version=string", null);
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{ }

Employees_GetAbsenceFreechoiceSettings

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string

Responses

Request samples

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 + "/absence-freechoice-settings?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
true

Employees_GetEmployeeExtraHolidayEntitlementRuleAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string

Responses

Request samples

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 + "/extra-holiday-entitlement-rule?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
"string"

Employees_PutEmployeeExtraHolidayEntitlementRuleAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
object (Zalary.Models.Employee.EmployeeExtraHolidayEntitlementRule)

Responses

Request samples

Content type
{
}

Employees_GetEmployeeLostDaysFifthHolidayWeekAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string