Companies

Companies_GetCurrentUserCompanies

Authorizations:
oauth2
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 request = await client.GetAsync("https://signalr.zenegy.com/api/companies?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
[
]

Companies_GetCompanyDetails

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

Companies_UpdateBasicCompanyDetails

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
companyType
required
integer <int32>
Enum: 0 1 2 3
latitude
required
number <double>
longitude
required
number <double>
vatNumber
required
string [ 0 .. 30 ] characters
name
required
string [ 0 .. 300 ] characters
address
required
string [ 0 .. 100 ] characters
postalCode
required
string [ 0 .. 20 ] characters
city
required
string [ 0 .. 50 ] characters
phone
required
string [ 0 .. 50 ] characters
contactPersonName
string [ 0 .. 150 ] characters
contactPersonEmail
string [ 0 .. 75 ] characters
contactPersonPhone
string [ 0 .. 50 ] characters

Responses

Request samples

Content type
{
}

Companies_GetCompanyPayrolls

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

Companies_GetCompanyDemoPayslip

Authorizations:
oauth2
path Parameters
companyUid
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 request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/report/demo?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{ }

Companies_GetCompanyManagingEmployees Deprecated

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

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{ }

Companies_GetCompanyEmployeesFreeChoiceSaldoAsync

Authorizations:
oauth2
path Parameters
companyUid
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 request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/freechoicesaldo?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

Companies_GetCompanySettingsAsync

Authorizations:
oauth2
path Parameters
companyUid
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 request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/company-settings?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

Companies_IsRetroEnabledAsync

Authorizations:
oauth2
path Parameters
companyUid
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 request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/is-retro-enabled?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
true

Companies_IsAmAccoutingEnabledAsync

Authorizations:
oauth2
path Parameters
companyUid
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 request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/am-accoutings-setting?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
true

Companies_HolidayOrderSettingAsync

Authorizations:
oauth2
path Parameters
companyUid
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 request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/holiday-order-setting?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

Companies_IsBookingGroupEnabledAsync

Authorizations:
oauth2
path Parameters
companyUid
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 request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/is-booking-group-enabled?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
true

Companies_IsGenerateEIncomeFileEnabledAsync

Authorizations:
oauth2
path Parameters
companyUid
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 request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/is-generate-eincome-file?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
true

Companies_GetCompanyReportLogoImageAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
isAdd
boolean
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 request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/report/logo?isAdd=true&api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{ }

Companies_PutCompanyReportLogoImageAsync

Authorizations:
oauth2
path Parameters
companyUid
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 request = await client.PostAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/report/logo?api-version=string", null);
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Companies_DeleteCompanyReportLogoImageAsync

Authorizations:
oauth2
path Parameters
companyUid
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 request = await client.DeleteAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/report/logo?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Companies_IsPayoutVacationMoneyEnabledAsync

Authorizations:
oauth2
path Parameters
companyUid
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 request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/is-payout-vacation-enabled?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
true

Companies_IsVacationMoneyGaranteeEnabledAsync

Authorizations:
oauth2
path Parameters
companyUid
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 request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/is-vacation-money-garantee?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
true

Companies_IsHorestaSupplementEnabled

Authorizations:
oauth2
path Parameters
companyUid
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 request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/is-horesta-supplement-enabled?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
true

Companies_IsHiringOutOfLabourEnabledAsync

Authorizations:
oauth2
path Parameters
companyUid
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 request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/is-hiring-out-of-labour-enabled?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
true

Companies_GetCompanyExtraHolidayEntitlementInHoursAsync

Authorizations:
oauth2
path Parameters
companyUid
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 request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/extra-holiday-entitlement-in-hours?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
true

Companies_IsExtraHolidayEntitlementInHoursEnabledAsync

Authorizations:
oauth2
path Parameters
companyUid
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 request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/is-extra-holiday-entitlement-in-hours-enabled?api-version=string");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
true

Companies_GetCompanyPayslipsInformationAsync

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
request.startDate
string <date-time>
request.endDate
string <date-time>

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 request = await client.GetAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/payslips-information?api-version=string&request.startDate=2019-08-24T14%3A15%3A22Z&request.endDate=2019-08-24T14%3A15%3A22Z");
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Response samples

Content type
{
}

Companies_UpdateFullCompany

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
association
required
integer <int32>
Enum: 1 8 11 12 13 14 15 16 18 19
deviationSalaryAbove
number <double>
deviationChangeAbovePercentage
number <double>
deviationChangeAboveMoney
number <double>
hasHolidayPayment
boolean
hasBenefitPackage
boolean
hasBenefitPackageTwo
boolean
hasAmPension
boolean
disablePayslipNotification
boolean
isAutoSendNullPayrollsEnabled
boolean
object (Zalary.Models.Company.CompanyUnionSettings.CompanyUnionSettingsRequest)
required
object
enabledNotifications
Array of integers <int32>
Items Value: 1
isFlexEnabled
boolean
isBirthdayNotificationsEnabled
boolean
isSeniorityNotificationsEnabled
boolean
isMileageLowRateEnabled
boolean
autoSplitVacation
boolean
object (Zalary.Models.Company.VacationSettings.CompanyVacationSettings)
nemKontoPayment
string
minimumNumberOfApprovers
integer <int32> [ 0 .. 255 ]
isCompanyCarModuleEnabled
boolean
isProratingEnabled
boolean
isTrackingNegativeSalaryEnabled
boolean
seNumberDaField
string
seNumberFgoField
string
isHiringOutOfLabourEnabled
boolean
isRetroEnabled
boolean
isPayoutOnVacationMoneyEnabled
boolean
extraHolidayEntitlementInHours
boolean
isDepartmentIncomeSplitEnabled
boolean
isExtraHolidayEntitlementInHoursEnabled
boolean
isHolidaySupplementProratedPayoutEnabled
boolean
isHorestaSupplementEnabled
boolean
isAdvancedBookingEnabled
boolean
isBookingGroupEnabled
boolean
transferShNettoAmount
boolean
shNettoPayout
boolean
isHolidayOrderEnabled
boolean
holidayOrderSetting
Array of strings
isSeNumberEnabled
boolean
isCreateAbsencesFromVacationFileEnabled
boolean
companyType
required
integer <int32>
Enum: 0 1 2 3
latitude
required
number <double>
longitude
required
number <double>
vatNumber
required
string [ 0 .. 30 ] characters
name
required
string [ 0 .. 300 ] characters
address
required
string [ 0 .. 100 ] characters
postalCode
required
string [ 0 .. 20 ] characters
city
required
string [ 0 .. 50 ] characters
phone
required
string [ 0 .. 50 ] characters
contactPersonName
string [ 0 .. 150 ] characters
contactPersonEmail
string [ 0 .. 75 ] characters
contactPersonPhone
string [ 0 .. 50 ] characters

Responses

Request samples

Content type
{
}

Companies_UpdateAdvancedCompanyDetails

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
isAutoSendNullPayrollsEnabled
boolean
kontoNumber
string [ 0 .. 10 ] characters
regNumber
string [ 0 .. 4 ] characters
companyType
integer <int32>
Enum: 0 1 2 3
transferTypeEnum
required
integer <int32>
Enum: 0 1
insuranceType
required
integer <int32>
Enum: 0 2 4 6 8 10 12 14

Responses

Request samples

Content type
{
}

Companies_CreateCompany Deprecated

Authorizations:
oauth2
query Parameters
api-version
string
Request Body schema:
companyType
required
integer <int32>
Enum: 0 1 2 3
latitude
required
number <double>
longitude
required
number <double>
vatNumber
required
string [ 0 .. 30 ] characters
name
required
string [ 0 .. 300 ] characters
address
required
string [ 0 .. 100 ] characters
postalCode
required
string [ 0 .. 20 ] characters
city
required
string [ 0 .. 50 ] characters
phone
required
string [ 0 .. 50 ] characters
contactPersonName
string [ 0 .. 150 ] characters
contactPersonEmail
string [ 0 .. 75 ] characters
contactPersonPhone
string [ 0 .. 50 ] characters

Responses

Request samples

Content type
{
}

Response samples

Content type
{ }

Companies_UpdateTrygInsuranceInfo

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
insuranceType
integer <int32>
Enum: 0 2 4 6 8 10 12 14

Responses

Request samples

Content type
{
}

Response samples

Content type
0

Companies_ConfirmCompanyVacationSettingsAsync

Authorizations:
oauth2
path Parameters
companyUid
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 request = await client.PatchAsync("https://signalr.zenegy.com/api/companies/" + CompanyUid + "/vacation-settings?api-version=string", null);
      var response = await request.Content.ReadAsStringAsync();

      Console.WriteLine(response);
    }
  }
}

Companies_UpdateHolidayOrrderSettings

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
isHolidayOrderEnabled
boolean
holidayOrderSetting
Array of strings

Responses

Request samples

Content type
{
}

Companies_UpdateDanicaPensionOffer

Authorizations:
oauth2
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
isSubscriptionEnabled
boolean
existingCustomerType
integer <int32>
Enum: 0 1 2 3
object (Zalary.Models.Company.ThirdPartySubscriptionType)
isSelfEmployed
boolean

Responses

Request samples

Content type
{
}