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 :
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,985 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 Moderator 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

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 March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 182 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 123

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans