Hello everyone,
I wish to filter my list of results with the function app.api.call().
I know how to filter by Id ( app.api.buildURL('myCustomModule/Id') ) but if I want to filter by another field (custom field psc).
Here is my code of my last attempt (after searching on web) which is not working :
var urlc = app.api.buildURL('myCustomModule'), post_data = {psc: '3'};
app.api.call('GET', urlc, post_data, {
success: function (data) {
// my logic
}
});
Thanks for your answer !
Best regards.