Computer Room PC Status 2019-07-29T13:42:15+08:00

API – Computer Room PC Status

Introduction

The “computer room PC status” object includes computer room PC locations and its availability status in University of Macau. The “PC” JSON Array of objects described the PC name, its locations and availability. The earliest data traces back to February 2018. Historical data will be last for 12 months, while real-time data is refreshed at least every 5 minutes.

Figure 1: Relationships between computer PC status and PC

 

API Reference

Computer Room PC Status Data Dictionary

FieldTypeIndexDescriptionExample
buildingCodestringYesBuilding code of the building where the computer room locates"buildingCode": "E6"
lastUpdatedateYesDate time which the record is collected"lastUpdate": "2018-03-23T15:17:00+08:00"
roomNostringYesRoom Number of the room where the PC locates"roomNo": "3092"

PC Data Dictionary

FieldTypeIndexDescriptionExample
namestringNoPC name

For example “E0630920507

  • E06 represents the building code
  • 3092 represents the room number
  • 05 represents the x-coordination
  • 07 represents the y-coordination
"name": "E063092-05-07"
xintegerNox-coordination of the PC location:

  • The projector screen of the computer room is at your back
  • “x”: “1” means the first row the PC, “x”: “2” means the second row, and so on
  • “x”: “0” stands for the teacher’s PC
"x": 5
yintegerNoy-coordination of the PC location:

  • The projector screen of the computer room is at your back
  • The number counts from right to the left
  • “y”: “1” means the first PC from the right-hand side and so on
"y": 7
availablebooleanNoAvailability of the PC:

  • “available”: true means PC available
  • “available”: false means PC occupied or PC not available

"available": true