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 :
Finance | Project Operations, Human Resources, ...
Answered

How to put range of record in OData Data entity call through postman

(1) ShareShare
ReportReport
Posted on by 668
Hi Folks,
 
I m working with OData, where I m calling a data entity through postman. I m giving the range like below image but still all the records of DE are coming. Is there any specific logic to get specific records from the Odata.
 
So how can I put the range in the postman body to get specific no. of records? and Please let me know how many lines can the OData endpoint return in response ??
 
Thanks in  advance!!
 
 
I have the same question (0)
  • Layan Jwei Profile Picture
    8,118 Super User 2025 Season 2 on at
    Hi,
     
    When filtering data you need to use $filter in the url
    For example:
    Url/data/dataEntityName?$filter=Field1 eq 'value1'

    This means you want records from this data entity where Field1= value1
     
    Can you please show us your url? What data entity are you trying to call? And what is the filtering you are trying to achieve?
     
    Thanks,
    Layan Jweihan
  • D365FO Avatar Profile Picture
    668 on at
    Its a custom Data entity I m trying to call the URL as you told, but below error is coming. Could you please let me know what can be the issue?

    https://URL/data/PublicCollectionName?Cross-Company=true&$filter=ID eq 'abc'

  • Verified answer
    Layan Jwei Profile Picture
    8,118 Super User 2025 Season 2 on at
    Hi,
     
    It seems your ID is not a string so try and remove the single quotes and let me know
    https://URL/data/PublicCollectionName?Cross-Company=true&$filter=ID eq abc
  • Suggested answer
    Anthony Blake Profile Picture
    2,963 Super User 2025 Season 2 on at
  • D365FO Avatar Profile Picture
    668 on at
    Hi Layan Jwei ,
     
    Yes you are correct, it worked when I removed the single quotes.
     
    Could you please let me know how many lines can the OData endpoint return in response??
  • Suggested answer
    Deepak Agarwal Profile Picture
    8,602 on at
  • Layan Jwei Profile Picture
    8,118 Super User 2025 Season 2 on at
    Hi D365FO Avatar,
     
    I'm glad your issue is fixed. If you don't have any further questions then please don't forget to verify the answer that helped
  • D365FO Avatar Profile Picture
    668 on at
    Hi Layan Jwei ,
     
     
    Could you please let me know how many lines can the OData endpoint return in response??
  • Verified answer
    Layan Jwei Profile Picture
    8,118 Super User 2025 Season 2 on at
    I think it's 10K records.
    To avoid this limit you can use pagination by using $top and $skip
     
    But in general it's not good to use odata for large data
     
    If you have further questions, then maybe it's better to create a new question as this question is already answered. And again please don't forget to verify the answers that helped.
     
    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 422 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans