How to convert number to integer in JSON output of a service
Hi,
It's happening to me the same.
there is an AWS API that is expecting a value type "integer" but it seems it is getting a value type "number" so the validations are failing.
I tried to use parseInt(13) but it is still failing. It seems Thingworx is sending this vaule as number instead of integer...
var body= {
"productionCenterID": parseInt(0),
"labelSize": parseInt(8),
}
and this body is used in Resources["ContentLoaderFunctions"].PostJSON
Any idea?

