Index employee

Adds an employee or updates information about an employee

SecurityBearerAuth
Request
Request Body schema: application/json; charset=UTF-8
required
required
object (EmployeeInfoDefinition)

Describes employee info

version
integer <int64>

Version number for the employee object. If absent or 0 then no version checks are done

Responses
200

OK

400

Bad Request

401

Not Authorized

409

Conflict

post/indexemployee
Request samples
application/json; charset=UTF-8
{
  • "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
}