getUserOperationsLog

Retrieve a log of all items that have been deleted from Erply (since a certain point of time). This is important for synchronizing data to a local database: getUserOperations lists items that you can delete from local database.

For more information, see the data synchronization guide: Synchronizing Data with “changedSince”

Input parameters

Parameter name Description Possible value Required
tableName One of the following: "customers", "suppliers", "addresses", "currencies", "customerGroups", "emailAccounts", "giftCards", "pointsOfSale", "priceLists", "productGroups", "products", "services", "supplierGroups", "users", "userGroups", "warehouses", "warehouseLocations", "events", "purchaseDocuments", "salesDocuments", "campaigns", "coupons", "pricelistProducts", "pricelistServices", "pricelistDiscounts", "payments", "inventoryRegistrations", "inventoryTransfers", "inventoryWriteOffs", "stocktakings". String yes
addedFrom Unix timestamp
orderByDir Sort direction: 'asc' (ascending order) or 'desc' (descending order). By default, items are sorted in ascending order. String
recordsOnPage Number of records API should return. By default 20, at most 100. Integer
pageNo API returns at most recordsOnPage items at a time. To retrieve the next recordsOnPage items, send a new request with pageNo incremented by one. By default, API returns "page 1". Integer

Response

Field name Type Description
logID Integer
userName String
timestamp Unix timestamp
tableName String
itemID Integer ID of the deleted item