Skip to main content
Business Central forum
Suggested answer

Modification tracking on entities via API

editSubscribe (2) ShareShare
ReportReport
Posted on by 22
Is there a way to receive information about the deleted entities like customers or contacts via API?
 
It looks like SystemLastModifiedOn field should provide info on the date of modification, but I haven't figured out how to add it to the API response.
But are there any other system markers to receive such info on the modified and deleted?
Attachments
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 60,219 Super User on at
    Modification tracking on entities via API
    Hi, you can enable the Change Log function and then detect modifications and deletions from Change Log Entries.
    Or, another simple method is to create a new table, such as "Modified and Deleted Data", and insert it into this table when Customers or Contacts are modified or deleted. Then publish this table in API or Web Service. Use this table to synchronize data.
     
    Hope this can give you some hints.
    Thanks.
    ZHU
  • Suggested answer
    gdrenteria Profile Picture
    gdrenteria 2,812 Super User on at

Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,176 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,727 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Featured topics

Product updates

Dynamics 365 release plans