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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Need to get all the fields data for an single entity in web api

(0) ShareShare
ReportReport
Posted on by 8

Hi all,

In web api I need to get data of all fields for an single entity

how can we do that ??

Please suggest.

I have the same question (0)
  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    To fetch all fields data use below API query

    GET [Organization URI]/api/data/v9.2/accounts

    You don't need to specify the select option to fetch all fields data.

    docs.microsoft.com/.../query-data-web-api

  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Super User 2025 Season 2 on at

    Hello,

    Please refer below API.

    1. If you need the fields and its properties then you can refer below API. In the below API replace account with your entity logical name for which you need information.

    GET [Organization URL]/api/data/v9.0/EntityDefinitions(LogicalName='account')?$select=LogicalName&$expand=Attributes($select=LogicalName)

    2. If you need entity data(All the records) then refer below API.

    GET [Organization URL]/api/data/v9.2/accounts

    3. If you need specific record information in specific entity then provide the GUID in 2nd API.

    GET [Organization URL]/api/data/v9.2/accounts(b4cea450-cb0c-ea11-a813-000d3a1b1223)

    4. if you need specific record information in specific entity(with limited fields) then provide the GUID in 3nd API as well as the logical name of the fields.

    GET [Organization URL]/api/data/v9.2/accounts(b4cea450-cb0c-ea11-a813-000d3a1b1223)?$select=websiteurl,name

    Thank you,

    Amit Katariya

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 83 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

#3
#ManoVerse Profile Picture

#ManoVerse 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans