Purpose:
It allows to know the renting periods and costs availables for the given PC or Device Name. If, the device is already in use, it will return the adding time periods and costs taking in account the current situation, if rented with an account or rented on the command of the cashier.
Minimum version for the target server required: v17.3.4.
Input parameters:
- CommandClass =_GETSUGGESTEDFEELIST
- Param1 = target CyberName.
- Param2 = Session Token.
- Param3 = PCorDeviceName.
Output:
[{“ResponseClass”: “ERROR”, “Param1”: “message”, … }]
[{“ResponseClass”: “OK”,”Param1″:”PCorDeviceName”,”Param2″:”Period,cost,minutes,period,cost,minutes,period,cost,minutes …”,”Param3″:”making action textually expressed in spanish”,”Param4″:”making action numerically expressed”}]
Where “making action numerically expressed”:
0 = “To expand the actual time”.
1 = “To add time, on top of the actual time”.
2 = “To open the PC with new time”.
Where “Period” is in format “hh:mm:ss”, it is for showing as part as the action.
Where “minutes” is the real value in minutes to add, and what the others functions needs as input.
Example of usage:
The above example will ask for the rent costs for the PC01.