COMMANDCLASS _REMRESERVATION

Purpose:

It allows to remove a reserve from a machine for a given date and time period under this account.

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

Output:

  • CommandClass = _REMRESERVATION
  • 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”

    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.

Output:

[{“ResponseClass”: “ERROR”, “Param1”: “message”, … }]
[{“ResponseClass”: “OK”}]

Example of usage:

https://wingamer.ar/ApiMasterControl/Comm.php?CommandClass=_REMRESERVATION&Param1=flulpycrea&Param2=SessionToken&Param3=PC01&Param4=2020%2D10%2D15%2022%3A30%3A00

The example will remove a reserve at 22:30, October 15th of 2020, from the PC01.