Purpose:
It sells a “sellable from cashier” bonus in the given DEVICE.
Minimum version for the target server required: v17.3.6.
Input parameters:
- CommandClass =_SELLBONUS
- Param1 = target CyberName.
- Param2 = Session Token.
- Param3 = PCorDeviceName [ + CHRW$(1) + Prepaid/Pospaid Flag].
- Param4 = BonusName.
Output:
[{“ResponseClass”: “ERROR”, “Param1”: “message”, … }]
[{“ResponseClass”: “OK”,”Param1″:”Action”}]
Action points out to the cashier what to do next.
Example of usage:
The above example sells a bonus named “TestBonus” for the PC01, and sells it as PosPaid.