mrobi
mrobi

Reputation: 17

Error calling container "xxxxxx": Error unmarshalling input on Redhat Business Central

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

enter image description here

enter image description here

enter image description here

enter image description here

Upvotes: 0

Views: 3551

Answers (1)

Vaibhav
Vaibhav

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

Related Questions