REST API To Update Project Team Staff Resource Role
search cancel

REST API To Update Project Team Staff Resource Role

book

Article ID: 383963

calendar_today

Updated On:

Products

Clarity PPM SaaS

Issue/Introduction

How can the role be updated on the project team/staff page using REST API?

Resolution

The following REST call can be made to update the role on the team page.

PATCH 
_server_/ppm/rest/v1/projects/5aaaaaa/teams/5bbbbbb

{
    "d": 
    [
        {
            "_internalId": 5cccccc, //1st resource
            "investmentRole": "5xxxxxx" //role1

        },
        {
            "_internalId": 5dddddd, //2nd resource
            "investmentRole": "5yyyyyy" //role2
        },
        {
            "_internalId": 5eeeeee, //3rd resource
            "investmentRole": "5zzzzzz" //role3
        }
    ]
}