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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

datatype problem between tXMLMap and tRestClient

Hi everyone,

I have a strange issue while using the XMLmap et the restClient

I'm sending a document type data with a code defined as a String in the tree schema :

0683p000009MZoc.jpg

I send this into the API and the anwer is :

The type of the 'code' attribute must be 'string', 'integer' given.

The data i send is an integer ==> 845480

 

I actually can't use the "Convert Types to Strings" in advanced settings of the tRestClient because i have a column that needs to be sent as an Integer

But i specify that i want the column "code" to be a string.

Is it a bug? Or am I missing something?

Labels (4)
3 Replies
manodwhb
Champion II
Champion II

@RomainG , tRestClient input schema and data types are fixed,and you should pass Body and string fileds and data types of those are object and string.

Anonymous
Not applicable
Author

Manodwhb,

Sorry i wasn't clear, i send a document type to the tRestClient :

 

0683p000009MZoh.jpg0683p000009MZor.jpg0683p000009MZow.jpg

 

I was talking about the type of data inside the document, in the tree schema editor

driperdk
Contributor
Contributor

Hello,  is there any solution about this post ? 

 

Thanks in advance, 

 

Regards.