Bulk index employeesDeprecated

Bulk upload details of all the employees. This deletes all employees uploaded in the prior batch. SOON TO BE DEPRECATED in favor of /bulkindexemployees.

SecurityBearerAuth
Request
Request Body schema: application/json; charset=UTF-8
required
Array of objects (IndexEmployeeRequest)

List of employee info and version.

Responses
200

OK

400

Bad Request

401

Not Authorized

409

Conflict

post/indexemployeelist
Request samples
application/json; charset=UTF-8
{
  • "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",
        • "photoUrl": "http://example.com",
        • "businessUnit": "string",
        • "department": "string",
        • "datasourceProfiles": [
          • {
            • "datasource": "github",
            • "handle": "string",
            • "url": "string",
            • "nativeAppUrl": "string",
            • "isUserGenerated": true
            }
          ],
        • "teams": [],
        • "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
      }
    ]
}