Bulk upload details of all the employees. This deletes all employees uploaded in the prior batch. SOON TO BE DEPRECATED in favor of /bulkindexemployees.
Array of objects (IndexEmployeeRequest) List of employee info and version. |
OK
Bad Request
Not Authorized
Conflict
{- "employees": [
- {
- "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
}
]
}