Versions Compared

Key

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

...

...

Deck of Cards
idbimGetTeamTemplates
Card
defaulttrue
labelURL / Resource / JSON Structure
Resource: attributetemplates

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

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

Card
labelHTTP Method
 GET
Card
labelDescription
 Get all the attribute templates that belongs to a team.
Card
labelRequest
Code Block
borderColorGreen
titleHeaders
langxml
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
Card
labelResponse
Code Block
borderColorGreen
titleStatus
langxml
Status: 200 OK
Code Block
borderColorRed
titleJSON
langxml
[
    {
        "name": "Template 1",
        "created": "2015-10-27T09:22:13.27",
        "createdby": {
            "id": "71e0ac3b-fa49-e540-ac2f-8caff3dd72ed",
            "email": "jayaraj.purushothaman@gmail.com"
        },
        "changed": "2015-10-27T09:32:05.27",
        "changedby": {
            "id": "71e0ac3b-fa49-e540-ac2f-8caff3dd72ed",
            "email": "jayaraj.purushothaman@gmail.com"
        },
        "id": "511f1724-3848-49a2-8b21-77180b61edc0"
    }
]

Anchor
getBimUnitgetBimTemplateInfogetBimUnit
getBimTemplateInfo

Get the info about a particular

...

attribute template
Deck of Cards
idbimGetBimUnitbimGetBimTemplateInfo
Card
defaulttrue
labelURL / Resource / JSON Structure
Resource: content/units attributetemplates

URLhttps://api-stage.bimplus.net/v2/content<team_slug>/unitsattributetemplates/<unit<template_id>

Examplehttps://api-stage.bimplus.net/v2/contentbimplus/unitsattributetemplates/3b871b653e5c0964-516e8f28-4e7e469b-a35fb176-faa7501d5d0dbcfad48f2eef

Card
labelHTTP Method
 GET
Card
labelDescription
 Get the info about a particular attribute template that belongs to a particular unit in Bimplus DBteam.
Card
labelRequest
Code Block
borderColorGreen
titleHeaders
langxml
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
Card
labelResponse
Code Block
borderColorGreen
titleStatus
langxml
Status: 200 OK
Code Block
borderColorRed
titleJSON
langxml
{
    "unitname": "kgAttribute Template 1",
    "contextUnitTypedescription": "MASSUNITTesting template",
    "idelementtypes": "3b871b65-516e-4e7e-a35f-faa7501d5d0d",
 [
        {
            "nametype": "kilogramnot implemented",
            "descriptioncategory": "base unit for mass/7/1/10/",
            "name": "ID_Wandobjekte",
            "ifcType": "ID_IFCWall",
            "id": "f8e1d9e3-82c0-4f14-8337-7fe568117616"
        },
        {
            "type": "not implemented",
            "category": "/",
            "name": "ID_Hall",
            "ifcType": null,
            "id": "f18de608-0f7f-40e3-a0f7-8088778d18cb"
        }
    ],
    "freeattributes": [
        {
            "type": "double",
            "minvalue": "0",
            "decimal": 2,
            "unitid": "f99f40cf-da64-4c4f-8434-cb90722ba485",
            "unit": "mm",
            "visible": 1,
            "changeable": 1,
            "controltype": "TextBox",
            "id": "b5850e23-b1df-4d4f-aae8-cee0d4bb06e6",
            "name": "bend radius",
            "description": "bend diameter for reinforcement bars"
        },
        {
            "type": "double",
            "decimal": 2,
            "unitid": "3b871b65-516e-4e7e-a35f-faa7501d5d0d",
            "unit": "kg",
            "visible": 1,
            "changeable": 1,
            "controltype": "TextBox",
            "id": "5eed7275-0b0d-41d5-a13e-0c1c1fa87b33",
            "name": "double value",
            "description": ""
        },
        {
            "type": "int",
            "minvalue": "1",
            "maxvalue": "1000",
            "defaultvalue": "1",
            "decimal": 0,
            "unitid": "f99f40cf-da64-4c4f-8434-cb90722ba485",
            "unit": "mm",
            "optionalunit": "milimeter",
            "visible": 1,
            "changeable": 1,
            "controltype": "textbox",
            "id": "67900fff-a744-4ea3-a0dc-4140e424b756",
            "name": "NewFreeAttribute1_G2",
            "description": "Test attribute"
        }
    ],
    "created": "2015-04-23T05:42:52.91",
    "createdby": {
        "id": "7c555899-5a5f-44d1-930e-284930678bed",
        "email": "sslacky@nemetschek.com"
    },
    "changed": "2015-04-23T05:42:52.91",
    "changedby": {
        "id": "7c555899-5a5f-44d1-930e-284930678bed",
        "email": "sslacky@nemetschek.com"
    },
    "id": "3e5c0964-8f28-469b-b176-bcfad48f2eef"
}

Anchor
updateBimUnit
updateBimUnit

...