Add Resource or Role in team tab using Rest API
search cancel

Add Resource or Role in team tab using Rest API

book

Article ID: 279656

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

You want to add a role or resource in the Team / Staff tab using the REST API.  Is there an example REST call to reference?

Environment

All Clarity releases

Resolution

Here is an example:

Request URL:
5086214 is the id of the project
https://yourservernamehere/ppm/rest/v1/projects/5086214/teams
Request Method:
POST

Request body (5059409 is the id of the role) :
{"resource":5059409}

 

This is valid for all releases after 16.x