Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hi,
Is there any REST API or java sdk provided by ThingWorx to get monitoring and logging data ?
Solved! Go to Solution.
Hopefully this helps
The ServiceDefinitions should show you the parameters available, those you would construct and submit as a JSON in the body.
You can just call the available services associated with the logs.
ok let me try and get back to you. Thanks!
Hey @PaiChung Can you tell me which api to call since there is no GET api to get the service details
All of these will be POST types
See for example: <server>/Thingworx/Logs/ApplicationLog/Services/QueryLogEntries
Can you give a link to the documentation for this API?
Basically works like any other Thingworx service.
You can also use this to see the parameters
<Server>/Thingworx/Logs/ApplicationLog/ServiceDefinitions/QueryLogEntries
or start from here and drill in <server>/Thingworx/Logs/ (this is a regular GET)
what should be the request body for <Server>/Thingworx/Logs/ApplicationLog/ServiceDefinitions/QueryLogEntries since it is a POST api
Hopefully this helps
The ServiceDefinitions should show you the parameters available, those you would construct and submit as a JSON in the body.
Thanks!!
Will try and get back to you