CommandClass _GETBONUSLIST

Purpose:

It retrieve the “sellable from cashier” bonus list available for a given DEVICE.

Minimum version for the target server required: v17.3.6.

Input parameters:

  • CommandClass =_GETBONUSLIST
  • Param1 = target CyberName.
  • Param2 = Session Token.
  • Param3 = PCorDeviceName.

Output:

[{“ResponseClass”: “ERROR”, “Param1”: “message”, … }]
[{“ResponseClass”: “OK”,”Param1″:”PCorDeviceName”,”Param2″:”List”}]

Where List = BonusName + CHRW$(1) + BonusCostTextually + CHRW$(1) + …

BonusName is the parameter required in selling bonuses function.

Example of usage:

https://wingamer.ar/ApiMasterControl/Comm.php?CommandClass=_GETBONUSLIST&Param1=flulpycrea&Param2=SessionToken&Param3=PC01

The above example ask the bonus list for the PC01.