web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    RE: How to get data from a custom Entity

    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,084 Moderator on at
    RE: How to get data from a custom Entity

    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
    RE: How to get data from a custom Entity

    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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 271

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 91 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 76 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans