LexOffice.create_contact
You're seeing just the function
create_contact
, go back to LexOffice module for more information.
Specs
create_contact(LexOffice.Model.CreateContact.t(), Tesla.Env.client() | nil) :: {:ok, LexOffice.Model.ContactResponse.t()} | {:error, Tesla.Env.t()}
Create a new contact.
Parameters
- contact (LexOffice.Model.CreateContact): Contact data
- connection (LexOffice.Connection): [optional] Connection to server
Returns
{:ok, %LexOffice.Model.ContactResponse{}}
on success{:error, info}
on failure