Skip to main content

Get Door Status

The GET_DOOR_STATUS command allows the fleet manager to check whether the lift doors are currently open or closed. This command is helpful for monitoring the lift’s operational state.


WebSocket API

Command

  • Command: GET_DOOR_STATUS

Parameters

| Parameter | Type | Required | Description |

ParameterTypeRequiredDescription
commandStringYesGET_DOOR_STATUS
requestIdStringYesUnique identifier for the request
parameters.liftIdStringYesThe ID of the lift to query

Response

FieldTypeDescription
requestIdStringUnique identifier for the request
statusStringStatus of the request only (success or error).
codeStringResponse code (e.g., GET_DOOR_STATUS_OK)
messageStringDescriptive message about the response
info.doorStatusString3 possible states open/ closed

Example Request

{
"requestId": "a1b2c3e0",
"command": "GET_DOOR_STATUS",
"parameters": {
"liftId": "lift1"
}
}

Expected Response

  • On Success:
{
"requestId": "a1b2c3e0",
"status": "success",
"code": "GET_DOOR_STATUS_OK",
"message": "Door status retrieved successfully",
"info": {
"doorStatus": "closed"
}
}