EmployeeDepartmentIncomeSplit

EmployeeDepartmentIncomeSplit_GetEmployeeDepartmentIncomeSplitsAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
[
]

EmployeeDepartmentIncomeSplit_CreateEmployeeDepartmentIncomeSplitAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
companyDepartmentUid
required
string <uuid>
percentage
required
number <double> [ 1 .. 100 ]
required
object (Zalary.Models.EmployeeDepartmentIncomeSplit.EmployeeDepartmentType)

Responses

Request samples

Content type
{
}

Response samples

Content type
[
]

EmployeeDepartmentIncomeSplit_DeleteEmployeeDepartmentIncomeSplitAsync

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
[
]

EmployeeDepartmentIncomeSplit_UpdateEmployeeDepartmentIncomeSplitAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
employeeDepartmentIncomeSplitUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
companyDepartmentUid
required
string <uuid>
percentage
required
number <double> [ 1 .. 100 ]
required
object (Zalary.Models.EmployeeDepartmentIncomeSplit.EmployeeDepartmentType)

Responses

Request samples

Content type
{
}

Response samples

Content type
[
]