Hello,
I copied the Ajax example from here:
With this code I'm getting all 'Baum' but I want only the 'Baum' with the id:
Espo.Ajax.getRequest('Baum', {id: baumId})
.then(response => {
// A parsed response.
console.log(response);
});
The call seams to be correct:
Could someone tell me what is wrong?
I copied the Ajax example from here:
With this code I'm getting all 'Baum' but I want only the 'Baum' with the id:
Espo.Ajax.getRequest('Baum', {id: baumId})
.then(response => {
// A parsed response.
console.log(response);
});
The call seams to be correct:
Could someone tell me what is wrong?
Comment