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", "employees", "suppliers", "addresses", "currencies", "customerGroups", "emailAccounts", "giftCards", "pointsOfSale", "priceLists", "productGroups", "products", "services", "supplierGroups", "users", "userGroups", "warehouses", "events", "purchaseDocuments", "salesDocuments", "pricelistProducts", "pricelistServices", "pricelistDiscounts", "payments", "inventoryRegistrations", "inventoryTransfers", "inventoryWriteOffs"  String  yes  
addedFrom    Unix timestamp    
orderByDir  By default 'asc'      
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 retrive 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