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

How to connect your edge devices using the REST API

Regular Member

How to connect your edge devices using the REST API

The ThingWorx Platform is fully exposed using the REST API including every property, service, subsystem, and function.  This means that a remote device can integrate with ThingWorx by sending correctly formatted Hyper Text Transfer Protocol (HTTP) requests. Such an application could alter thing properties, execute services, and more.

To help you get started using the REST API for connecting your edge devices to ThingWorx, our ThingWorx developers put together a few resources on the Developer Portal:

  • New to developing with ThingWorx? Use our REST API Quickstart guide that explains how to: create your first Thing, add a property to your Thing, then send and retrieve data.

REST API Quickstart Guide - Developer Portal.png

  • Advanced ThingWorx user? This new REST API how-to series features instructions on how to use REST API for many common tasks, incl. a troubleshooting section.

REST API how to guides - Developer Portal.png

  • Use ThingWorx frequently but haven’t learned the syntax by heart? We got you covered. The REST API cheat sheet gives details of the most frequently used REST API commands.

REST API Cheat Sheet - Developer Portal.png

Tags (1)
5 REPLIES 5

Re: How to connect your edge devices using the REST API

These links no longer work, I just get a sad panda.

Re: How to connect your edge devices using the REST API

Hi Bryan

Here are some links I could find regarding REST API's

Rest API Quickstart = https://developer.thingworx.com/resources/guides/thingworx-rest-api-quickstart

REST API How-To Guide = https://developer.thingworx.com/resources/guides/rest-api-how-guide

REST API Core Concepts = https://developer.thingworx.com/resources/guides/thingworx-rest-api-core-concepts

REST API Help Center = PTC

Re: How to connect your edge devices using the REST API

Thank you for letting us know. I just updated all the links and everything should direct you to the correct assets on the Developer Portal.

Highlighted

Re: How to connect your edge devices using the REST API

Is it possible to send data to the Edge devices via REST? I assume we need the EMS on the edge for that.

Re: How to connect your edge devices using the REST API

Yes, you are correct. The EMS exposes a REST interface when it is running that bridges to the REST API of the platform it is connected to.

This blog post has more details:

Exploring an EMS / LSR configuration using REST APIs