Hello
I would like to use postman to test called service QueryPropertiesHistory
On Thingworx 8.4
first, I try it on thingworx like
When i try it on Postman is like (Only raw body)
Value does not show
I think it may about format on startDate and endDate
Solved! Go to Solution.
You can try to use web site https://currentmillis.com/ to convert date to numeric milliseconds (like {"startDate":1620223200000, "endDate":1620743400000}), and pass the parameters as JSON in postman.
You can try to use web site https://currentmillis.com/ to convert date to numeric milliseconds (like {"startDate":1620223200000, "endDate":1620743400000}), and pass the parameters as JSON in postman.
This work now Thank you!!
Other Comment
I try this method before on using epoch time converter from this website
https://www.epochconverter.com/
But is does not work since it conversion result is wrong huh???
Moreover
This format I use from previous Topic
https://community.ptc.com/t5/ThingWorx-Developers/How-to-use-QueryNamedPropertyHistory-service-with-API-call/td-p/507484
So, i don't know the right format is in number or string like that