Guide Concept

This project will introduce you to the REST API utilized by the ThingWorx platform.

Following the steps in this guide, you will be able to connect to the ThingWorx platform and make REST calls to call Services, update Properties, and perform a number of actions for your IoT applications.

We will teach you how to use the ThingWorx REST API to create a more robust application. With the REST API you can leverage the full power of the ThingWorx Foundation server with simple HTTP requests. The REST API can easily be explored using a command line tool such as curl, a browser plugin like Postman, or any preferred programming language.

Guide Info

Level Intermediate
Est. Time 30 Minutes
Published May 09, 2019
Author Allen Smith

You'll learn how to

    • Create new Things on a ThingWorx Foundation Server
    • Add Properties to Things
    • Access Property values
    • Execute custom Services
Register to Start Guide

Things used in this guide

Environment:

This guide requires a connection to the ThingWorx Foundation.

It assumes that you are utilizing the 30-day hosted Foundation server or the 120-day downloaded trial.

Software components:
Previous knowledge:

USE REST API TO ACCESS THINGWORX

Outline
  • Step 1: REST API Design
  • Step 2: REST Client
  • Step 3: Create Application Key
  • Step 4: Create New Thing
  • Step 5: Add Property to Thing
  • Step 6: Set Property Value
  • Step 7: Get Latest Property Value
  • Step 8: Call Custom Service
  • Step 9: Import and Export Entities
  • Step 10: Tags
  • Step 11: Users
  • Step 12: Troubleshooting
  • Step 13: Authentication Tips
  • Step 14: Next Steps
We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.