简体   繁体   中英

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

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

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" : {}
    } ]
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM