Billcom v0.1.1 Billcom.Employee View Source
Link to this section Summary
Functions
Billcom.Employee.create/2
for bill.com api
Billcom.Employee.delete/2
for bill.com api
Billcom.Employee.list/2
for bill.com api
Billcom.Employee.read/2
for bill.com api
Billcom.Employee.undelete/2
for bill.com api
Billcom.Employee.update/2
for bill.com api
Link to this section Functions
Specs
Billcom.Employee.create/2
for bill.com api
Parameters:
- conn: a connection strucure (see
Billcom.login!/0
) - data: data object to send for the object
return:
success:
{:ok, data}
Returned data
from create for Employee
failure:
{:error, val}
Where val
hold information about failure reason.
Specs
Billcom.Employee.delete/2
for bill.com api
Parameters:
- conn: a connection strucure (see
Billcom.login!/0
) - data: data object to send for the object
return:
success:
{:ok, data}
Returned data
from delete for Employee
failure:
{:error, val}
Where val
hold information about failure reason.
Specs
Billcom.Employee.list/2
for bill.com api
Parameters:
- conn: a connection strucure (see
Billcom.login!/0
) - data: data object to send for the object
return:
success:
{:ok, data}
Where data
is a collection of Employee object list
failure:
{:error, val}
Where val
hold information about failure reason.
Specs
Billcom.Employee.read/2
for bill.com api
Parameters:
- conn: a connection strucure (see
Billcom.login!/0
) - data: data object to send for the object
return:
success:
{:ok, data}
Returned data
from read for Employee
failure:
{:error, val}
Where val
hold information about failure reason.
Specs
Billcom.Employee.undelete/2
for bill.com api
Parameters:
- conn: a connection strucure (see
Billcom.login!/0
) - data: data object to send for the object
return:
success:
{:ok, data}
Returned data
from undelete for Employee
failure:
{:error, val}
Where val
hold information about failure reason.
Specs
Billcom.Employee.update/2
for bill.com api
Parameters:
- conn: a connection strucure (see
Billcom.login!/0
) - data: data object to send for the object
return:
success:
{:ok, data}
Returned data
from update for Employee
failure:
{:error, val}
Where val
hold information about failure reason.