You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In get api response I want selected property.
How I should pass fields filter and where parameter in get api call.
I am passing { "fields": {"id": true, "first_name": true, "last_name": true,"status":true} }.
Getting following error -
Unhandled error in GET /user?filter=%7B%22fields%22%3A%20%7B%22id%22%3A%20true%7D%7D: 500 AssertionError [ERR_ASSERTION]: The query argument must be an object
The text was updated successfully, but these errors were encountered:
Does loopback-next support api response filer by where option? I did not find any example regrading this in documentation.
dhmlau
changed the title
How to pass filer fields and where parameter for get api
How to pass filter fields and where parameter for get api
Apr 20, 2018
In get api response I want selected property.
How I should pass fields filter and where parameter in get api call.
I am passing { "fields": {"id": true, "first_name": true, "last_name": true,"status":true} }.
Getting following error -
Unhandled error in GET /user?filter=%7B%22fields%22%3A%20%7B%22id%22%3A%20true%7D%7D: 500 AssertionError [ERR_ASSERTION]: The query argument must be an object
The text was updated successfully, but these errors were encountered: