I have a create rest api i am trying to call in javascript.
I am calling it like this.
code
InsertStatus.execute({
parameters: {
data: {
Status: goingtostatus
}
}
});
/code
my database has a column called Status
goingtostatus = either "open" or "close"
when i try to call this i pull open debug tools on my browser and i see an error value.replace is not a function.
Am i calling this wrong or passing parameters wrong?
Thanks