Floors
Table Name: GXT_FLOORS_TBL
List
Request a list of floors.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=List&SubType=GXT_FLOORS_TBL
-
Response:
Copy1=Floor 1&2=Floor 2
Detail
Request the details of a specific floor.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=Detail&SubType=GXT_FLOORS_TBL&RecId=<RecId>
-
Response:
CopyFloorId=1&Name=Floor 1&FloorRelay=0
Update
Update a specific floor.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_FLOORS_TBL&FloorId=1&Name=Ground Floor
-
Response:
CopyOK
Create
Create a floor. To create a floor, use the same parameters as update but leave the FloorId empty.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_FLOORS_TBL&FloorId=&Name=Floor 1&FloorRelay=0
-
Response:
CopyOK
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:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Delete&SubType=GXT_FLOORS_TBL&RecId=<RecId>
-
Response:
CopyOK
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 |
|