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 SourceSpecs
time_off_create( Tesla.Env.client(), String.t(), String.t(), MergeHRISClient.Model.TimeOffEndpointRequest.t(), keyword() ) :: {:ok, MergeHRISClient.Model.TimeOffResponse.t()} | {:error, Tesla.Env.t()}
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
on success {:error, Tesla.Env.t} on failure