Hi,
I created a quite simple projection with an action ‘GetNextPartNo’ that has no parameters and returns a number. Model looks like
action GetNextPartNo Number {
initialcheck none;
}
It is implemented in plsvc file as
FUNCTION Get_Next_Part_No___ RETURN NUMBER
IS
BEGIN
RETURN Eng_Part_Master_API.Generate_Part_No();
END Get_Next_Part_No___;
I can deploy it to int-node but when I test it with postman I get
{
"error": {
"code": "ODP_DESERIALIZATION_ERROR",
"message": "Error while de-serializing contents."
}
}
But this would mean that my json document would not fit to the model. But I have no body in my message which could be wrong as the action has no parameters.
Any hints?