Solutions
Hardware
Software
Services
Support and Downloads
About Zebra
Management and Data Reporting for Electronic Temperature Sensors Developer Guide
Associating a Sensor with a Task
Associating a Sensor with a Task
Management and Data Reporting for Electronic Temperature Sensors Developer Guide
Management and Data Reporting for Electronic Temperature Sensors Developer Guide
Overview
Workflow
Getting Started
API Authentication
Using a Simple Key
OAuth Client Credentials
OAuth Authorization Code
Enrolling Devices
Enrolling a ZS300 Sensor
Listing the Sensors
Listing the ZS300 Sensors
Creating a Task
Associating a Sensor with a Task
Associating a Sensor with a Task
Performing a Simple Task
Stopping a Task
Using Webhook Subscriptions
Understanding Webhook Concepts
Understanding Webhooks and APIs
Knowing When to Use Webhooks
Creating a Webhook Subscription
Starting a Webhook Subscription
Stopping a Webhook Subscription
Understanding Webhook Outputs
Displaying Full Event Record for Task ID
Using the Developer Portal Interactive Documentation
Sorting, Filtering, and Pagination
Using an API Test Tool
Downloading AIDL Files
Associating a Sensor with a Task
Associating a Sensor with a Task
The ID on an enrolled Sensor must be available before attempting the following procedure.
The user can associate multiple sensors with a task at a time
Expand the POST/environmental/task/{taskId}/sensors method screen.
Click
Try It Out
.
Enter the returned task ID in the in the taskId path field.
Enter the returned sensor ID from Listing the Sensor in the Sensor ID array in the Request Object field.
Click
Execute
. If successful, a response with an HTTP Status code of 200 is returned. A JSON object with the sensor_id and sensor_task_id association is returned.
Press the button on the Sensor and hold for 10 seconds until the LED blinks orange. After the Sensor blinks green, the task has started.
If the Sensor LED does not blink green, move the Sensor closer to the Bridge.
Associating a Sensor with a Task