Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Rights and Roles

Rights and Roles Service

...

Rights and Roles Templates

Anchor
createTeamRightsAndRolesTemplate
createTeamRightsAndRolesTemplate

...

Deck of Cards
idbimCopyContentRightsAndRolesTemplate


Card
labelUrl / Resource /Json

Resource: projectrightsrolestemplates/<targetprojectrightsrolestemplates_id>/copyfrom

URLhttps://api-stage.bimplus.net/v2/<team_slug>/projectrightsrolestemplates/<targetprojectrightsrolestemplates_id>/copyfrom

Example:https://api-stage.bimplus.net/v2/bimplus/projectsrightsrolestemplates/49d13da3-2acf-4f0b-b667-40fc0197585f/copyfrom

JSON Structure 

Name

Mandatory / Optional

Type

Description

name

will be ignored

string

Name of the project rights and roles template

description

will be ignored

string

Description of the project rights and roles template

idmandatorystring(guid)Unique guid of the source project rights and roles template

 


Card
labelHttpMethod

PUT


Card
labelDescription

Updates the specified target project rights and roles template with all roles from source project rights and roles template.
When project rights and roles template id is missing will be used internally default project right and roles template (Guid as "482176be-84ab-4d8f-93e4-2c58863d4eae") as a source project right and roles template.

Note:
In case when some roles are already assigned to target project rights and roles template and the same role is present also in source project rights and roles template,
in such case roles will be added to target project rights and roles template.


Card
labelRequest


Code Block
borderColorGreen
langxml
titleHeaders
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json


Code Block
borderColorRed
langxml
titleJSON
{
    "id": "482176be-84ab-4d8f-93e4-2c58863d4eae"
}



Card
labelResponse


Code Block
borderColorGreen
langxml
titleStatus


Code Block
borderColorRed
langxml
titleJSON
{
  "id":"49d13da3-2acf-4f0b-b667-40fc0197585f",
  "name":"My project rights and roles template",
  "description":"Project rights and roles template description"
}




Rights and Roles

Anchor
getAllRoles
getAllRoles

...