Floors

Table Name: GXT_FLOORS_TBL

List

Request a list of floors.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=List&SubType=GXT_FLOORS_TBL
  • Response:

    Copy
    1=Floor 1&2=Floor 2

Detail

Request the details of a specific floor.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=Detail&SubType=GXT_FLOORS_TBL&RecId=<RecId>
  • Response:

    Copy
    FloorId=1&Name=Floor 1&FloorRelay=0

Update

Update a specific floor.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_FLOORS_TBL&FloorId=1&Name=Ground Floor
  • Response:

    Copy
    OK

Create

Create a floor. To create a floor, use the same parameters as update but leave the FloorId empty.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_FLOORS_TBL&FloorId=&Name=Floor 1&FloorRelay=0
  • Response:

    Copy
    OK

When using the API to directly add records, please ensure the number of records added does not exceed the license limit for this record type, as this will result in undefined behavior. The license limit can be determined using the LicenseLimit request (see System).

Delete

Delete a specific floor.

  • Request:

    Copy
    http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Delete&SubType=GXT_FLOORS_TBL&RecId=<RecId>
  • Response:

    Copy
    OK

Parameters

Parameter

Display Name

Default Value

Notes

FloorId

Database ID

1

The Detail, Control and Delete APIs use this value as the RecId.

Name

Name

Floor 1

 

FloorRelay

Floor Relay

0