Automate API get response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Automate API get response
Hi, I'm fairly new to using Thingworx API and API in general.
I want to get data from Thingworx using API get json format and then push it to influxDB and finalluy to Grafana for vizualisation. My ideas are not clear on how to architecture this ? where to preprocess data , vscode or influxDB ? and then how to automate data fetching? As i understand API call to Thingworx returns data at time of request..
Thanks
Solved! Go to Solution.
- Labels:
-
Best Practices
-
Coding
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@Lo_ry96 ,
I am not sure where you are in the process. There are a large number of API resources with ThingWorx.
To get you started, In ThingWorx Composer, Navigate to Browse -> System -> Resources.
This will provide a list of the different aspects of ThingWorx. For example, select "ContentLoaderFunctions", If you go to the services, you are presented with a list of the available services, what they require as inputs and want is returned.
Your description is very general.
My suggestion is to use the tool POSTMAN, (or similar) This tool provides a great interface to work out the calling sequence and verify the returned values are what is expected and desired. It also provides better information on errors when the calling sequence is not quite correct.
Post a more specific question and I or someone in the community may be able to direct you to the proper function to all and how to process the results.
HTH
Pehowe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@Lo_ry96 ,
I am not sure where you are in the process. There are a large number of API resources with ThingWorx.
To get you started, In ThingWorx Composer, Navigate to Browse -> System -> Resources.
This will provide a list of the different aspects of ThingWorx. For example, select "ContentLoaderFunctions", If you go to the services, you are presented with a list of the available services, what they require as inputs and want is returned.
Your description is very general.
My suggestion is to use the tool POSTMAN, (or similar) This tool provides a great interface to work out the calling sequence and verify the returned values are what is expected and desired. It also provides better information on errors when the calling sequence is not quite correct.
Post a more specific question and I or someone in the community may be able to direct you to the proper function to all and how to process the results.
HTH
Pehowe
