Versions Compared

Key

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

...

Assign additional objects to the latest structureElement node

 

...

Update the structure
URL / Resource / JSON Structure
Deck of Cards
idbimUpdateStructure
Card
defaulttrue
label
bimAssignAdditionalObjects

Resource: structures/

<structure

<structureElement_id>/assign/<object_id> 

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

/<structure

/<structureElement_id>/assign/<object_id> 

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

179439d6

35b986c2-

df16

e9cd-

41cc

482e-

bd2c-74d05b7995d5

JSON Structure

Name

Mandatory / Optional

Type

Description

parentId

optional

string(guid)

Parent node id of the structure (for the first structure, projectId is the parentId)

name

optional

string

Name of the structure

description

optional

string

Description of the structure

typeoptionalstringType of the structure (eg: costStructure, specificationStructure)
nroptionalintegerThe index of the structure
coloroptionalintegerColor of the structure
idwill be ignoredstring(guid)Unique guid of the structure
Card
labelHTTP Method
 PUT
Card
labelDescription
 Update the specified structure
Card
labelRequest
Code Block
borderColorGreen
langxml
titleHeaders
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
Code Block
borderColorRed
langxml
titleJSON
{
  "name": "Updated Structure"
}
Card
labelResponse
Code Block
borderColorGreen
langxml
titleStatus
Status: 200 OK
Code Block
borderColorRed
langxml
titleJSON
{
    "parentId": "622272da-f1ff-45ab-a3f0-c8f1255c80e8",
    "name": "Updated Structure",
    "description": "FullLifeCycleTest",
    "type": "CostStructure",
    "nr": 1,
    "color": 0,
    "id": "179439d6-df16-41cc-bd2c-74d05b7995d5"
}

...

9281-6000671a49f0/assign/df4a81d6-42fb-4187-bbce-82a2fc093b2f

use the response from previous call for 'StructureElement.id'

Card
labelHttpMethod

POST

Card
labelassignRespons

is the same like previous call

Anchor
removeAssignedObject
removeAssignedObject

Remove assigned object from the latest structureElement node
Deck of Cards
idbimRemoveAssignedObject

Resource: structures/<structureElement_id>/delete/<object_id> 

URLhttps://api-stage.bimplus.net/v2/<team_slug>/structures/<structureElement_id>/delete/<object_id> 

Example: https://api-stage.bimplus.net/v2/bimplus/structures/35b986c2-e9cd-482e-9281-6000671a49f0/delete/df4a81d6-42fb-4187-bbce-82a2fc093b2f

Card
labelHttpMethod

 DELETE

Card
labelresponse

HttpStatusCode.OK

Anchor
copyStructure
copyStructure

Copy Structure
Deck of Cards
idbimCopyStructure

Resource: structures/<structure_id>/copy

URLhttps://api-stage.bimplus.net/v2/<team_slug>/structures/<structure_id>/copy

Example: https://api-stage.bimplus.net/v2/bimplus/structures/35b986c2-e9cd-482e-9281-6000671a49f0/copy

 

 

Anchor
updateStructure
updateStructure

Update the structure
Deck of Cards
idbimUpdateStructure
Card
defaulttrue
labelURL / Resource / JSON Structure
Resource: structures/<structure_id>

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

Example:https://api-stage.bimplus.net/v2/bimplus/structures/179439d6-df16-41cc-bd2c-74d05b7995d5

JSON Structure

Name

Mandatory / Optional

Type

Description

parentId

optional

string(guid)

Parent node id of the structure (for the first structure, projectId is the parentId)

name

optional

string

Name of the structure

description

optional

string

Description of the structure

typeoptionalstringType of the structure (eg: costStructure, specificationStructure)
nroptionalintegerThe index of the structure
coloroptionalintegerColor of the structure
idwill be ignoredstring(guid)Unique guid of the structure
Card
labelHTTP Method
 PUT
Card
labelDescription
 Update the specified structure
Card
labelRequest
Code Block
borderColorGreen
langxml
titleHeaders
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
Code Block
borderColorRed
langxml
titleJSON
{
  "name": "Updated Structure"
}
Card
labelResponse
Code Block
borderColorGreen
langxml
titleStatus
Status: 200 OK
Code Block
borderColorRed
langxml
titleJSON
{
    "parentId": "622272da-f1ff-45ab-a3f0-c8f1255c80e8",
    "name": "Updated Structure",
    "description": "FullLifeCycleTest",
    "type": "CostStructure",
    "nr": 1,
    "color": 0,
    "id": "179439d6-df16-41cc-bd2c-74d05b7995d5"
}

Anchor
deleteStructure
deleteStructure

Delete the structure
Deck of Cards
idbimDeleteStructure
Card
defaulttrue
labelURL / Resource / JSON Structure

Resource: structures/<structure_id> 

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

Example:https://api-stage.bimplus.net/v2/bimplus/structures/db540336-47a3-426e-b3bf-1e532bfac8ea

Card
labelHTTP Method
 DELETE
Card
labelDescription
 Deletes a specified structure.
Card
labelRequest
Code Block
borderColorGreen
langxml
titleHeaders
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
Card
labelResponse
Code Block
borderColorGreen
langxml
titleStatus
Status: 200 OK

 

 

...

Delete the structure

...

Status: 200 OK

bd2c-74d05b7995d5

JSON Structure

Card
defaulttrue
labelURL / Resource / JSON Structure
Resource: structures/<structure_id> id>

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

id>

id> 

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

db540336

179439d6-

47a3

df16-

426e

41cc-

b3bf-1e532bfac8ea
Card
labelHTTP Method
 DELETE
Card
labelDescription
 Deletes a specified structure.
Card
labelRequest
Code Block
borderColorGreen
langxml
titleHeaders
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
Card
labelResponse
Code Block
borderColorGreen
langxml
titleStatus

Name

Mandatory / Optional

Type

Description

parentId

optional

string(guid)

Parent node id of the structure (for the first structure, projectId is the parentId)

name

optional

string

Name of the structure

description

optional

string

Description of the structure

typeoptionalstringType of the structure (eg: costStructure, specificationStructure)
nroptionalintegerThe index of the structure
coloroptionalintegerColor of the structure
idwill be ignoredstring(guid)Unique guid of the structure