cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

query all remotething via api

mkumar-41
1-Visitor

query all remotething via api

Hi Experts,

Lets says there are 10 remotethings named SteamSensor1 to SteamSensor10. All these remotething is created using SteamSensor Thing Template.

There are 10 edge device sending the data to ThingWorx Foundation Server and data is received successfully. So far so good.

I can query individual remotething using QueryPropertyHistory. The question is how to query all 10 remotething which is created using the same Thing Template?

Is there any service to query all remotething?

Also, Is there any service to get list of remotething?

Currently, the only option which I have is manually list all the remotething and use QueryPropertyHistory in a loop.

Thanks

Mahesh

3 REPLIES 3
supandey
19-Tanzanite
(To:mkumar-41)

Hi Mahesh, I think you can use GetImplementingThings service for your use case. Have you already tried it? See Data Services and Scalable Solutions section in the Help Center

Thanks a lot  Sushant for valuable information.

Using QueryImplementingThingsWithPropertyHistory() service I was able to achieve the desired results.

supandey
19-Tanzanite
(To:mkumar-41)

Glad it helped!

Announcements


Top Tags