User
#
Create a user.Method | Type | Description |
---|---|---|
firstName | String | Customer's first name. |
lastName | String | Customer's last name. |
createdFor | String | Store id. |
ownedBy | String | Account id. |
pin | String | IPAD pin code. |
firstScreen | String | First screen which will be displayed when the user logs into IPAD. |
clockINWhenPunchIn | Boolean | Can treat user punch in time and punch out as clock in and out. |
roles | String | Employee roles. |
language | String | Employee language id. |
You can find role id at roles tab.
You can find language id at others tab.
#
Read all users by store.URL:https://api.lingaros.com/v1/lingapos/store/{store-id}/users
#
Read a user by ID.#
Update a user.Method | Type | Description |
---|---|---|
firstName | String | Customer first name. |
lastName | String | Customer last name. |
createdFor | String | Store id. |
ownedBy | String | Account id of the store which user belongs to. |
pin | String | User login pin. If user logged in via IPAD, then instead of password, pin number can be used. |
firstScreen | String | First screen which will be displayed when the user logs into IPAD. |
clockINWhenPunchIn | Bool | Can treat user punch in time and punch out as clock in and out. |
roles | String | Employee roles. |
language | bson.ObjectID | Employee language id. |
#
Delete(Inactivate) a user.URL:https://api.lingaros.com/v1/lingapos/user/{user-id}/inactivate