Versions Compared

Key

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

...

Anchor
deleteVariant
deleteVariant

Delete the

...

variant
Deck of Cards
idbimDeleteVariant
Card
defaulttrue
labelURL / Resource / JSON Structure

Resource: projects/<project_id>/variants/<variant_id> 

URLhttps://api-stage.bimplus.net/v2/<team_slug>projects/<project_id>/variants/<variant_id>

Example:https://api-stage.bimplus.net/v2/bimplus/projects/622272da-f1ff-45ab-a3f0-c8f1255c80e8/variants/733e429a-e232-4e5d-a41e-9bd50aa9763c

Card
labelHTTP Method
 DELETE
Card
labelDescription
 Deletes a specified variant.
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
copyVariant
copyVariant

Copy source

...

variant to target

...

variant
Deck of Cards
idbimCopyVariant
Card
labelUrl / Resource /Json

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

 

JSON Structure

 

Name

Mandatory / Optional

Type

Description

 

 

 

 

name

mandatory

string

Name of the new structure

 

 

 

 

typeoptionalstringType of the new structure (eg: costStructure, specificationStructure)
nrwill be ignoredintegerThe index of the new structure
coloroptionalintegerColor of the new structure
idwill be ignoredstring(guid)Unique guid of the structure
startDateoptionalstring (date)Start date ( depends on type of structure )
endDateoptionalstring (date)End date ( depends on type of structure )

 

Card
labelHttpMethod

POST