CommandClass _GETRESERVATIONSONPC

Purpose:

It returns all the reservations done for the given PC/Console on the target server.

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

Input parameters:

  • CommandClass = _GETRESERVATIONSONPC
  • Param1 = target CyberName.
  • Param2 = Session Token.
  • Param3 = PCNameID.

Outputs:

[{“ResponseClass”: “ERROR”, “Param1”: “message”, … }]
[{“ResponseClass”: “RSV”, “Param1”: “PCNameID”, “Param2”: “Starting date and time”, “Param3”: “Ending date and time”, “Param4”: “ReservedByAccountName”} … as many arrays like this one as needed …
{“ResponseClass”: “OK”}]

Example of usage:

https://wingamer.ar/ApiMasterControl/Comm.php?CommandClass=_GETRESERVATIONSONPC&Param1=flulpycrea&Param2=SessionToken&Param3=PC01