Cameras
Table Name: GXT_CAMERAS_TBL
List
Request a list of cameras.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=List&SubType=GXT_CAMERAS_TBL
-
Response:
Copy2=Camera 1&3=Camera 2
Detail
Request the details of a specific camera.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=Detail&SubType=GXT_CAMERAS_TBL&RecId=<RecId>
-
Response:
CopyCameraId=2&Name=Camera 1&DoorId=0&RefreshRate=400&StaticURL=http://camera1.url.com/image.jpg&StreamingURL=http://camera1.url.com/image.mjpg
Update
Update a specific camera.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_CAMERAS_TBL&CameraId=2&Name=Front Door Camera
-
Response:
CopyOK
Create
Create a camera. To create a camera, use the same parameters as update but leave the CameraId empty.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_CAMERAS_TBL&CameraId=&Name=Camera 1&DoorId=0&RefreshRate=400&StaticURL=http://camera1.url.com/image.jpg&StreamingURL=http://camera1.url.com/image.mjpg
-
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 camera.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Delete&SubType=GXT_CAMERAS_TBL&RecId=<RecId>
-
Response:
CopyOK
Parameters
Parameter |
Display Name |
Default Value |
Description |
---|---|---|---|
CameraId |
Database ID |
2 |
The Detail, Control and Delete APIs use this value as the RecId. |
Name |
Name |
Camera 1 |
|
DoorId |
Door |
0 |
|
RefreshRate |
Refresh Rate |
400 |
|
StaticURL |
Static Image URL |
|
|
StreamingURL |
Streaming MJPG URL |
|