Hii
We are designing job for dynamic Rest api call through body field of post method of http Request activity
Getting error at variable declaration (Validation Error Compiler error(s) encountered processing expression Operator ‘+’ is not defined for types ‘String’ and ‘Newtonsoft.Json.Linq.JObject’. Main.xam)
Kindly hepl me to resolve issue
Hi @ashwini.mali Good Morning, please show that part where you are facing issue.
@ashwini.mali show me Value expression.
“branchCode=”+branchCode+“&billType=”+billType+“&billDate=”+billDate +“&custCode=”+custCode+“&billNo=”+billNo+“&totalBillAmount=”+totalBillAmount+“&productSearchKey=”+ProductSearchKey
@ashwini.mali plus sign is valid for string only. please check your all variables type is string. if not please convert in to string.
all variable type is jobject
how can convert into string?
You can give .tostring at the end of each jobject to convert it to string
@Sam_Abraham
its a json file so its depend on your values how you are extracting. show me