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

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    157 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,961 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,211 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,141

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans