Purpose:
It allows to set, expand or add on top new time to a renting device.
Minimum version for the target server required: v17.3.5.
Input parameters:
- CommandClass =_ADDTIMETODEVICE
- Param1 = target CyberName.
- Param2 = Session Token.
- Param3 = PCorDeviceName.
- Param4 = AmmountOfMinutesToAdd + Chrw$(1) + Pre/Post Flag = 1 = Fijo pospago, = 0 = Fijo prepago.
Output:
[{“ResponseClass”: “ERROR”, “Param1”: “message”, … }]
[{“ResponseClass”: “OK”,”Param1″:”PCorDeviceName”,”Param2″:”New Ending Time Textually expressed”,”Param3″:”Action in spanish and cost textually expressed”}]
Example of usage:
The above example will add 30 minutes to the PC01.