Employees

GetEmployeeBasesAsync

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

OK

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

UpsertEmployeeAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
employeeType
required
integer <int32>
Enum: 1 2 3
pnumber
required
string
address
required
string [ 0 .. 50 ] characters
city
required
string [ 0 .. 50 ] characters
postalNumber
required
string [ 0 .. 20 ] characters
mobilePhone
string [ 0 .. 50 ] characters
kontoNumber
string
regNumber
string
object (Zalary.Models.Employee.EmployeeLanguage)
cpr
string [ 0 .. 30 ] characters
email
string [ 0 .. 75 ] characters
name
required
string [ 0 .. 150 ] characters
linkedIn
string [ 0 .. 200 ] characters
carRegistrationNumber
string [ 0 .. 20 ] characters
countryCode
string [ 0 .. 5 ] characters
Responses
200

OK

put/api/companies/{companyUid}/employees
Request samples
{
}
Response samples
"00000000-0000-0000-0000-000000000000"

PostEmployeeAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
iban
string [ 0 .. 34 ] characters
swift
string [ 0 .. 11 ] characters
isForeign
boolean
isCprValidated
boolean
employeeNumber
string
extraEmployeeNumber
string
globalValueSetUid
string <uuid>
globalValueUid
string <uuid>
employmentDate
string <date-time>
ancinityDate
string <date-time>
object (Zalary.Models.Employee.UpdateEmployeeStartSaldoRequest)
object (Zalary.Models.Employee.EmployeeEmploymentBaseDto)
address
required
string [ 0 .. 50 ] characters
city
required
string [ 0 .. 50 ] characters
postalNumber
required
string [ 0 .. 20 ] characters
mobilePhone
string [ 0 .. 50 ] characters
kontoNumber
string
regNumber
string
object (Zalary.Models.Employee.EmployeeLanguage)
cpr
string [ 0 .. 30 ] characters
email
string [ 0 .. 75 ] characters
name
required
string [ 0 .. 150 ] characters
linkedIn
string [ 0 .. 200 ] characters
carRegistrationNumber
string [ 0 .. 20 ] characters
countryCode
string [ 0 .. 5 ] characters
Responses
200

OK

post/api/companies/{companyUid}/employees
Request samples
{
}
Response samples
"00000000-0000-0000-0000-000000000000"

GetEmployeeAsync

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

OK

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

PutEmployeeAsync

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
required
object (Zalary.Models.Employee.UpdateEmployeeRequest)
required
object (Zalary.Models.Employee.UpdateEmployeeStartSaldoRequest)
required
object (Zalary.Models.Employee.UpdateEmployeeEmploymentRequest)
required
object (Zalary.Models.Employee.UpdateEmployeeAdditionalRequest)
Responses
200

OK

put/api/companies/{companyUid}/employees/{employeeUid}
Request samples
{
}
Response samples
{
}

DeleteEmployee

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

No Content

delete/api/companies/{companyUid}/employees/{employeeUid}
Request samples

GetEmployeeAgeAsync

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

OK

get/api/companies/{companyUid}/employees/{employeeUid}/age
Request samples
Response samples
0
0

GetEmployeeAbsenceSaldoAsync

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

OK

get/api/companies/{companyUid}/employees/{employeeUid}/saldo
Request samples
Response samples
{
}

GetEmployeeTurnoverAsync

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

OK

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

GetEmployeeProfile

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

OK

get/api/companies/{companyUid}/employees/{employeeUid}/profile
Request samples
Response samples
{
}

PatchEmployeeProfile

Securityoauth2
Request
path Parameters
companyUid
required
string <uuid>
employeeUid
required
string <uuid>
query Parameters
api-version
string
Request Body schema:
iban
string [ 0 .. 34 ] characters
swift
string [ 0 .. 11 ] characters
isForeign
boolean
isCprValidated
boolean
employeeNumber
string
extraEmployeeNumber
string
globalValueSetUid
string <uuid>
globalValueUid
string <uuid>
employmentDate
string <date-time>
ancinityDate
string <date-time>
object (Zalary.Models.Employee.UpdateEmployeeStartSaldoRequest)
object (Zalary.Models.Employee.EmployeeEmploymentBaseDto)
address
required
string [ 0 .. 50 ] characters
city
required
string [ 0 .. 50 ] characters
postalNumber
required
string [ 0 .. 20 ] characters
mobilePhone
string [ 0 .. 50 ] characters
kontoNumber
string
regNumber
string
object (Zalary.Models.Employee.EmployeeLanguage)
cpr
string [ 0 .. 30 ] characters
email
string [ 0 .. 75 ] characters
name
required
string [ 0 .. 150 ] characters
linkedIn
string [ 0 .. 200 ] characters
carRegistrationNumber
string [ 0 .. 20 ] characters
countryCode
string [ 0 .. 5 ] characters
Responses
200

OK

patch/api/companies/{companyUid}/employees/{employeeUid}/profile
Request samples
{
}
Response samples
{
}

GetEmployeeSkatMessages

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

OK

get/api/companies/{companyUid}/employees/{employeeUid}/taxcards
Request samples
Response samples
{
}

ForceRequestSkatMessage

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

OK

post/api/companies/{companyUid}/employees/{employeeUid}/taxcards
Request samples
Response samples
[
]

GetEmployeeEmployeesBasesAsync

Securityoauth2
Request
path Parameters
companyUid
required