Reputation: 17
I'm new in Redhat Business Central and exploring. I have created the application and deployed it successfully. I have a problem when I send a POST to the server.
I'm getting an error "Error unmarshalling input". I have attached the screen shoot of my objects and rule
Upvotes: 0
Views: 3551
Reputation: 1
Try by Adding "lookup" : null,
in the starting of the request.
So now th request will look like
{
"lookup" : null,
"commands" : [
My Request was like this
{
"lookup" : null,
"commands" : [
{
"insert" :
{
"out-identifier":"Name_of_container",
"return-object":"true",
"object" :{
"class_name":
{
"obj1":"val1",
"obj2":"val2",
}
}
}
},
{
"fire-all-rules" : {}
} ]
}
Upvotes: 0