Employee

Create Employee

Changed on

Creates an Employee object with the given values.

post/api/hris/v1/employees

Request

  • Base URL
    https://api.bindbee.dev (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer and API key in header X-Connector-Token

Headers

x-idempotency-keystring nullable

Key to guarantee idempotent write execution.

Request body

OR
OR
OR
OR
OR

Example request

{
  "first_name": "Kunal",
  "last_name": "Tyagi",
  "start_date": "2020-01-01",
  "pay_group": "018af1fe-1250-77c5-9fcd-4bca1e4568f4",
  "additional_attributes": {
    "notes": "The leave is approved by manager"
  }
}

Response

Successful Response

unknown required

Changes

    • breaking

      removed subschema #1 subschema #2 from the request body anyOf list

    • info

      added to the request body anyOf list

    • info

      the endpoint scheme security HTTPBearer AND ConnectorToken was added to the API

    • info

      the endpoint scheme security ConnectorToken was removed from the API

    • info

      the endpoint scheme security HTTPBearer was removed from the API

    • info

      added optional request body

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status