Skip to main content

Retrieves the lock information of one or more tables.

POST 

/gateway/tables/batch/lock-info

This endpoint returns lock information for one or more tables. It accepts a list of table identifiers (1–50, duplicates ignored) and returns the lock status for each, together with related business context (table status, total, and SyncStamp). A table is considered locked when its ExclusiveTerminal field holds a value greater than zero, meaning a terminal currently holds exclusive access to the table. The response contains for each table:

  • IsLocked and LockedByTerminalId — lock state and owning terminal.
  • Status — current table status (NeverOpened, WithMovement, Closed, SubTotal, Activated).
  • Total — current amount on the table.
  • SyncStamp — timestamp of the last synchronization. When a requested table has never been selected in XD, the response includes IsLocked set to false and Status, Total, and SyncStamp set to null.

Request

Responses

OK