web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

How to get list of deleted vendors or jobs through Rest API

(0) ShareShare
ReportReport
Posted on by 5

I am following Business Central API for integration purpose. By using this document I was able  create, update, delete and fetch objects like vendors and project. Now I need a list of vendors/ projects that has been deleted. I couldn't find any filtering option in documentation. 

I tried to filter deleted vendors using last modified date time property, it won't give deleted objects but created and updated ones.

https://api.businesscentral.dynamics.com/v2.0/TENANT_ID/Production/api/v2.0/companies(COMPANY_ID)/vendors?$filter=lastModifiedDateTime gt 2021-08-11T00:45:58.00Z

  • Suggested answer
    JAngle Profile Picture
    159 on at

    this isn't data that is maintained. You can enable a feature called "Change Log" which would track such things. You could then publish a web service for the page or create an API page to retrieve the information based on filtering.

    Alternative would be to use Power Automate. Have it track the vendor table for deleted entries and pass the detail somewhere. I wrote a blog which handles a different overall topic but it shows how to cater for deleted records like the one's you're focussing on. Might be helpful: joshanglesea.wordpress.com/.../

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 740 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 570 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 291 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans