Delete
Used to delete records.
Type: Delete
Copy
http://192.168.1.2/PRT_CTRL_DIN_ISAPI.dll?Command&Type=Delete&SubType=<SubType>
SubType
The SubType for Delete is the record's table name (see Table Names).
Request Parameters
Parameter |
Example |
Description |
---|---|---|
RecId |
1 |
The Record ID of the record to delete. |
Success Response
Copy
OK
Errors
Copy
Command Failed (1) Could not load database file.
Corrective action: For application software build 359 or earlier this indicates an internal fault, contact ICT Support. Later firmware will not return this error.
Copy
Command Failed (2) Record not found.
Corrective action: Check that the record Id in the request matches an Id of a record that is known to be in the database.
Copy
Command Failed (3) Record processed, but unable to save database.
Corrective action: This indicates an internal fault. Contact ICT Support.
Copy
Command Failed (4) Record saved, but main app did not respond.
Corrective action: This indicates an internal fault. Contact ICT Support.
Copy
Command Failed (5) System records cannot be deleted.
Corrective action: None, some records are required by the system and cannot be deleted.