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 Users

How To: Create a User

1min

For information about prerequisites, see Creating Users.

To create your first User, call the Create User endpoint and pass a request similar to the following:

JSON
{
  "firstName": "John",
  "middleName": "M",
  "lastName": "Doe",
  "email": "john.doe@example.com",
  "designation": "Field-Executive",
  "category": "Regular",
  "employmentType": "Full-time",
  "workLocations": [
    "facilities:1238-232-dsfs23-sdsdc"
  ],
  "manager": "string",
  "primaryMobile": {
    "countryCode": "+1",
    "number": "5551234567"
  },
  "secondaryMobile": {
    "countryCode": "+1",
    "number": "5559874567"
  },
  "identification": {
    "idType": "Driving License",
    "validIdNumber": "ABCDE12345"
  },
  "subFunction": "FE",
  "fileID": "file:1238-232-dsfs23-sdsdc"
}


When creating subsequent Users, you can use the userOwnerId to specify non Tenant users as the owner of the User. This allows you to create a hierarchy of Users within your Organization.

To retrieve a list of all of the Users in your Tenant associated with your App, call the Get all Users. Deprecated. It will reach EOL on Sept 30, 2023..

Updated 16 Aug 2023
Did this page help you?
PREVIOUS
Integrate with Users
NEXT
How to: Change State of a User
Docs powered by Archbee
Docs powered by Archbee