EmployeeResignation

EmployeeResignation_GetEmployeesWithResignationsAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
filter.skip
integer <int32>
filter.take
integer <int32>
filter.departments
Array of strings <uuid>
filter.isProcessed
boolean

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/resignations?api-version=string&filter.skip=0&filter.take=0&filter.departments=497f6eca-6276-4993-bfeb-53cbbbba6f08&filter.isProcessed=true");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

EmployeeResignation_EmployeesResignAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
required
Array of objects (Zalary.Models.Employee.Resignation.EmployeeResignationExtendedRequest)

Responses

Request samples

Content type
{
}

Response samples

Content type
[
]

EmployeeResignation_EmployeeResign

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
dateOfResignation
required
string <date-time>
lastWorkDay
required
string <date-time>
reason
required
integer <int32>
Enum: 1 2 3 4 5 6
resignedBy
required
integer <int32>
Enum: 1 2 3 4
note
string

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

EmployeeResignation_EmployeeUnresign

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

      Console.WriteLine(response);
    }
  }
}

EmployeeResignation_EmployeeReactivateBulkAsync

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

Responses

Request samples

Content type
[
]

EmployeeResignation_EmployeeReactivate

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
salaryType
integer <int32>
Enum: 0 1 2 3 4 5
clearStartSaldo
boolean
type
integer <int32>
Enum: 1 2 3
taxCardType
integer <int32>
Enum: 0 1 2 3 4
startDateEmployment
string <date-time>
startDateAncinity
string <date-time>
useGlobalValueSet
boolean
globalValueSet
string <uuid>

Responses

Request samples

Content type
{
}