Skip to main content

CreateEmployeeInput

Input for createEmployee mutation.

input CreateEmployeeInput {
abbreviation: AbbreviationInput!
birthday: Date
comment: String
currentQualification: EmployeeQualificationInput!
emergencyContact: String
emergencyPhone: String
employeeNumber: String!
gender: Gender
hasDrivingLicence: Boolean
isBlockedForLateDuty: Boolean
isBlockedForNightDuty: Boolean
learnedProfession: String
lifetimeEmploymentNumber: String!
residentialParkId: ResidentialParkID!
self: EmployeePersonalDataInput!
title: String
workspaces: [ApartmentGroupID]
}

Fields​

CreateEmployeeInput.abbreviation ● AbbreviationInput! non-null input​

The abbreviation of the employee as text and image.

CreateEmployeeInput.birthday ● Date scalar​

Date of birth of the employee

CreateEmployeeInput.comment ● String scalar​

A comment related to the employee.

CreateEmployeeInput.currentQualification ● EmployeeQualificationInput! non-null input​

Highest valid qualification of the employee.

CreateEmployeeInput.emergencyContact ● String scalar​

Name of the additional emergency contact person of this employee.

CreateEmployeeInput.emergencyPhone ● String scalar​

Phone number of the additional emergency contact person of this employee.

CreateEmployeeInput.employeeNumber ● String! non-null scalar​

External identifier of the employee. (NN. unique)

CreateEmployeeInput.gender ● Gender enum​

Gender of the employee (male/female/diverse)

CreateEmployeeInput.hasDrivingLicence ● Boolean scalar​

Indicates if the employee has driving licence

CreateEmployeeInput.isBlockedForLateDuty ● Boolean scalar​

If an employee is blocked for late duty, the employee is not allowed to work on late shifts. Defaults to 'false'

CreateEmployeeInput.isBlockedForNightDuty ● Boolean scalar​

If an employee is blocked for night duty, the employee is not allowed to work on night shifts. Defaults to 'false'

CreateEmployeeInput.learnedProfession ● String scalar​

Learned profession of the employee. Should not be used to determinate ANY skills; use Employee.currentQualification for that purpose.

CreateEmployeeInput.lifetimeEmploymentNumber ● String! non-null scalar​

Lifetime employment number of the employee, a nine-digit number

CreateEmployeeInput.residentialParkId ● ResidentialParkID! non-null scalar​

Reference to the Residential Park

CreateEmployeeInput.self ● EmployeePersonalDataInput! non-null input​

Personal information about this employee.

CreateEmployeeInput.title ● String scalar​

Person's title (e.g. 'Doctor', 'Prof.')

CreateEmployeeInput.workspaces ● [ApartmentGroupID] list scalar​

The assigned apartment groups the employee preferable works in.

Member Of​

createEmployee mutation