Skip to main content
1-Visitor
October 17, 2017
Solved

Thingworx REST API GET not displaying things

  • October 17, 2017
  • 1 reply
  • 2968 views

Hi,

I'm running Thingworx Composer 8 where I've created a Thing named Device1

When I try to GET using Postman, it doesn't display the Things I created.

Result:

Please let me know if I'm missing something here. I'm planning to write a script to simulate data transmission from a physical device on-to Device1. And for this, I need the REST API to work.

Thanks in advance,

Ram

Best answer by rnayak-2

Can you add the Organization to which the AppKey user belongs and rerun the service ? I think starting TWX 8 the default visibility behavior has changed...

If that doesnt solve the problem, when you are logged into composer open another tab and try doing a REST call to this Thing.. like http://<server>:<port>/Thingworx/Things/Device1 and see if it shows up with result ?

1 reply

5-Regular Member
October 17, 2017

Check the visibility setting on your Thing. The AppKey you created (with a User reference) may not have permission so view it..

1-Visitor
October 17, 2017

Hi Raghu,

The Visibility setting is empty on the Thing.

I didn't make any changes. I also created appKeys for Administrator, Superuser and System. It's the same result when I use either of the three appKeys. I tried adding 'Everyone' in the organization and giving them visibility explicitly, but it's the same result. I don't see the Things I created.

rnayak-25-Regular MemberAnswer
5-Regular Member
October 17, 2017

Can you add the Organization to which the AppKey user belongs and rerun the service ? I think starting TWX 8 the default visibility behavior has changed...

If that doesnt solve the problem, when you are logged into composer open another tab and try doing a REST call to this Thing.. like http://<server>:<port>/Thingworx/Things/Device1 and see if it shows up with result ?