PayrollExtraHoursPayment

PayrollExtraHoursPayment_GetEmployeePayrollExtraHourPayments

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
payrollUid
required
string <uuid>
employeePayrollUid
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 PayrollUid = "YOUR_payrollUid_PARAMETER";
      var EmployeePayrollUid = "YOUR_employeePayrollUid_PARAMETER";
      var request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/payroll/" + PayrollUid + "/employees/" + EmployeePayrollUid + "/extrahourspayment?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
[
]

PayrollExtraHoursPayment_AddPayrollExtraHourPaymentsPerEmployee

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

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

PayrollExtraHoursPayment_GetEmployeePayrollExtraHourPayment

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
payrollUid
required
string <uuid>
employeePayrollUid
required
string <uuid>
extrahourspaymentUid
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 PayrollUid = "YOUR_payrollUid_PARAMETER";
      var EmployeePayrollUid = "YOUR_employeePayrollUid_PARAMETER";
      var ExtrahourspaymentUid = "YOUR_extrahourspaymentUid_PARAMETER";
      var request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/payroll/" + PayrollUid + "/employees/" + EmployeePayrollUid + "/extrahourspayment/" + ExtrahourspaymentUid + "?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

PayrollExtraHoursPayment_DeleteEmployeePayrollExtraHourPayment

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
payrollUid
required
string <uuid>
employeePayrollUid
required
string <uuid>
extrahourspaymentUid
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 PayrollUid = "YOUR_payrollUid_PARAMETER";
      var EmployeePayrollUid = "YOUR_employeePayrollUid_PARAMETER";
      var ExtrahourspaymentUid = "YOUR_extrahourspaymentUid_PARAMETER";
      var request = await client.DeleteAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/payroll/" + PayrollUid + "/employees/" + EmployeePayrollUid + "/extrahourspayment/" + ExtrahourspaymentUid + "?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

PayrollExtraHoursPayment_PatchEmployeePayrollExtraHourPayment

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
payrollUid
required
string <uuid>
employeePayrollUid
required
string <uuid>
extrahourspaymentUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
rateUid
string <uuid>
companyExtraHourPaymentRateFk
integer <int32>
rate
number <double>
paymentPerRate
number <double>
departmentUid
string <uuid>
costCenterUid
string <uuid>
profitCenterUid
string <uuid>

Responses

Request samples

Content type
{
}

PayrollExtraHoursPayment_GetCalculatedAmountForRateFromPayrollAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
payrollUid
required
string <uuid>
employeePayrollUid
required
string <uuid>
query Parameters
companyExtraHourPaymentRateUid
required
string <uuid>
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 PayrollUid = "YOUR_payrollUid_PARAMETER";
      var EmployeePayrollUid = "YOUR_employeePayrollUid_PARAMETER";
      var request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/payroll/" + PayrollUid + "/employees/" + EmployeePayrollUid + "/extrahourspayment/paymentperrate?companyExtraHourPaymentRateUid=497f6eca-6276-4993-bfeb-53cbbbba6f08&api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
0