v1

latestSwagger 2.0LGPL-2.12026-07-14216.4 KB
login

Login ๐Ÿ”“

Request the API token for a couple username / password. WARNING: You should NEVER use this API, like you should never use the similar API that uses the POST method. This will expose your password. To use the APIs, you should instead set an API token to the user you want to allow to use API (This API token called DOLAPIKEY can be found/set on the user page) and use this token as credential for any API call. From the API explorer, you can enter directly the "DOLAPIKEY" into the field at the top right of the page to get access to any allowed APIs.

get/login

Query parameters

loginstring required

User login

passwordstring required

User password

entitystring

Entity (when multicompany module is used). '' means 1=first company.

resetinteger

Reset token (0=get current token, 1=ask a new token and canceled old token. This means access using current existing API token of user will fails: new token will be required for new access)

Response

Success

string[] required
All 2 operations