Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Community,
I want to add filters to a user in Nprinting via Rest API(In Qliksense)
Below is the format which i am using. On executing i am facing this error.
"
HTTP protocol error 400 (Bad Request):
{"error":{"code":400,"message":"Malformed parameters in body"}}
"
------------------------------------------------------------------------------------------------------------
vFilterbody:
{
"guid": "S(vFilterid)"
}
replace(vBodyString,'"',chr(34) & chr(34)) and postman.
SQL SELECT
"__KEY_data"
FROM JSON (wrap off) "data" PK "__KEY_data"
WITH CONNECTION( URL "XXXXXXXXXXXX", $(vFilterbody)
HTTPHEADER "Origin" "XXXXXXXXXXXXXX",
HTTPHEADER "Content-Type" "application/json",
HTTPHEADER "X-HTTP-Method-Override" "PUT",
HTTPHEADER "cookie" "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX; ").
I went through other solution provided from community and tried too, still facing same issue.
Thanks,
Abhilash
vFilterbody:
{
"guid": "S(vFilterid)"
}
replace($(vFilterbody),'"',chr(34) & chr(34))
SQL SELECT
"__KEY_data"
FROM JSON (wrap off) "data" PK "__KEY_data"
WITH CONNECTION( URL "XXXXXXXXXXXX", $(vFilterbody)
HTTPHEADER "Origin" "XXXXXXXXXXXXXX",
HTTPHEADER "Content-Type" "application/json",
HTTPHEADER "X-HTTP-Method-Override" "PUT",
HTTPHEADER "cookie" "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX; ").