Companies

GetCurrentUserCompanies

Securityoauth2
Request
query Parameters
api-version
string
Responses
200

OK

get/api/companies
Request samples
Response samples
[
]

GetCompanyDetails

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}
Request samples
Response samples
{
}

UpdateBasicCompanyDetails

Securityoauth2
Request
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 .. 150 ] characters
address
string [ 0 .. 100 ] characters
postalCode
string [ 0 .. 20 ] characters
city
string [ 0 .. 50 ] characters
phone
string [ 0 .. 50 ] characters
contactPersonName
string [ 0 .. 150 ] characters
contactPersonEmail
string [ 0 .. 75 ] characters
contactPersonPhone
string [ 0 .. 50 ] characters
Responses
204

No Content

put/api/companies/{companyUid}
Request samples
{
}

GetCompanyPayrolls

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/payroll
Request samples
Response samples
{
}

GetCompanyDemoPayslip

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/report/demo
Request samples
Response samples
{ }

GetCompanyManagingEmployeesDeprecated

Securityoauth2
Request
path Parameters
companyUid
required
string
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/employees/roles
Request samples
Response samples
{ }

GetCompanyEmployeesFreeChoiceSaldoAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/freechoicesaldo
Request samples
Response samples
{
}

GetCompanySettingsAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/company-settings
Request samples
Response samples
{
}

IsRetroEnabledAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/is-retro-enabled
Request samples
Response samples
true

IsAmAccoutingEnabledAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/am-accoutings-setting
Request samples
Response samples
true

HolidayOrderSettingAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/holiday-order-setting
Request samples
Response samples
{
}

IsBookingGroupEnabledAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/is-booking-group-enabled
Request samples
Response samples
true

IsGenerateEIncomeFileEnabledAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/is-generate-eincome-file
Request samples
Response samples
true

GetCompanyReportLogoImageAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
isAdd
boolean
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/report/logo
Request samples
Response samples
{ }

PutCompanyReportLogoImageAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
204

No Content

post/api/companies/{companyUid}/report/logo
Request samples

DeleteCompanyReportLogoImageAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
204

No Content

delete/api/companies/{companyUid}/report/logo
Request samples

IsPayoutVacationMoneyEnabledAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/is-payout-vacation-enabled
Request samples
Response samples
true

IsVacationMoneyGaranteeEnabledAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/is-vacation-money-garantee
Request samples
Response samples
true

IsHorestaSupplementEnabled

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/is-horesta-supplement-enabled
Request samples
Response samples
true

IsHiringOutOfLabourEnabledAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/is-hiring-out-of-labour-enabled
Request samples
Response samples
true

GetCompanyExtraHolidayEntitlementInHoursAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/extra-holiday-entitlement-in-hours
Request samples
Response samples
true

IsExtraHolidayEntitlementInHoursEnabledAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/is-extra-holiday-entitlement-in-hours-enabled
Request samples
Response samples
true

GetCompanyDeletionConfirmaionModal

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
deleteDataOn
required
string
query Parameters
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/deletion-settings-confirmation-modal/{deleteDataOn}
Request samples
Response samples
true

GetCompanyPayslipsInformationAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
request.startDate
string <date-time>
request.endDate
string <date-time>
Responses
200

OK

get/api/companies/{companyUid}/payslips-information
Request samples
Response samples
{
}

GetCompanyDstStatisticsEligibleYearsAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
filterYearsByStartYear
required
boolean
api-version
string
Responses
200

OK

get/api/companies/{companyUid}/statistics/settings/eligible-years
Request samples
Response samples
[
]

UpdateFullCompany

Securityoauth2
Request
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
isCountSicknessCalendarDaysEnabled
boolean
isUsingZenegyTimeEnabled
boolean
isNegativeShEnabled
boolean
isNegativeFreeChoiceEnabled
boolean
shSaldoOnResignation
string
benefitIncludedInBaseEnabled
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 .. 150 ] characters
address
string [ 0 .. 100 ] characters
postalCode
string [ 0 .. 20 ] characters
city
string [ 0 .. 50 ] characters
phone
string [ 0 .. 50 ] characters
contactPersonName
string [ 0 .. 150 ] characters
contactPersonEmail
string [ 0 .. 75 ] characters
contactPersonPhone
string [ 0 .. 50 ] characters
Responses
204

No Content

put/api/companies/{companyUid}/update
Request samples
{
}

UpdateAdvancedCompanyDetails

Securityoauth2
Request
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
204

No Content

put/api/companies/{companyUid}/advanced
Request samples
{
}

CreateCompanyDeprecated

Securityoauth2
Request
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 .. 150 ] characters
address
string [ 0 .. 100 ] characters
postalCode
string [ 0 .. 20 ] characters
city
string [ 0 .. 50 ] characters
phone
string [ 0 .. 50 ] characters
contactPersonName
string [ 0 .. 150 ] characters
contactPersonEmail
string [ 0 .. 75 ] characters
contactPersonPhone
string [ 0 .. 50 ] characters
Responses
200

OK

post/api/companies/create
Request samples
{
}
Response samples
{ }

UpdateCompanyDeletionSettings

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
object (Zalary.Models.Company.CompanyDeletionSettings.CompanyDeletionData)
sendNotifications
boolean
notifyUserUids
Array of strings <uuid>
object (Zalary.Models.Company.CompanyDeletionSettings.CompanyDeletionDataAfter)
mobileVerificationCode
string
Responses
204

No Content

post/api/companies/{companyUid}/deletion-settings
Request samples
{
}

UpdateTrygInsuranceInfo

Securityoauth2
Request
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
200

OK

patch/api/companies/{companyUid}/insurance
Request samples
{
}
Response samples
0
0

ConfirmCompanyVacationSettingsAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Responses
204

No Content

patch/api/companies/{companyUid}/vacation-settings
Request samples

UpdatePensionBaseLimit

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
isPensionBaseLimitEnabled
boolean
pensionBaseLimit
number <double>
Responses
204

No Content

patch/api/companies/{companyUid}/pension-base-limit
Request samples
{
}

UpdateHolidayOrrderSettings

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

No Content

patch/api/companies/{companyUid}/holiday-order-settings
Request samples
{
}

UpdateDanicaPensionOffer

Securityoauth2
Request
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
204

No Content

patch/api/companies/{companyUid}/third-party-subscription
Request samples
{
}

UpdateSalaryCalculationSettings

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
includeSupplementsInHolidayCalculation
boolean
Responses
204

No Content

patch/api/companies/{companyUid}/salary-calculation-settings
Request samples
{
}