MergeHRISClient.Api.Employees.employees_create

You're seeing just the function employees_create, go back to MergeHRISClient.Api.Employees module for more information.
Link to this function

employees_create(connection, authorization, x_account_token, opts \\ [])

View Source

Specs

employees_create(Tesla.Env.client(), String.t(), String.t(), keyword()) ::
  {:ok, MergeHRISClient.Model.Employee.t()} | {:error, Tesla.Env.t()}

Creates an Employee object with the given values.

Parameters

  • connection (MergeHRISClient.Connection): Connection to server
  • authorization (String.t): Should include 'Bearer ' followed by your production API Key.
  • x_account_token (String.t): Token identifying the end user.
  • opts (KeywordList): [optional] Optional parameters
    • :run_async (boolean()): Whether or not third-party updates should be run asynchronously.
    • :body (EmployeeRequest):

      Returns

on success {:error, Tesla.Env.t} on failure