Adds an employee or updates information about an employee
OK
Bad Request
Not Authorized
Conflict
{- "employee": {
- "email": "string",
- "firstName": "string",
- "lastName": "string",
- "preferredName": "string",
- "id": "string",
- "phoneNumber": "string",
- "location": "string",
- "structuredLocation": {
- "deskLocation": "string",
- "timezone": "string",
- "address": "string",
- "city": "string",
- "state": "string",
- "region": "string",
- "zipCode": "string",
- "country": "string",
- "countryCode": "string"
}, - "title": "string",
- "businessUnit": "string",
- "department": "string",
- "datasourceProfiles": [
- {
- "datasource": "github",
- "handle": "string",
- "url": "string",
- "nativeAppUrl": "string",
- "isUserGenerated": true
}
], - "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "bio": "string",
- "pronoun": "string",
- "alsoKnownAs": [
- "string"
], - "profileUrl": "string",
- "socialNetworks": [
- {
- "name": "string",
- "profileName": "string",
- "profileUrl": "string"
}
], - "managerEmail": "string",
- "managerId": "string",
- "type": "FULL_TIME",
- "relationships": [
- {
- "name": "string",
- "email": "string"
}
], - "status": "CURRENT",
- "additionalFields": [
- {
- "key": "string",
- "value": [
- { }
]
}
]
}, - "version": 0
}