Employees

<no summary>

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
Request Body schema:
sortBy
string Nullable
Array of objects (Zalary.PayrollSe.Contracts.Common.AppFilter.FilterRequest) Nullable
skip
integer <int32>
take
integer <int32>
beginDate
string <date-time> Nullable
endDate
string <date-time> Nullable

Responses

Request samples

Content type
{
}

Response samples

Content type
No sample

<no summary>

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
salaryPayoutPeriod
string Nullable
periodFrom
string <date-time>
periodTo
string <date-time>
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/payroll-se/companies/" + CompanyUid + "/employees/payroll?salaryPayoutPeriod=string&periodFrom=2019-08-24T14%3A15%3A22Z&periodTo=2019-08-24T14%3A15%3A22Z&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>
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/payroll-se/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:
Array ()
object Nullable
path
string Nullable
op
string Nullable
from
string Nullable

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/payroll-se/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>
Request Body schema:
name
required
string [ 0 .. 150 ] characters
surname
required
string [ 0 .. 150 ] characters
address
string [ 0 .. 50 ] characters Nullable
zipCode
string [ 0 .. 5 ] characters Nullable
city
string [ 0 .. 50 ] characters Nullable
email
required
string <email> [ 0 .. 75 ] characters
phone
required
string [ 0 .. 50 ] characters
personalNumber
required
string [ 0 .. 10 ] 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:
name
required
string [ 0 .. 150 ] characters
surname
required
string [ 0 .. 150 ] characters
email
required
string <email> [ 0 .. 75 ] characters
phone
required
string [ 0 .. 50 ] characters
invitation
string Nullable

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>
query Parameters
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 EmployeeUid = "YOUR_employeeUid_PARAMETER";
      var request = await client.GetAsync("/api/payroll-se/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/payslips?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>
employeeUid
required
string <uuid>
Request Body schema:
Array ()
object Nullable
path
string Nullable
op
string Nullable
from
string Nullable

Responses

Request samples

Content type
[
]

Response samples

Content type
No sample