EmployeePayChecks

EmployeePayChecks_GetPayCheckBasesAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
[
]

EmployeePayChecks_PostPayChecksAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
payCheckFor
integer <int32>
Enum: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
name
required
string [ 0 .. 128 ] characters
unit
number <double>
paymentPerUnit
number <double>
rateUid
string <uuid>
regNumber
string
kontoNumber
string
includeInPensionBase
boolean
includeInAmPensionBase
boolean
isIncludedInHolidayEntitlementSalary
boolean
departmentUid
string <uuid>
costCenterUid
string <uuid>
profitCenterUid
string <uuid>

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

EmployeePayChecks_UpdatePayCheckPerEmployeeAsync

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

Responses

Request samples

Content type
[
]

EmployeePayChecks_GetEmployeePaychecks

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
take
integer <int32>
skip
integer <int32>
getBIncomeTypes
boolean
disabledPaycheckTypes
Array of integers <int32>
Items Enum: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36

Responses

Request samples

Content type
{
}

Response samples

Content type
{
}

EmployeePayChecks_UpdatePayCheckPerEmployee

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
payCheckUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
payCheckFor
integer <int32>
Enum: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
name
required
string [ 0 .. 128 ] characters
unit
number <double>
paymentPerUnit
number <double>
rateUid
string <uuid>
regNumber
string
kontoNumber
string
includeInPensionBase
boolean
includeInAmPensionBase
boolean
isIncludedInHolidayEntitlementSalary
boolean
departmentUid
string <uuid>
costCenterUid
string <uuid>
profitCenterUid
string <uuid>

Responses

Request samples

Content type
{
}

EmployeePayChecks_DeletePayCheckPerEmployee

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

      Console.WriteLine(response);
    }
  }
}