Outputs
Table Name: GXT_PGMS_TBL
List
Request a list of outputs.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=List&SubType=GXT_PGMS_TBL
-
Response:
Copy112=Controller Bell 0&114=Controller Output 1&115=Controller Output 2&116=Onboard Reader Port 1 LED&117=Onboard Reader Port 1 Beeper&118=Onboard Reader Port 2 LED&119=Onboard Reader Port 2 Beeper&120=Keypad 1 Output 1&121=Keypad 1 Red LED&122=Keypad 1 Green LED&123=Keypad 1 Beeper
Detail
Request the details of a specific output.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Request&Type=Detail&SubType=GXT_PGMS_TBL&RecId=<RecId>
- Response
-
Copy
PGMId=112&Name=Controller Bell 0&Schedule=2147483647&LogPGMEvents=true&AlwaysVerifySchedule=false&PresetPanelPowerUp=false&PanelPresetStateIsOn=false&InvertPGMOutput=false&PresetModulePowerUp=false&ModulePresetStateOn=false&ActivationTime=0&PresetModuleCommsFail=false&CommsFailPresetStateIsOn=false&Module=1&ModuleOutput=0&ModuleAddress=0&PGMRetrigger=false&Commands=
Update
Update a specific output.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_PGMS_TBL&PGMId=200&Name=Front Door Lock
-
Response:
CopyOK
Create
Create a output. To create a output, use the same parameters as update but leave the PGMId empty.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Submit&SubType=GXT_OUTPUTS_TBL&PGMId=&Name=Controller Bell 0&Schedule=2147483647&LogPGMEvents=true&AlwaysVerifySchedule=false&PresetPanelPowerUp=false&PanelPresetStateIsOn=false&InvertPGMOutput=false&PresetModulePowerUp=false&ModulePresetStateOn=false&ActivationTime=0&PresetModuleCommsFail=false&CommsFailPresetStateIsOn=false&Module=1&ModuleOutput=0&ModuleAddress=0&PGMRetrigger=false&Commands=
-
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 Output.
-
Request:
Copyhttp://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Delete&SubType=GXT_PGMS_TBL&RecId=<RecId>
-
Response:
CopyOK
Parameters
Parameter |
Display Name |
Default Value |
Notes |
||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PGMId |
Database ID |
112 |
The Detail, Control and Delete APIs use this value as the RecId. |
||||||||||||||||
Name |
Name |
Controller Bell 0 |
|
||||||||||||||||
Schedule |
Activation Schedule |
2147483647 |
Default schedule is Never. |
||||||||||||||||
LogPGMEvents |
Log Output Events |
true |
|
||||||||||||||||
AlwaysVerifySchedule |
Always Verify Schedule |
false |
|
||||||||||||||||
PresetPanelPowerUp |
Preset Controller Power Up |
false |
|
||||||||||||||||
PanelPresetStateIsOn |
Output Turns On When Controller Powers Up |
false |
|
||||||||||||||||
InvertPGMOutput |
Invert Output |
false |
|
||||||||||||||||
PresetModulePowerUp |
Preset Module Power Up |
false |
|
||||||||||||||||
ModulePresetStateOn |
Output Turns On When Module Powers Up |
false |
|
||||||||||||||||
ActivationTime |
Activation Time (seconds) |
0 |
|
||||||||||||||||
PresetModuleCommsFail |
Preset Module Offline |
false |
|
||||||||||||||||
CommsFailPresetStateIsOn |
Output Turns On When Module Offline |
false |
|
||||||||||||||||
Module |
Module Type |
1 |
The settings are:
|
||||||||||||||||
ModuleAddress |
Module Address |
0 |
|
||||||||||||||||
ModuleOutput |
Module Output |
0 |
|
||||||||||||||||
PGMRetrigger |
Activation Retrigger |
false |
|
||||||||||||||||
Commands |
Commands |
|
|