EmployeeSupplementsAndDeductionsRegistrations

EmployeeSupplementsAndDeductionsRegistrations_GetRegistrationBaseDtoQuery

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

EmployeeSupplementsAndDeductionsRegistrations_InsertRegistrationAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
date
required
string <date-time>
rate
number <double>
units
number <double>
name
string [ 0 .. 100 ] characters
description
string
status
integer <int32>
Enum: 0 1 2 3 4
rateUid
string <uuid>
attachmentUids
Array of strings <uuid>
projectId
string
countryUid
string <uuid>
countryTaxableIncome
boolean
costCenterUid
string <uuid>
countryTaxPercentage
number <double>
triggerRetro
boolean

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

EmployeeSupplementsAndDeductionsRegistrations_DeleteRegistrationAsync

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

      Console.WriteLine(response);
    }
  }
}

EmployeeSupplementsAndDeductionsRegistrations_GetEmployeeRegistrationAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
registrationUid
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 RegistrationUid = "YOUR_registrationUid_PARAMETER";
      var request = await client.GetAsync("https://api.zenegy.com/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/supplementsanddeductions/registrations/" + RegistrationUid + "?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

EmployeeSupplementsAndDeductionsRegistrations_DeleteRegistrationAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
registrationUid
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 RegistrationUid = "YOUR_registrationUid_PARAMETER";
      var request = await client.DeleteAsync("https://api.zenegy.com/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/supplementsanddeductions/registrations/" + RegistrationUid + "?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

EmployeeSupplementsAndDeductionsRegistrations_UpdateRegistrationAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
registrationUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
date
required
string <date-time>
rate
number <double>
units
number <double>
name
string [ 0 .. 100 ] characters
description
string
status
integer <int32>
Enum: 0 1 2 3 4
rateUid
string <uuid>
attachmentUids
Array of strings <uuid>
projectId
string
countryUid
string <uuid>
countryTaxableIncome
boolean
costCenterUid
string <uuid>
countryTaxPercentage
number <double>
triggerRetro
boolean

Responses

Request samples

Content type
{
}

EmployeeSupplementsAndDeductionsRegistrations_GetEmployeeRegistrationAttachmentLocationAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
registrationUid
required
string <uuid>
attachmentUid
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 RegistrationUid = "YOUR_registrationUid_PARAMETER";
      var AttachmentUid = "YOUR_attachmentUid_PARAMETER";
      var request = await client.GetAsync("https://api.zenegy.com/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/supplementsanddeductions/registrations/" + RegistrationUid + "/attachments/" + AttachmentUid + "?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
"string"

EmployeeSupplementsAndDeductionsRegistrations_PostEmployeeRegistrationAttachmentsAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
[
]

EmployeeSupplementsAndDeductionsRegistrations_RejectRegistrationAsync

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

      Console.WriteLine(response);
    }
  }
}

EmployeeSupplementsAndDeductionsRegistrations_ApproveRegistrationAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

EmployeeSupplementsAndDeductionsRegistrations_PendingRegistrationAsync

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

      Console.WriteLine(response);
    }
  }
}

EmployeeSupplementsAndDeductionsRegistrations_ManuallyArchiveRegistrationAsync

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

      Console.WriteLine(response);
    }
  }
}

EmployeeSupplementsAndDeductionsRegistrations_RejectRegistrationAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
registrationUid
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 RegistrationUid = "YOUR_registrationUid_PARAMETER";
      var request = await client.PatchAsync("https://api.zenegy.com/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/supplementsanddeductions/registrations/" + RegistrationUid + "/reject?api-version=string", null);
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

EmployeeSupplementsAndDeductionsRegistrations_ApproveRegistrationAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
registrationUid
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 RegistrationUid = "YOUR_registrationUid_PARAMETER";
      var request = await client.PatchAsync("https://api.zenegy.com/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/supplementsanddeductions/registrations/" + RegistrationUid + "/approve?api-version=string", null);
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

EmployeeSupplementsAndDeductionsRegistrations_PendingRegistrationAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
registrationUid
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 RegistrationUid = "YOUR_registrationUid_PARAMETER";
      var request = await client.PatchAsync("https://api.zenegy.com/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/supplementsanddeductions/registrations/" + RegistrationUid + "/pending?api-version=string", null);
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

EmployeeSupplementsAndDeductionsRegistrations_ManuallyArchiveRegistrationAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
registrationUid
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 RegistrationUid = "YOUR_registrationUid_PARAMETER";
      var request = await client.PatchAsync("https://api.zenegy.com/api/companies/" + CompanyUid + "/employees/" + EmployeeUid + "/supplementsanddeductions/registrations/" + RegistrationUid + "/manuallyarchive?api-version=string", null);
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}