search cancel

Rest API How to Retrieve and Create Users (Resources)

book

Article ID: 256055

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

How can resources be added to the Classic Home and Administration  and Modern with REST API?

 

Environment

Release : 16.1.0

Resolution

Review REST API documentation with /niku/rest/describe/index.html

Under 'Other Resources', users(resources) can be retrieved and created with GET / POST call.



Example body can be used:

POST 
/ppm/rest/v1/users

{
  "lastName": "Smith",
  "secondaryEmail": "[email protected]",
  "forcePwdChange": "false",
  "isLdap": "false",
  "email": "[email protected]",
  "resourceName": "resourcetest1",
  "userName": "resourcetest1",
  "firstName": "Andy",
  "language": {
        "displayValue": "English",
        "_type": "lookup",
        "id": "1"
    }
}