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", "storeRegions", "storeRegionPriceLists", "storeRegionAndCustomerGroupPriceLists". 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