Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

getting company information (id) from the ui instead of api

(4) ShareShare
ReportReport
Posted on by 11
Bascially how  can i get comany id without having to do a programmatic query! 

Hello, I am able to retrieve company information using this endpoint as explained in this documentation https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/api/dynamics_company_get
 
 
From the article i can get the following response when querying it: 

```
{
"id": "3496bbf8-fcae-4e48-a4f8-cb17c27de0b3",
"systemVersion": "24012",
"name": "CRONUS USA, Inc.",
"displayName": "CRONUS USA, Inc.",
"businessProfileId": ""
}
```
but how do i get the id 3496bbf8-fcae-4e48-a4f8-cb17c27de0b3 from the business central interface (UI) instead of API. I have some users that do not have the permission to query that endpoint but they can still use business central, so if they can supply me with the company id i can do whatever i need to do then. 
 
Apologies i am unable to reply to the answers (i don't see a reply button), but i see thata user YUN ZHU did reply me, but i don't see the id in the table as he specified. See screenshot

  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 76,297 Super User 2024 Season 2 on at
    getting company information (id) from the ui instead of api
    You can see this from Page Inspection or by opening the table directly.
     
    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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Share Your Event with the Community

Jump start your event engagement! 📢

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,646 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans