This request allows you to add a Windows user group as a project role to your plant.
Use the POST method to create a project role with the following input:
-
Service Root URI: https://<Server Name>/<IIS Application Name>/sem/v3
-
Resource path: /Sites('<Site Name>')/Plants('<Plant Name>')/Projects('<Project Name>')/Roles
-
Resource path strings are case-sensitive.
-
The parameters for the service root URI below are provided as an example. The server and domain name you provide depend on your specific environment.
Sample URI
POST
https://WebApiServer1.APIServerDomain.com/sem-webapi/sem/v3/Sites('WebAPISite01')/Plants('WebAPIPlant01')/Projects('P1')/Roles
Sample JSON request
{
"Name": "Companydomain.com/Project Engineers",
"Description": "Engineers for this project"
}