Calling this function is required before using the API.
This is the only function that doesn't need a token as parameter
@return string token
@remarks functional for frontend
Arguments
| username |
string, required |
| password |
string, required |
Logout current user
@return array|string
Arguments
| company_id |
numeric, required |
| user_id |
numeric, required |
Login for clients. This function requires company_id
The reason of this function is to allow login of clients which is different then login of an application to use the API
Arguments
| username |
string, required |
| password |
string, required |
| company_id |
integer, required, min: 1 |
Get information from a token
Arguments