Purpose:
It returns a list with all account usernames usable in the target server, it is intended for filling up the auto-completion list/box for help a cashier when he is writing the account name in the web.
To use this function is required to have any staff privilege.
Minimum version for the target server required: v17.3.3.
Input parameters:
- CommandClass = GETACCOUNTSLIST
- Param1 = target CyberName.
- Param2 = Session Token.
- Param3 = JustTypedIn (search sub-string).
Outputs:
[{“ResponseClass”: “ERROR”, “Param1”: “message”, … }]
[{“ResponseClass”: “ACCLST”, “Param1”: “name,name…” … and as many arrays like this one as needed …
{“ResponseClass”: “OK”}]
Example of usage: