Conceptos básicos y procedimientos
Si desea establecer una opción Anti PassBack para sus puertas en BioStar 2, puede actualizar la información apropiada de su puerta utilizando la API de BioStar 2.
Hay 4 opciones para las funciones Anti PassBack en BioStar 2. Hay artículos para 3 opciones de las 4 opciones proporcionadas en BioStar 2. Por favor, consulte los siguientes artículos de acuerdo a sus necesidades:
- Configuración de APB (Salida) vía BioStar 2 API (este artículo)
- Configuración de APB (Reinicio de Dispositivo) a través de BioStar 2 API
- Configuración de APB (Desactivar Dispositivo) a través de BioStar 2 API
Métodos & Parámetros
- Antiretorno/Anti PassBack (Opción de Salida)
[PUT]: /api/doors/{door_id}
[Parámetros]
Nombre | Tipo | *M/O | Descripción | Valor |
Id | String | M | Door id |
|
Status | String | M | Door status |
|
… |
|
|
|
|
Trigger_actions.door_id | String | O | Trigger Action Door Id |
|
Trigger_actions.input_event_id.code | String | O | Event Code | “24832” |
Trigger_actions.input_event_id.name | String | O | Event Name | “APB_ALARM” |
Trigger_actions.output_device_id.id |
| O | Output device ID |
|
Trigger_actions.output_device_id.name |
|
| Output device name |
|
Trigger_actions.output_device_id.device_type_id |
|
| Output device type ID | integer example: 18 desc: Device Type ID BIOENTRY_PLUS : 1, BIOENTRY_W : 2, BIOLITE_NET : 3, XPASS : 4, XPASS_S2 : 5, ENTRY_MAX : 5, SECURE_IO_2 : 6, DOOR_MODULE_20 : 7, BIOSTATION_2 : 8, BIOSTATION_A2 : 9, FACESTATION_2 : 10, IO_DEVICE : 11, BIOSTATION_L2 : 12, BIOENTRY_W2 : 13, CORESTATION_40 : 14, OUTPUT_MODULE : 15, INPUT_MODULE : 16, BIOENTRY_P2 : 17, BIOLITE_N2 : 18, XPASS2 : 19, XPASS_S3 : 20, BIOENTRY_R2 : 21, XPASS_D2 : 22, DOOR_MODULE_21 : 23, XPASS_D2_KEYPAD : 24, FACELITE : 25, XPASS2_KEYPAD : 26, MAX = BS2_DEVICE_TYPE_XPASS2_KEYPAD, : 26, UNKNOWN : 255, |
Trigger_actions.output_signal_id.id | String | O | Output signal ID |
|
Trigger_actions.output_signal_id.name | String | O | Output signal name |
|
Trigger_actions.output_signal_id.delay | String | O | Output signal delay |
|
Trigger_actions.output_signal_id.count | String | O | Output signal count |
|
Trigger_actions.output_signal_id.on_duration | String | O | Output signal duration |
|
Trigger_actions.output_signal_id.off_duration | String | O | Output signal off duration |
|
Trigger_actions.output_relay | String | O | Output relay |
|
Trigger_actions.output_function_maek | String | O | Output function maek |
|
Trigger_actions.output_type | String | O | Output type |
|
… |
|
|
|
|
* M – Mandatorio, O – Opcional
[Cuerpo de llamada]
{ "Door": { "id": "3", "status": "0", "description": "Test Door", "entry_device_id": { "id": 547834353, "name": "FaceStation F2 547834353 (192.168.13.105)", "device_type_id": { "id": 30 } }, "open_duration": "3", "open_timeout": "10", "open_once": "false", "trigger_actions": [ { "door_id": "3", "input_event_id": { "code": "24832", "name": "APB_ALARM" }, "output_device_id": { "id": "547834353", "name": "FaceStation F2 547834353 (192.168.13.105)", "device_type_id": { "id": "30" } }, "output_signal_id": { "id": "1", "name": "Signal", "delay": "1", "count": "2", "on_duration": "3", "off_duration": "4" }, "output_relay": "0", "output_function_mask": "0", "output_type": "1" } ], "relay_output_id": { "device_id": { "id": 547834353 }, "relay_index": 0 }, "sensor_input_id": { "device_id": { "id": 547834353, "name": "FaceStation F2 547834353 (192.168.13.105)" }, "input_index": 1, "type": "0", "apb_use_door_sensor": "0", "supervised": "" }, "exit_button_input_id": { "device_id": { "id": 547834353, "name": "FaceStation F2 547834353 (192.168.13.105)" }, "input_index": 0, "type": "0", "supervised": "" }, "unconditional_lock": "false", "antitailsensor_input_id": { "name": "None", "device_id": {}, "type": "0" }, "dual_authentication": { "device": "0", "approval_type": "0", "timeout": 15 }, "exit_device_id": {} } } |
[Respuesta]
{ "Response": { "code": "0", "link": "https://support.supremainc.com/en/support/home", "message": "Success" } } |