MergeHRISClient.Api.Employments.employments_create
You're seeing just the function
employments_create
, go back to MergeHRISClient.Api.Employments module for more information.
Link to this function
employments_create(connection, authorization, x_account_token, opts \\ [])
View SourceSpecs
employments_create(Tesla.Env.client(), String.t(), String.t(), keyword()) :: {:ok, MergeHRISClient.Model.Employment.t()} | {:error, Tesla.Env.t()}
Creates an Employment
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
on success {:error, Tesla.Env.t} on failure