Base solution for your next web application
Open Closed

All GetAll methods called from API returns no records #8828


User avatar
0
rajamannar created

Hi,

If I call GetAll API method using swagger or potsman returns zero reocrds even though there are records in the relevant table. But works very well in UK.

Am I missing soemthing here? Any pointers will be much appreciated.


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @rajamannar,

    Is this your own method ? If so, you might be testing with different tenants in swagger and the UI.

  • User Avatar
    0
    rajamannar created

    Thanks I fixed it. It is weird that GetAll input object is having different default filter values when called from API and UI. I decided to have same default filter values by setting them in constructor.