Versions Compared

Key

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




Rights and Roles Service

...

Rights and Roles Templates

Rights and Roles

Rights and Roles Service

...

Rights and Roles Templates

Anchor
createTeamRightsAndRolesTemplate
createTeamRightsAndRolesTemplate

Create new right and roles template in team
Deck of Cards
idbimCreateTeamRightsAndRolesTemplate


Card
defaulttrue
labelURL / Resource / JSON Structure
Resource: projectattributetemplates

URLhttps://api-stage.bimplus.net/v2/<team_slug>/projectattributetemplates

Example: https://api-stage.bimplus.net/v2/bimplus/projectattributetemplates

JSON Structure

Name

Mandatory / Optional

Type

Description

name

mandatory

string

Unique name of the project attribute template

description

optional

string

Short description of the project attribute template



Card
labelHTTP Method
 POST


Card
labelDescription

Creates a new project attribute template.


Card
labelRequest


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


Code Block
borderColorRed
langxml
titleJSON
{
  "name": "My project attribute template",
  "description": "Project attribute template for my team",
}



Card
labelResponse


Code Block
borderColorGreen
langxml
titleStatus
Status: 201 Created


Code Block
borderColorRed
langxml
titleJSON
{
  "name": "My project attribute template",
  "description": "Project attribute template for my team",
  "id": "49d13da3-2acf-4f0b-b667-40fc0197585f"
}




Anchor
getTeamRightsAndRolesTemplates
getTeamRightsAndRolesTemplates

Get the list of existing rights and roles templates in team
Deck of Cards
idbimGetTeamRightsAndRolesTemplates


Card
defaulttrue
labelURL / Resource / JSON Structure
Resource: projectattributetemplates

URLhttps://api-stage.bimplus.net/v2/<team_slug>/projectattributetemplates

Examplehttps://api-stage.bimplus.net/v2/bimplus/projectattributetemplates


Card
labelHTTP Method
 GET


Card
labelDescription
 Get all the project attribute templates that belongs to a team. Each team has at least one default project attribute template.


Card
labelRequest


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



Card
labelResponse


Code Block
borderColorGreen
langxml
titleStatus
Status: 200 OK


Code Block
borderColorRed
langxml
titleJSON
[
  {
    "name": "Default",
    "description": "Default project attribute template",
    "id": "0149c4a8-4e84-4c40-bfdd-5dd63b109266"
  },
  {
    "name": "My project attribute template",
    "description": "Project attribute template for my team",  
    "id": "49d13da3-2acf-4f0b-b667-40fc0197585f"
  }
]



Anchor
getRightsAndRolesTemplateInfo
getRightsAndRolesTemplateInfo

Get the info about a particular rights and roles template
Deck of Cards
idbimGetRightsAndRolesTemplateInfo


Card
defaulttrue
labelURL / Resource / JSON Structure
Resource: projectattributetemplates

URLhttps://api-stage.bimplus.net/v2/<team_slug>/projectattributetemplates/<projectattributetemplates_id>

Examplehttps://api-stage.bimplus.net/v2/bimplus/projectattributetemplates/49d13da3-2acf-4f0b-b667-40fc0197585f


Card
labelHTTP Method
 GET


Card
labelDescription
Get the info about a particular project attribute template that belongs to a particular team.


Card
labelRequest


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



Card
labelResponse


Code Block
borderColorGreen
langxml
titleStatus
Status: 200 OK


Code Block
borderColorRed
langxml
titleJSON
 {
    "name": "My project attribute template",
    "description": "Project attribute template for my team",  
    "id": "49d13da3-2acf-4f0b-b667-40fc0197585f"
 }



Anchor
updateTeamRightsAndRolesTemplate
updateTeamRightsAndRolesTemplate

Update a particular rights and roles template
Deck of Cards
idbimUpdateTeamRightsAndRolesTemplate


Card
defaulttrue
labelURL / Resource / JSON Structure
Resource: projectattributetemplates

URLhttps://api-stage.bimplus.net/v2/<team_slug>/projectattributetemplates

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

JSON Structure: See Create project attribute template


Card
labelHTTP Method
 PUT


Card
labelDescription
 Update a particular project attribute template that belongs to a particular team.


Card
labelRequest


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


Code Block
borderColorRed
langxml
titleJSON
{
    "name": "My project attribute template2",
    "description": "Project attribute template for my team2",  
 }



Card
labelResponse


Code Block
borderColorGreen
langxml
titleStatus
Status: 200 OK


Code Block
borderColorRed
langxml
titleJSON
{
  "name": "My project attribute template2",
  "description": "Project attribute template for my team2",
  "id": "49d13da3-2acf-4f0b-b667-40fc0197585f"
}



Anchor
deleteTeamRightsAndRolesTemplate
deleteTeamRightsAndRolesTemplate

Delete the rights and roles template
Deck of Cards
idbimDeleteTeamRightsAndRolesTemplate


Card
defaulttrue
labelURL / Resource / JSON Structure
Resource: projectattributetemplates

URLhttps://api-stage.bimplus.net/v2/<team_slug>/projectattributetemplates

Examplehttps://api-stage.bimplus.net/v2/bimplus/projectattributetemplates/49d13da3-2acf-4f0b-b667-40fc0197585f


Card
labelHTTP Method
 DELETE


Card
labelDescription
 Deletes the specific project attribute template.


Card
labelRequest


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



Card
labelResponse


Code Block
borderColorGreen
langxml
titleStatus
Status: 200 OK



Anchor
copyContentRightsAndRolesTemplate
copyContentRightsAndRolesTemplate

Copy content rights and roles template from source to target rights and roles template
Deck of Cards
idbimCopyContentRightsAndRolesTemplate


Card
labelUrl / Resource /Json

Resource: projectattributetemplates/<targetprojectattributetemplates_id>/copyfrom

URLhttps://api-stage.bimplus.net/v2/<team_slug>/projectattributetemplates/<targetprojectattributetemplates_id>/copyfrom

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

JSON Structure 

Name

Mandatory / Optional

Type

Description

name

will be ignored

string

Name of the project attribute template

description

will be ignored

string

Description of the project attribute template

idmandatorystring(guid)Unique guid of the source project attribute template

 


Card
labelHttpMethod

PUT


Card
labelDescription

Updates the specified target project attribute template with all attribute templates from source project attribute template.
When project attribute template id is missing will be used internally default project attribute template (Guid as "0149c4a8-4e84-4c40-bfdd-5dd63b109266") as a source  project attribute template.

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


Card
labelRequest


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


Code Block
borderColorRed
langxml
titleJSON
{
    "name": "Default",
    "description": "Default project attribute template",
    "id": "0149c4a8-4e84-4c40-bfdd-5dd63b109266"
}



Card
labelResponse


Code Block
borderColorGreen
langxml
titleStatus





Rights and Roles

Anchor
getAllRoles
getAllRoles

...