Control

Used for controlling doors, areas, inputs, outputs, data values, services, programmable functions, time, floors and resetting user antipassback status.

Type: Control

Copy
http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Control&SubType=<SubType>&RecId=<RecId>&Command=<Command>&Data1=<Data1>&Data2=<Data2>

SubTypes

  • GXT_DOORS_TBL

  • GXT_AREAS_TBL

  • GXT_PGMS_TBL

  • GXT_INPUTS_TBL

  • GXT_DATAVALUES_TBL

  • GXT_SERVICES_TBL

  • GXT_PROGRAMMABLEFUNCTIONS_TBL

  • RTC

  • GXT_FLOORS_TBL

  • RESET_ANTIPASSBACK

Request Parameters

Parameter

Example

Description

RecId

0

The Record ID of the record you wish to control

Command

See list of control commands below

The control command to use

Data1

See below

Additional Data 1

Data2

See below

Additional Data 2

Control Commands

ClosedDoors

ClosedAreas

ClosedOutputs

ClosedInputs

ClosedData Values

ClosedServices

ClosedProgrammable Functions

ClosedReal Time Clock

ClosedFloors

ClosedReset Antipassback

Success Response

Copy
OK

Errors

Copy
Command Failed (128) Invalid Command SubType.
Copy
Command Failed (1) Operator does not have sufficient access rights.
Copy
Command Failed (2) Command processed, but main app did not respond.
Copy
Command Failed (3) Invalid Type.
Copy
Command Failed (4) Invalid Record Id.
Copy
Command Failed (5) Invalid Command
Copy
Command Failed (6) Did not recognise response from main app.