Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

API companies not returning all companies

(0) ShareShare
ReportReport
Posted on by 69
Hi everyone,

I'm having issues when calling the base API companies on SAAS in my Sandbox,
The API only returns one company when I have 4 set up on this sandbox, as seen here in my environment /Recette/ :

And this is what I'm getting in Postman :

I'm 100% sure I'm targetting the correct environment, because when targetting my /Dev/ environment I get the correct list of companies

I've never had this problem before, and the issue concerns all of the Apis including custom, as when I'm trying to call an API on a specific company, it acts as the API weren't activated for this company.

Anybody has had this issue before ?
  • Valentine Motin Profile Picture
    Valentine Motin 69 on at
    API companies not returning all companies
    Hi @Yun Zhu, thanks for your answer but unfortunately it doesn't work, 
    I can get my Cronus company with its id but not the others. I can get any company in my Dev environment.
    I can navigate between my companies without any issues, I work with these companies every .
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 74,115 Super User 2024 Season 2 on at
    API companies not returning all companies
    This is a bit strange. If you specify the ids of the following companies, can you get them? Also, can you switch to these companies in the environment? It seems like there are some weird issues about the company in the upgrade case from nav lately.
     
    Hope this helps.
    Thanks.
    ZHU
     

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans