The CHAPI service is responsible for all locking, unlocking, and refreshing of database records within Control. At times these locks can be held in the system even when there is not an active version of Control running that has the file locked. You can utilize the Chapiddler utility to release any locked records once all other possible actions have been attempted. Chapiddler simply serves as a tool to submit calls directly to the CHAPI service.
When using the Chapiddler, data can be modified and/or deleted if the wrong steps are taken. Use caution when doing this on a live database.
These steps should only be performed by a Cyrious Software Technician.
When using Chapiddler you will need to specify the database name on which CHAPI should attempt to communicate. Once you have this name, it should appended to all calls that are made in Chapiddler.
http://localhost:12556/chapi/database
200 OK
Content-Length: 212
Content-Type: application/json; charset=utf-8
[{“name”:“Store Data”,“application”:“Control”,“isactive”:true,“databasetype”:“SQL”,“path”:“SERVER\\Cyrious,1433”,
“databasename”:“StoreData”,“description”:“Control Store Data Group”,“hotfolderpath”:“”}]
Message:
Record is being edited by
select id from transheader where transactiontype = 1 and ordernumber = xxxxx
Ex: http://localhost:12556/chapi/lock(1000c10000)?databasename=Store%20Data
Message:
already logged in to at '', cannot add to logged-in user list.
http://localhost:12556/chapi/user?databasename=Store%20Data&username=
Contributor: TGilbert, SHendrix, Cyrious Software
Updated: 02/07/2014
Version: Control 5.xx