Employees

<no summary>

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
isActive
boolean Nullable
isResigned
boolean Nullable
types
Array of integers <int32> (Zalary.Employee.Models.EmployeeType) Nullable
Items Enum: 1 2 3
departmentUids
Array of strings <uuid> Nullable
employeeUids
Array of strings <uuid> Nullable
filterByPhrase
string Nullable
filterByFullName
string Nullable
skip
integer <int32>
take
integer <int32>

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("/api/companies/" + CompanyUid + "/employees?isActive=true&isResigned=true&types=1&departmentUids=497f6eca-6276-4993-bfeb-53cbbbba6f08&employeeUids=497f6eca-6276-4993-bfeb-53cbbbba6f08&filterByPhrase=string&filterByFullName=string&skip=0&take=0");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
No sample

<no summary>

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
Request Body schema:
firstName
required
string [ 0 .. 150 ] characters
lastName
required
string [ 0 .. 150 ] characters
email
required
string [ 0 .. 75 ] characters

Responses

Request samples

Content type
{
}

Response samples

Content type
No sample

<no summary>

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
Request Body schema:
firstName
required
string [ 0 .. 150 ] characters
lastName
required
string [ 0 .. 150 ] characters
email
required
string [ 0 .. 75 ] characters
mobilePhone
string [ 0 .. 50 ] characters Nullable
invitationText
required
string

Responses

Request samples

Content type
{
}

Response samples

Content type
No sample

<no summary>

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

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
No sample

<no summary>

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

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
No sample

<no summary>

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
Request Body schema:
required
object (Zalary.Employee.Models.UpdateEmployeeRequest)
required
object (Zalary.Employee.Models.UpdateEmployeeEmploymentBaseRequest)
required
object (Zalary.Employee.Models.UpdateEmployeeAdditionalRequest)
required
object (Zalary.Employee.Models.UpdateEmployeeTaxInfoRequest)
required
object (Zalary.Employee.Models.UpdateEmployeeVacationInfoRequest)
required
object (Zalary.Employee.Models.UpdateEmployeeStatisticsRequest)

Responses

Request samples

Content type
{
}

Response samples

Content type
No sample

<no summary>

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

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("/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/profile");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
No sample

<no summary>

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
Request Body schema:
firstName
required
string [ 0 .. 150 ] characters
lastName
required
string [ 0 .. 150 ] characters
email
string [ 0 .. 75 ] characters Nullable
mobilePhone
string [ 0 .. 50 ] characters Nullable
linkedIn
string [ 0 .. 200 ] characters Nullable
carRegistrationNumber
string [ 0 .. 20 ] characters Nullable
gender
integer <int32>
dateOfBirth
string <date-time> Nullable
language
string Nullable
iban
string Nullable
swift
string Nullable
isSingleParent
boolean
personalIdentificationNumber
string Nullable
civilStatus
integer <int32>
civilStatusValidFrom
string <date-time> Nullable
object (Zalary.Employee.Models.MarriagePartnerRequest)

Responses

Request samples

Content type
{
}

Response samples

Content type
No sample

<no summary>

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

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("/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/invite", null);
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
No sample

<no summary>

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

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("/api/companies/" + CompanyUid + "/employees/data/document?year=0");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
No sample