Website logo
Docs
API Reference
Postman Collection
Release Notes
Navigate through spaces
⌘K
Introduction
Overview
Getting started with the OS1 Platform
Getting started with building Apps
Concepts
Working with Callbacks
Console UI Overview
Custom Code
Working with GraphQL
Custom Attributes Ownership
Attribute-Based Access Control (ABAC)
Data Listing and Query (DLQS) Search
Core API dev guides
Overview
Authentication And Authorization
Participant
Container
Dispatch
Orchestrator
Workflow
Secure Data Storage
File Management
State Machine
Entity
Notification
Motion Tracking System
Location
Platform Order Management
Address
Scheduler
Logistics Framework API Dev guides
Overview
LogisticsOrder API
User API
Facility API
Vehicle API
How-To Guides
Integrate Your Application with Console UI
Integrate with Participants
Integrate with Containers
Integrate with Users
Integrate with Vehicles
Integrate with Facilities
Integrate with Entities
Integrate with Dispatch
Integrate with Logistics Order
Integrate with Platform Order Management
Integrate with Location Service
Integrate with Orchestrator
GraphQl Schemas
GraphQL: Dispatch Queries
GraphQL: Order Queries
GraphQL: Workflow Queries
GraphQL: Container Queries
Platform SDKs
SDK Overview
Sample Apps
Vehicle Management App
Container App
Resources
FAQs
Glossary
Data Types Used in OS1
Development Guidelines
Entity, Event, and Reason Codes
Service/API Level Error Codes
Docs powered by Archbee
How-To Guides
Integrate with Participants

How to: Change the Participant State

1min

For information about prerequisites, see Creating Participants.

When the device is first updated, its state is onboarding, to update the state of the device change its state to active as defined in its state machine configuration.

To update the state of the device, call the Update Participant State endpoint. Set the participantTypePluralName path parameter to the plural name of the device and the participantId path parameter to the Participant ID of the device. Pass a request body similar to the following:

JSON
{  
    "state":"active",  
    "subState":"active",  
    "callback":"http://www.examplecallback.com"  
}




Updated 14 Aug 2023
Did this page help you?
PREVIOUS
How to: Create the Participant
NEXT
How to: Implement Custom Code in Participant Services
Docs powered by Archbee
Docs powered by Archbee