Skip to main content
Solved

Public API call - Can I require a select?

  • June 11, 2025
  • 3 replies
  • 65 views

Freddy
Forum|alt.badge.img+16
  • Thinkwise Local Partner Brasil
  • 554 replies

I'm looking at public API calls..   can I require a select or set it so that API call with select criteria returns no data?

Best answer by Dick van den Brink

Hi Freddy,

Yes, I think that could be an alternative - but it means that if you want to support things like we support out of the box like $select/$filter and other OData features you have to built it yourself when using something like that.

This topic has been closed for replies.

3 replies

Forum|alt.badge.img+3

Hi Freddy,

At the moment it is not possible. It is just like a normal table endpoint and when you don’t add a $select you will get all (authorized) columns or when you don’t add a $filter you will get all data.

Regards,

Dick van den Brink

 


Freddy
Forum|alt.badge.img+16
  • Author
  • Thinkwise Local Partner Brasil
  • 554 replies
  • June 12, 2025

Hi Freddy,

At the moment it is not possible. It is just like a normal table endpoint and when you don’t add a $select you will get all (authorized) columns or when you don’t add a $filter you will get all data.

Regards,

Dick van den Brink

 

So my alternative here could be a public API function that requires an ID?


Forum|alt.badge.img+3

Hi Freddy,

Yes, I think that could be an alternative - but it means that if you want to support things like we support out of the box like $select/$filter and other OData features you have to built it yourself when using something like that.