Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

POST cREST get entire body

Hi, 

I have a Route component with a JOB.

My route component accepts POST Request. 

My POST Request has a JSON Body with multiple elements.

 

How Can I get by body ? 

 

When I print my body there is only first element: "P_USER_LANGUAGE" : "US"

I don't need root element in my JSON.

But I Need the entire body:

 


{
"P_USER_LANGUAGE" : "US",
"P_SHIP_TO_ACCOUNT" : "14020560",
"P_SERIALNUMBER" : "81502",
"P_OPERATING_UNIT" : "794",

}

 

Please help me,

Thanks

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Can you show your route please? Also, do you have ....

String

.....written in the Bean class field of the REST API Mapping?

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Can you show your route please? Also, do you have ....

String

.....written in the Bean class field of the REST API Mapping?

Anonymous
Not applicable
Author

Thanks, finally I discovered that the payload need to be String in Input, so later I can hander it.

Thanks!!