EmployeeExtraHourPayment

EmployeeExtraHourPayment_GetEmployeeExtraHourPayments

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
[
]

EmployeeExtraHourPayment_AddEmployeeExtraHourPayment

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
rateUid
string <uuid>
companyExtraHourPaymentRateFk
integer <int32>
rate
number <double>
paymentPerRate
number <double>

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

EmployeeExtraHourPayment_GetEmployeeExtraHourPayment

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

EmployeeExtraHourPayment_DeleteEmployeeExtraHourPayment

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

      Console.WriteLine(response);
    }
  }
}

EmployeeExtraHourPayment_PatchEmployeeExtraHourPayment

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
extrahourspayment
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
rateUid
string <uuid>
companyExtraHourPaymentRateFk
integer <int32>
rate
number <double>
paymentPerRate
number <double>

Responses

Request samples

Content type
{
}

EmployeeExtraHourPayment_AddEmployeeExtraHourPaymentsBulkAsync

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.EmployeeExtraHoursPaymentRequest)

Responses

Request samples

Content type
[
]

Response samples

Content type
[
]