terminal.login

Terminal login management.

SUPPORTED METHODS:

GET

Parameters

Type

Description

token (required)

Valid token

terminal_key (required)

varchar

Terminal key

id (accepted)

integer

Employee id – required if there is no username and password

username (accepted)

varchar

Employee username

password (accepted)

varchar

Employee password

computer_id (accepted)

varchar

Computer id – required if there is no IP adress

ip (accepted)

varchar

IP 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"
}