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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

How to get data from a custom Entity

(0) ShareShare
ReportReport
Posted on by 60

I want to make a curl request to my ms dynamics instance and get the data out of a custom object. I am able to get the data out of accounts and knowledge articles. But, I am having trouble getting data out of my custom object. 

My custom entity name is "new_customobject" and I'm using the API endpoint "https://{organization_name}.crm8.dynamics.com/api/data/v9.0/new_customobject" to get the data. But, I am getting the error:

{"error":{"code":"0x8006088a","message":"Resource not found for the segment 'new_customobject'."}}


I used the same endpoint for accounts, but I got the data which is "https://{organization_name}.crm8.dynamics.com/api/data/v9.0/accounts?$select=name&$top=4".

This endpoint is working perfectly for accounts and knowledge articles. Do I have to change the API endpoint in the case of custom entities in order to retrieve data out of them?
I have the same question (0)
  • Verified answer
    C. Jensen Profile Picture
    384 on at

    Hi

    You need to use the objects collection name, when making the request.

    It will probably be "https://{organization_name}.crm8.dynamics.com/api/data/v9.0/new_customobjects"

    Best regards

    Christian

  • Verified answer
    Guido Preite Profile Picture
    54,086 Moderator on at

    you can use my tool Dataverse REST Builder to generate the requests.

    As you are using curl, you can look at the generated url in one of the syntaxes, or you can export to Postman and see inside Postman the url and the headers/body.

    hope it helps

  • restassured Profile Picture
    60 on at

    Hi, Christian! Thanks for the reply! Yes, it is working as expected!

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 > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 80

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans