curl --location -g --request PUT 'https://{{tenantname}}.onchannelcrm.app/api/Employees/' \
--header 'CCRMAuthorize: <api-key>' \
--header 'Content-Type: application/json;odata.metadata=minimal;odata.streaming=true' \
--data-raw '{
"id": "",
"firstNames": "",
"lastNames": "",
"fullName": "",
"jobTitle": "",
"mail1": "",
"mail2": "",
"hasBudget": true,
"phoneMobile": "",
"phoneDirect": "",
"phoneHome": "",
"normalizedUserName": "",
"businessUnit": "",
"isUser": true,
"isExternal": true,
"isVisible": true,
"isTeam": true,
"manager": "",
"employeeRole": 0,
"erpEmployee": "",
"employeeRoleNavigation": {
"id": 0,
"roleName": "",
"employees": {},
"kpiRules": {}
},
"businessUnitNavigation": {
"id": "",
"unitName": "",
"street": "",
"zip": "",
"city": "",
"state": "",
"country": "",
"phone": "",
"vat": "",
"ean": "",
"companyName": "",
"countryNavigation": {
"id": "",
"countryName": "",
"tooltip": "",
"english_name": "",
"zip_prefix": "",
"abbrev2": "",
"currency": "",
"domainName": "",
"defaultLcid": 0,
"dialInPrefix": "",
"dialOutPrefix": "",
"interAreaPrefix": "",
"customPhoneDesc": "",
"phonePartOfNA": 0,
"isoNumber": 0,
"businessUnits": {},
"companies": {},
"companyAccounts": {},
"companyFinanceCountryNavigations": {},
"contacts": {},
"favoriteReports": {},
"projects": {}
},
"employees": {}
},
"managerNavigation": {},
"sidebar": {
"employee": "",
"menuList": "",
"employeeNavigation": {}
},
"settingsEmployees": {
"employee": "",
"exchangeUse": true,
"exchangeUser": "",
"exchangePW": "",
"exchangeEnterPW": "",
"exchangeUrl": "",
"exchangeAutoSyncMails": true,
"exchangeSaveAttachments": true,
"exchangeSaveMailAsDocument": true,
"exchangeAutoSyncCalendar": true,
"exchangeSyncAppointmentBody": true,
"exchangeReset": true,
"exchangeAutoSyncContacts": true,
"exchangeDontCompleteOutlookActivities": true,
"exchangeSyncMyParticipants": true,
"baseTimeZone": "",
"baseLanguage": "",
"exchangeAutoSyncUsers": true,
"exchangeSyncSharedFolders": "",
"onboardingCompleted": true,
"exchangeOneWayAppointmentSync": true,
"baseTimeZoneNavigation": {
"id": "",
"name": "",
"settingsEmployees": {}
},
"employeeNavigation": {}
},
"actTaskAssignedToNavigations": {},
"actTaskOwnerNavigations": {},
"activities": {},
"activityParties": {},
"campaignTargets": {},
"campaigns": {},
"companies": {},
"companyTeams": {},
"contactTeams": {},
"contacts": {},
"employeeTeamEmployeeNavigations": {},
"employeeTeamTeamNavigations": {},
"inverseManagerNavigation": {},
"opportunities": {},
"projectParts": {},
"projectTeams": {},
"projects": {},
"quotes": {},
"salesBudgets": {},
"employees": {},
"teams": {},
"leads": {},
"kpiResults": {},
"contractOwnerNavigations": {},
"contractSignedByUserNavigations": {},
"favoriteReports": {},
"favoriteReportsNavigation": {}
}'