terminal.login

Terminal login management.

SUPPORTED METHODS:

GET

ParametersTypeDescription
token (required)Valid token
terminal_key (required)varcharTerminal key
id (accepted)integerEmployee id – required if there is no username and password
username (accepted)varcharEmployee username
password (accepted)varcharEmployee password
computer_id (accepted)varcharComputer id – required if there is no IP adress
ip (accepted)varcharIP adress – requred if there is no computer_id

DOCUMENTATION

GET
Employee login trough terminal.
All users can fetch this module.

--

Example Request:

{
   "module":"terminal.login",
   "method":"GET",
   "request":{
    "terminal_key":"xxxxxxx",
    "username": "amyamy",
    "password": "154785",
    "ip":"xxx.xxx.xx.x"
    }
}

Example Response:

{
   "status":1,
   "data":"250834", //Response is employee id
   "token":"xxxxxxx"
}