MergeHRISClient.Api.TimeOff.time_off_create

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

time_off_create(connection, authorization, x_account_token, time_off_endpoint_request, opts \\ [])

View Source

Specs

Creates a TimeOff 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.
  • time_off_endpoint_request (TimeOffEndpointRequest):
  • opts (KeywordList): [optional] Optional parameters
    • :run_async (boolean()): Whether or not third-party updates should be run asynchronously.

      Returns

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