Purpose:
It allows to place a reserve in a machine for a given date and time period under this account.
Minimum version for the target server required: v17.0.52.
Output:
- CommandClass = _SETRESERVATION
- Param1 = target CyberName.
- Param2 = Session Token.
- Param3 = PCNameID (machine name as figure in the sketch, see function DemandMap).
- Param4 = “yyyy-mm-dd hh:mm:ss” + chr$(1) + “period”
About Param4: Real Date & Time for the start of the reserve, in format yyyy-mm-dd hh:mm:ss, and is local time to the target server. While the period value is in time format hh:mm:ss, chr$(1) separator can be URLd as %01.
Output:
[{“ResponseClass”: “ERROR”, “Param1”: “message”, … }]
[{“ResponseClass”: “OK”}]
Example of usage:
The example will place a reserve at 22:30, October 15th of 2020, in the PC01 and the reserve period is for just one hour.