Versions Compared

Key

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

Project Service

...

 


Anchor
projectService
projectService

...

Deck of Cards
idbimCreateProject


Card
labelURL / Resource / JSON Structure
Resource: projects 

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

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

JSON Structure

Name

Mandatory / Optional

Type

Description

idwill be ignoredstring (guid)Id of the project

name

mandatory

string

Name of the project

shortDescr

optional

string

Short description of the project

teamNamewill be ignoredstringName of the team to which the project belongs
teamSlugwill be ignoredstringSlug of the team to which the project belongs
hasWriteAccesswill be ignoredbooleanDon't use this property. This property is not deleted to support the older clients
thumbnailwill be ignoredstringDirect download link to project thumbnail

created

will be ignored

string (date)

Creation date of the project

createdBywill be ignoredJSON objectDetails of the Bimplus user who has created the project
changedwill be ignoredstring(date)Modified date of the project
changedBywill be ignoredJSON objectDetails of the Bimplus user who has created the project
addressoptionalstringAddress of the project
modelCountwill be ignoredintNumber of models in this project
memberCountwill be ignoredintNumber of members in this project
topicCountwill be ignoredintNumber of topics in this project
attachmentCountwill be ignoredintNumber of attachments in this project
sizewill be ignoredintSize of the project in bytes
sizeInMBwill be ignoredstringSize of the project in MB
disciplineswill be ignoredJSON objectDisciplines found under this project
rightswill be ignoredJSON objectThe rights the user has for this project



Card
labelHTTP Method
 POST


Card
defaulttrue
labelDescription
 Creates a new project.


Card
labelRequest


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


Code Block
borderColorRed
langxml
titleJSON
{
    "name" : "Your Awesome Building",
    "shortDescr" : "Example for creating a project",
    "address" : "My address somewhere"
}



Card
labelResponse


Code Block
borderColorGreen
langxml
titleStatus
Status: 201 Created


Code Block
borderColorRed
langxml
titleJSON
{
    "name": "Your Awesome Building",
    "shortDescr": "Example for creating a project",
    "teamName": "Best Company",
    "teamSlug": "best-company",
    "hasWriteAccess" : true,
    "thumbnail": null,
    "created": "2013-06-01T10:05:00",
    "createdby" : {
        "id": "7c555899-5a5f-44d1-930e-284930678bed",
        "email" : "testuser@bimplus.net"
    },
    "changed": "2013-06-01T10:05:00",
    "changedby" : {
        "id": "7c555899-5a5f-44d1-930e-284930678bed",
        "email" : "testuser@bimplus.net"
    },
    "address" : "My address somewhere",
    "modelCount": 0,
    "memberCount": 1,
    "topicCount": 0,
    "attachmentCount": 0,
    "size": 0,
    "sizeMB": "0",
    "id": "0d2ce2cc-3588-45d6-a59a-f6b89ebed34e"
}



Anchor
getCurrentProjectListcreateCopyProjectFromSourceProjectgetCurrentProjectList
createCopyProjectFromSourceProject

...

Create copy of the source project
Deck of Cards
idbimGetCurrentProjectListbimCreateCopyProjectFromSourceProject


Card
defaulttrue
labelURL Url / Resource / JSON StructureJson

Resource:

projects 

projects/copyfrom

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

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

Card
labelHTTP Method
 GET
Card
labelDescription
 Gets the entire list of projects in which the logged in user is a member

/copyfrom

JSON Structure 

Name

Mandatory / Optional

Type

Description

idmandatorystring(guid)Source project Id. Only projects from 'Bimplus Demo' team are supported by this api function.

name

mandatory

string

Unique name of the newly created project.

shortDescr

optional

string

Description of the newly created project.

 


Card
labelHttpMethod

POST


Card
labelDescription

Creates new project as copy of the source project. The content of source project from "Bimplus Demo" team will be copied to user team.


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


Code Block
borderColorGreen
langxml
titleStatusHeaders
StatusAuthorization: 200 OK BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json


Code Block
borderColorRed
langxml
titleJSON
[
    {
        "id": "586b02be1eb8efe0-43b87611-4e2747e7-b698a06d-e067e85e38e2102ec8e2fff6",
        "name": "!!!!!_VORTEILSHAUS V40 SD45 Traufeingang",
        "name":"Copy of the Mallorca V1",
  "shortDescr": "Hey, i am your"Description of the new copy of the Mallorca V1"
}



Card
labelResponse


Code Block
borderColorGreen
langxml
titleStatus
Status: 201 Created


Code Block
borderColorRed
langxml
titleJSON
{
    "topicCount": 0 favourite test entry",
        "thumbnail": "",
    "attachmentCount": 2,
    "createdprojectAttachmentCount": "2013-05-01T09:33:18"0,
        "createdbyname" : {
 "Copy of the Mallorca V1",
       "id" "shortDescr": "f4b1178d-385f-449c-a2a7-6f58b264d90c"
        Description of the new copy of the Mallorca V1",
    "emailhasWriteAccess" : "owner@company1.com"false,
        }"teamSlug": null,
    "thumbnail": null,
    "changedcreated": "20132014-0502-01T0913T12:3339:1836",
        "changedbycreatedby" : {
            "id" : "f4b1178de0837206-385f4bff-449c65d4-a2a7b79f-6f58b264d90cf3878c3567fd",
            "email" : "owner@company1demo@bimplus.comnet",
         }"firstname": "bim+",
        "addresslastname" : "Addressa ofservice companyby 1Allplan"
    },
    "hasWriteAccesschanged": false"2019-01-24T11:51:40.55",
    "changedby": {
   "teamSlug": "company1",
        "modelCountid" : 3"e0837206-4bff-65d4-b79f-f3878c3567fd",
        "memberCountemail" : 3,
        "size" : 63488"demo@bimplus.net",
        "sizeMBfirstname" : "0.06bim+",
        "rightslastname": {
"a service by Allplan"
     },
    "projectAdminmodelCount": false2,
            "projectDelete"memberCount": false1,
            "projectEdit"size": false32839680,
            "modelsCreate"attachmentsSize": false0,
            "modelsViewAllsizeMB": false"31.32",
        }
    }"approvalProcess": 0,
    {
        ""id": "0d2ce2cc990d0772-35888b87-45d6479a-a59a9ed6-f6b89ebed34eb0b46a204301"
}



Anchor
getCurrentProjectList
getCurrentProjectList

Get the logged in user's project List
Deck of Cards
idbimGetCurrentProjectList


Card
defaulttrue
labelURL / Resource / JSON Structure
Resource: projects 

URLhttps://api-stage.bimplus.net/v2/projects

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


Card
labelHTTP Method
 GET


Card
labelDescription
 Gets the entire list of projects in which the logged in user is a member


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": "Your Awesome Building",
        "shortDescr": "Example for creating a project",
        "thumbnail": "",
         "createdid": "0001-01-01T00:00:00586b02be-43b8-4e27-b698-e067e85e38e2",
        "createdbyname" : {
   "!!!!!_VORTEILSHAUS V40 SD45 Traufeingang",
         "idshortDescr": "7c555899-5a5f-44d1-930e-284930678bed",
    Hey, i am your favourite test entry",
        "emailthumbnail" : "testuser@bimplus.net"
        },
        "changedcreated": "00012013-0105-01T0001T09:0033:0018",
        "changedbycreatedby" :  {
            "id" : "7c555899f4b1178d-5a5f385f-44d1449c-930ea2a7-284930678bed6f58b264d90c",
            "email" : "testuser@bimplusowner@company1.netcom",
        },
        "addresschanged" : "My address somewhere2013-05-01T09:33:18",
        "hasWriteAccesschangedby" : true,{
            "teamSlugid" : "best-company",f4b1178d-385f-449c-a2a7-6f58b264d90c"
        "modelCount": 4,
   "email" : "owner@company1.com",
        },
        "address" : "Address of company 1"
        "hasWriteAccess": false,
        "teamSlug": "company1",
        "modelCount" : 3,
        "memberCount" : 23,
        "size" : 426393663488,
        "sizeMB" : "4,070.06",
        "rights": {
            "projectAdmin": truefalse,
            "projectDelete": truefalse,
            "projectEdit": truefalse,
            "modelsCreate": truefalse,
            "modelsViewAll": truefalse
        }
    },
]

...

Get the user's project list from a team
Deck of Cards
idbimGetProjectList
Card
defaulttrue
labelURL / Resource / JSON Structure
Resource: projects 

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

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

Card
labelHTTP Method
 GET
Card
labelDescription
 Gets the project list with main properties from a particular team in which the user is a member of.
Card
labelRequest
Code Block
borderColorGreen
langxml
titleHeaders
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json

 

This call also supports filtering and paging

Card
labelResponse
Code Block
borderColorGreen
langxml
titleStatus
Status: 200 OK
Code Block
borderColorRed
langxml
titleJSON
[
    {
        "id": "0d2ce2cc-3588-45d6-a59a-f6b89ebed34e",
        "name": "Your Awesome Building",
        "shortDescr": "Example for creating a project",
        "thumbnail": "",
        "created": "0001-01-01T00:00:00",
        "    {
        "id": "0d2ce2cc-3588-45d6-a59a-f6b89ebed34e",
        "name": "Your Awesome Building",
        "shortDescr": "Example for creating a project",
        "thumbnail": "",
        "created": "0001-01-01T00:00:00",
        "createdby" : {
            "id": "7c555899-5a5f-44d1-930e-284930678bed",
            "email" : "testuser@bimplus.net"
        },
        "changed": "0001-01-01T00:00:00",
        "changedby" : {
            "id": "7c555899-5a5f-44d1-930e-284930678bed",
            "email" : "testuser@bimplus.net"
        },
        "address" : "My address somewhere",
        "hasWriteAccess": true,
        "teamSlug": "best-company",
        "modelCount": 4,
        "memberCount": 2,
        "size" : 4263936,
        "sizeMB" : "4,07",
        "rights": {
            "projectAdmin": true,
            "projectDelete": true,
            "projectEdit": true,
            "modelsCreate": true,
            "modelsViewAll": true
        }
    },
]



Anchor
getProjectList
getProjectList

Get the user's project list from a team
Deck of Cards
idbimGetProjectList


Card
defaulttrue
labelURL / Resource / JSON Structure
Resource: projects 

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

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


Card
labelHTTP Method
 GET


Card
labelDescription
 Gets the project list with main properties from a particular team in which the user is a member of.


Card
labelRequest


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


This call also supports filtering and paging


Card
labelResponse


Code Block
borderColorGreen
langxml
titleStatus
Status: 200 OK


Code Block
borderColorRed
langxml
titleJSON
[
        {
        "id": "4e87944a-a477-4e4c-862e-e723dcb43066",
        "name": "UC_Fly-over Kerensheide",
        "shortDescr": "",
        "thumbnail": "",
        "created": "2013-05-10T07:13:38",
        "createdby" : {
            "id"id": "bda91f090d2ce2cc-2cc63588-45da45d6-bba0a59a-5f92828f58bcf6b89ebed34e",
        "name": "Your Awesome Building",
        "emailshortDescr" : "UserA@bimplus.net"Example for creating a project",
        }"thumbnail": "",
        "changedcreated": "20130001-0501-16T0701T00:3400:5600",
        "changedbycreatedby" : {
            "id": "7c555899-5a5f-44d1-930e-284930678bed",
            "email" : "testuser@bimplus.net"
        },
        "addresschanged" : "0001-01-01T00:00:00",
        "hasWriteAccesschangedby" : true,{
            "teamSlugid": "best-company7c555899-5a5f-44d1-930e-284930678bed",
            "modelCountemail" : 2,"testuser@bimplus.net"
        "memberCount": 3},
        "sizeaddress" : 63488"My address somewhere",
        "sizeMBhasWriteAccess": "0,06"true,
        "teamSlug": "best-company",
        "modelCount": 4,
        "memberCount": 2,
        "size" : 4263936,
        "sizeMB" : "4,07",
        "rights": {
            "projectAdmin": falsetrue,
            "projectDelete": falsetrue,
            "projectEdit": true,
            "modelsCreate": falsetrue,
            "modelsViewAll": true
        }
    },
]

...

Get the Project Properties
Resource: projects/<project_id>

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

Examplehttps://api-stage.bimplus.net/v2/bimplus/projects/586b02be-43b8-4e27-b698-e067e85e38e2

Optional query parameters

Deck of Cards
idbimGetProjectProp
Card
defaulttrue
labelURL / Resource / JSON Structure
Name
Type
Default value
Description
disciplinesstring (bool) true

When query parameter "disciplines=false" is defined, the API will return project properties except "disciplines" project property.
e.g. https://api-stage.bimplus.net/v2/bimplus/projects/586b02be-43b8-4e27-b698-e067e85e38e2?disciplines=false
This api call is faster variant when client does not use returned discipline project property .

Otherwise if query parameter "disciplines" is true (this is default) or is missing the call will return all project properties.
e.g. https://api-stage.bimplus.net/v2/bimplus/projects/586b02be-43b8-4e27-b698-e067e85e38e2?disciplines=true 

Card
labelHTTP Method
 GET
Card
labelDescription
 Get all the project properties of a project using its id.
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" : "Your Awesome Building",
	"shortDescr" : "Example for creating a project"    
	"teamName": "jay-company",
    "teamSlug": "jay-company",
    "hasWriteAccess": true,
    "thumbnail": "/jay-company/projects/de87fc4d-cb5d-44ba-b2ea-1d96ac564a8a/thumbnail/download",
    "created": "2014-02-14T09:48:27",
    "createdby"    {
        "id": "4e87944a-a477-4e4c-862e-e723dcb43066",
        "name": "UC_Fly-over Kerensheide",
        "shortDescr": "",
        "thumbnail": "",
        "created": "2013-05-10T07:13:38",
        "createdby" : {
            "id": "bda91f09-2cc6-45da-bba0-5f92828f58bc",
            "email" : "UserA@bimplus.net"
        },
        "changed": "2013-05-16T07:34:56",
        "changedby" : {
            "id": "71e0ac3b7c555899-fa495a5f-e54044d1-ac2f930e-8caff3dd72ed284930678bed",
            "email" : "jayarajtestuser@bimplus.purushothaman@gmail.comnet"
        },
    "changed": "2015-11-19T09:45:51",
    "changedbyaddress" : {""
        "idhasWriteAccess": "71e0ac3b-fa49-e540-ac2f-8caff3dd72ed"true,
        "emailteamSlug": "jayaraj.purushothaman@gmail.com"best-company",
    },
    "addressmodelCount": ""2,
    "modelCount": 1,
    "memberCount": 73,
    "topicCount": 30,
    "attachmentCountsize": 1363488,
    "size": 99317760,
    "sizeMB": "940,7206",
    "disciplines": [
       "rights": {
            "idprojectAdmin": "0f106af0-a919-44c5-b211-15bd5ef620b6"false,
            "nameprojectDelete": "ID_BuildingModel"false,
            "divisionIdprojectEdit": "b539790e-2ffc-43cd-9582-b4aa27b36693"true,
            "divisionNamemodelsCreate": "Model1"false,
            "divisionTopologyIdmodelsViewAll": "25f38274-7158-436d-9356-f5c917ee44c9",true
        }
    }
]



Anchor
getProjectProp
getProjectProp

Get the Project Properties
Deck of Cards
idbimGetProjectProp


Card
defaulttrue
labelURL / Resource / JSON Structure
Resource: projects/<project_id>

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

Examplehttps://api-stage.bimplus.net/v2/bimplus/projects/586b02be-43b8-4e27-b698-e067e85e38e2

Optional query parameters

Name
Type
Default value
Description
disciplinesstring (bool) true

When query parameter "disciplines=false" is defined, the API will return project properties except "disciplines" project property.
e.g. https://api-stage.bimplus.net/v2/bimplus/projects/586b02be-43b8-4e27-b698-e067e85e38e2?disciplines=false
This api call is faster variant when client does not use returned discipline project property .

Otherwise if query parameter "disciplines" is true (this is default) or is missing the call will return all project properties.
e.g. https://api-stage.bimplus.net/v2/bimplus/projects/586b02be-43b8-4e27-b698-e067e85e38e2?disciplines=true 



Card
labelHTTP Method
 GET


Card
labelDescription
 Get all the project properties of a project using its id.


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" : "Your Awesome Building",
	"shortDescr" : "Example for creating a project"    
	"teamName": "jay-company",
    "teamSlug": "jay-company",
    "hasWriteAccess": true,
    "thumbnail": "/jay-company/projects/de87fc4d-cb5d-44ba-b2ea-1d96ac564a8a/thumbnail/download",
    "created": "2014-02-14T09:48:27",
    "createdby": {
"revisions": [
                1
            ],
            "visible": false,
            "opaque": false,
            "opacity": 0
        },
        {
            "id": "30114b52-bc05-47c1-80b5-c7d5485d5840",
            "name": "ID_FinishModel",
            "divisionId": "b539790e-2ffc-43cd-9582-b4aa27b36693",
            "divisionName": "Model1",
            "divisionTopologyId": "25f38274-7158-436d-9356-f5c917ee44c9",
            "revisions": [
                1,2
            ],
            "visible": false,
            "opaqueid": false"71e0ac3b-fa49-e540-ac2f-8caff3dd72ed",
            "opacityemail": 0"jayaraj.purushothaman@gmail.com"
        },
        {"changed": "2015-11-19T09:45:51",
    "changedby": {
        "id": "09e623d471e0ac3b-1e12fa49-4a77e540-b358ac2f-ea1d0b28e4a78caff3dd72ed",
            "nameemail": "ID_RoomModel",jayaraj.purushothaman@gmail.com"
       },
     "divisionIdaddress": "b539790e-2ffc-43cd-9582-b4aa27b36693",
    "modelCount": 1,
       "divisionNamememberCount": "Model1"7,
    "topicCount": 30,
       "divisionTopologyIdattachmentCount": "25f38274-7158-436d-9356-f5c917ee44c9"13,
    "size": 99317760,
       "revisionssizeMB": ["94,72",
    "disciplines": [
          {
 1
            ]"id": "0f106af0-a919-44c5-b211-15bd5ef620b6",
            "visiblename": false"ID_BuildingModel",
            "opaquedivisionId": false"b539790e-2ffc-43cd-9582-b4aa27b36693",
            "opacitydivisionName": 0"Model1",
        }
    ],
"divisionTopologyId": "25f38274-7158-436d-9356-f5c917ee44c9",
            "rightsrevisions": {[
             "projectAdmin": true,   1
        "projectDelete": true    ],
            "projectEditvisible": truefalse,
            "modelsCreateopaque": truefalse,
            "modelsViewAllopacity": true0
        },
        {
            "id": "5cd37c7730114b52-d341bc05-4ab247c1-9f0d80b5-44467955b218c7d5485d5840"
}

...

Update the project
Resource: projects/<project_id>

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

Examplehttps://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e

JSON Structure

Deck of Cards
idbimUpdateProject
Card
defaulttrue
labelURL / Resource / JSON Structure

Name

Mandatory / Optional

Type

Description

idwill be ignoredstring (guid)Id of the project

name

mandatory

string

Name of the project

shortDescr

optional

string

Short description of the project

teamNamewill be ignoredstringName of the team to which the project belongs
teamSlugwill be ignoredstringSlug of the team to which the project belongs
hasWriteAccesswill be ignoredbooleanDon't use this property. This property is not deleted to support the older clients

created

will be ignored

string (date)

Creation date of the project

createdBywill be ignoredJSON objectDetails of the Bimplus user who has created the project
changedwill be ignoredstring(date)Modified date of the project
changedBywill be ignoredJSON objectDetails of the Bimplus user who has created the project
addressoptionalstringAddress of the project
modelCountwill be ignoredintNumber of models in this project
memberCountwill be ignoredintNumber of members in this project
topicCountwill be ignoredintNumber of topics in this project
attachmentCountwill be ignoredintNumber of attachments in this project
sizewill be ignoredintSize of the project in bytes
sizeInMBwill be ignoredstringSize of the project in MB
disciplineswill be ignoredJSON objectDisciplines found under this project
rightswill be ignoredJSON objectThe rights the user has for this project
Card
labelHTTP Method
 PUT
Card
labelDescription
 Update properties of the specified project.
Card
labelRequest
Code Block
borderColorGreen
langxml
titleHeaders
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
Code Block
borderColorRed
langxml
titleJSON
{
    "name" : "Your Awesome Building updated",
	"shortDescr" : "Example for updating a project",
    "address": "Changed address",
}
Card
labelResponse
Code Block
borderColorGreen
langxml
titleStatus
Status: 200 OK
Code Block
titleJSON
{
    "name" : "Your Awesome Building updated",
	"shortDescr" : "Example for updating a project",
    "teamName": "Best Company",
    "teamSlug": "best-company",
    "hasWriteAccess" ,
            "name": "ID_FinishModel",
            "divisionId": "b539790e-2ffc-43cd-9582-b4aa27b36693",
            "divisionName": "Model1",
            "divisionTopologyId": "25f38274-7158-436d-9356-f5c917ee44c9",
            "revisions": [
                1,2
            ],
            "visible": false,
            "opaque": false,
            "opacity": 0
        },
        {
            "id": "09e623d4-1e12-4a77-b358-ea1d0b28e4a7",
            "name": "ID_RoomModel",
            "divisionId": "b539790e-2ffc-43cd-9582-b4aa27b36693",
            "divisionName": "Model1",
            "divisionTopologyId": "25f38274-7158-436d-9356-f5c917ee44c9",
            "revisions": [
                1
            ],
            "visible": false,
            "opaque": false,
            "opacity": 0
        }
    ],
    "rights": {
        "projectAdmin": true,
        "projectDelete": true,
        "thumbnailprojectEdit": nulltrue,
        "createdmodelsCreate": "2013-06-01T10:05:00"true,
        "createdbymodelsViewAll" : {true
    },
    "id": "7c5558995cd37c77-5a5fd341-44d14ab2-930e9f0d-284930678bed44467955b218",
        "email" : "testuser@bimplus.net"
    },
    "changed": "2013-06-02T10:04:15",
    "changedby" : {
        "id": "7c555899-5a5f-44d1-930e-284930678bed",
        "email" : "testuser@bimplus.net"
    },
    "address" : "Changed address",
    "modelCount": 0,
    "memberCount": 1,
    "topicCount": 0,
    "attachmentCount": 0,
    "size": 0,
    "sizeMB": "0",
    "id": "0d2ce2cc-3588-45d6-a59a-f6b89ebed34e"
}

...


}



Anchor
updateProject
updateProject

Update the project
Deck of Cards
idbimUpdateProject


Card
defaulttrue
labelURL / Resource / JSON Structure
Resource: projects/<project_id>

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

Examplehttps://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e

JSON Structure

Name

Mandatory / Optional

Type

Description

idwill be ignoredstring (guid)Id of the project

name

mandatory

string

Name of the project

shortDescr

optional

string

Short description of the project

teamNamewill be ignoredstringName of the team to which the project belongs
teamSlugwill be ignoredstringSlug of the team to which the project belongs
hasWriteAccesswill be ignoredbooleanDon't use this property. This property is not deleted to support the older clients

created

will be ignored

string (date)

Creation date of the project

createdBywill be ignoredJSON objectDetails of the Bimplus user who has created the project
changedwill be ignoredstring(date)Modified date of the project
changedBywill be ignoredJSON objectDetails of the Bimplus user who has created the project
addressoptionalstringAddress of the project
modelCountwill be ignoredintNumber of models in this project
memberCountwill be ignoredintNumber of members in this project
topicCountwill be ignoredintNumber of topics in this project
attachmentCountwill be ignoredintNumber of attachments in this project
sizewill be ignoredintSize of the project in bytes
sizeInMBwill be ignoredstringSize of the project in MB
disciplineswill be ignoredJSON objectDisciplines found under this project
rightswill be ignoredJSON objectThe rights the user has for this project

...

Create an issue in the project with a view

See Create Issue in Topic Service

...

Get the Issue List from the project
Deck of Cards
idbimGetIssueListFromProject
Card
defaulttrue
labelURL / Resource / JSON Structure
Resource: projects/<project_id>issues 

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

Examplehttps://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e/issues



Card
labelHTTP Method
 GET PUT


Card
labelDescription

Get list of issues of given project.

Response depends on the user rights :

  • for project admin or account owner - returns all existing issues in the project
  • for project editor or viewer - returns only issues where the user is author or responsible ( although still exist the possibility to get all the issues, by using query parameter "?showAll=true" ) Update properties of the specified project.


    Card
    labelRequest


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

    This call also supports filtering and paging 

     

    Card
    labelResponse
    Code Block
    borderColorGreen
    langxml
    titleStatus
    Status: 200 OK: application/json
    


    Code Block
    borderColorRed
    langxml
    titleJSONJSON
    [
     {
      "name": "Wall info wrong",
      "author": {
        "id": "7c555899-5a5f-44d1-930e-284930678bed",
        "email": "testuser1@allplan.com",
        "firstname": "Test",
        "lastname": "User1",
        "company": "Allplan Bratislava",
        "fullname": "Test User1"
      },
      "responsible": {
        "idname" : "0132ecbe-2ac5-4ae1-945d-d38fc3bc1e82Your Awesome Building updated",
    	"shortDescr" : "Example for updating "email":a project"testuser1@allplan.com",
        "firstnameaddress": "Test",
    Changed address",
    }
    



    Card
    labelResponse


    Code Block
    borderColorGreen
    langxml
    titleStatus
    Status: 200 OK
    


    Code Block
    titleJSON
    {
        "lastnamename" : "User2Your Awesome Building updated",
    	"shortDescr" : "Example for "company": "Allplan Bratislavaupdating a project",
        "fullnameteamName": "TestBest User2Company",
      },
      "sceneteamSlug": null"best-company",
      "attachmentsCount": 0,
      "pinsCounthasWriteAccess" : 0true,
        "commentsCountthumbnail": 0null,
        "hyperlinksCountcreated": 0"2013-06-01T10:05:00",
        "shortIdcreatedby" : 4,{
      "projectId      "id": "de87fc4d7c555899-cb5d5a5f-44ba44d1-b2ea930e-1d96ac564a8a284930678bed",
      "description": "This wall is wrong",
      "statusemail" : "Open"testuser@bimplus.net"
        },
        "createdAtchanged": "20162013-0206-15T0802T10:12:49.9831726+01:0004:15",
      "modifiedAt  "changedby" : {
            "id": "2016-02-15T08:12:49.9831726+01:007c555899-5a5f-44d1-930e-284930678bed",
         "dueDate": null,
      "solutionemail" : "MySolution"testuser@bimplus.net"
        },
        "typeaddress" : "ProblemChanged address",
        "classificationmodelCount": "Problems"0,
        "prioritymemberCount": "High"1,
        "cctopicCount": [0,
        "abc@bimplus.net"attachmentCount": 0,
      ],
      "idsize": "01b5768a-bd19-4049-b72e-b44485514ef8"
     },
     ...
    ]
    

    ...

    Delete all the issues from the project
    Deck of Cards
    idbimDeleteIssueListFromProject
    Card
    defaulttrue
    labelURL / Resource / JSON Structure
    Resource: projects/<project_id>issues 

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

    Example: https://api-stage.bimplus.net/v2/bimplus/projects/
    0,
        "sizeMB": "0",
        "id": "0d2ce2cc-3588-45d6-a59a-f6b89ebed34e
    /issues
    Card
    labelHTTP Method
     DELETE
    Card
    labelDescription
     Delete all the issues belonging to a specified project.
    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
    createIssueInProject
    createIssueInProject

    Create an issue in the project with a view

    See Create Issue in Topic Service

    Anchor
    getIssueList
    getIssueList

    Get the Issue List from

    ...

    the project
    Deck of Cards
    idbimCreateAttachmentInProjectbimGetIssueListFromProject


    cardlabellabel
    Card
    defaulttrue
    labelURL / Resource / JSON Structure
    Resource: projects/<project_id>/attachments id>issues 

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

    Examplehttps://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e/attachmentsissues


    Optional query parameters

    Name
    HTTP Method
     POST
    Card
    TypeDefault value
    Description
     Creates a new attachment in a project.
    shortinfobooleanfalseWhen query parameter "shortinfo=true" is defined, the API function returns only classes of all tasks metric.



    Card
    labelHTTP Method
     GET


    Card
    labelDescription

    Get list of issues of given project.

    Response depends on the user rights :

    • for project admin or account owner - returns all existing issues in the project
    • for project editor or viewer - returns only issues where the user is author or responsible ( although still exist the possibility to get all the issues, by using query parameter "?showAll=true" )


    Card
    labelRequest


    Code Block
    borderColorGreen
    langxml
    titleHeaders
    Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
    Card
    labelRequest

    Bimplus supports creating and updating of attachments only using requests with multipart/form-data content type. By standard, multipart/form-data content consists of several parts, each part containing a file data.

    But Bimplus supports only one file sent per call, so only first part of multipart form data content is used, the rest are ignored. The parts are separated by boundaries, each part contains content headers and content data.

    Examples :

    Code Block
    borderColorGreen
    langxml
    titleHeaders
    Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
    Content-Type: multipart/form-data; boundary=----MyFormBoundarytlTJWL8i2mvYwGPW
    
    Code Block
    titleContent
    ------MyFormBoundarytlTJWL8i2mvYwGPW
    Content-Disposition: form-data; name="TestFile"; filename="TestFile.xml"; classification="Report"; tag="ABCDE"
    Content-Type: application/xml
     
    **** Here are file data  ******
     
    ------MyFormBoundarytlTJWL8i2mvYwGPW

    Where :

    • name and filename are mandatory saved as attachment's "name" and "filename" properties
    • classification and tag are optional, and are saved as attachment's properties "tag" and "classification"
    • Content-Type is mandatory and is saved as attachment's property "type"
    json
    

    This call also supports filtering and paging 



    Card
    labelResponse


    Code Block
    borderColorGreen
    langxml
    titleStatus
    Status: 201200 CreatedOK
    


    Code Block
    borderColorRed
    langxml
    titleJSON
    [
     {
    
         "name": "Wall info wrong",
      "objectIdsauthor": [{
             "0d2ce2cc-3588-45d6-a59a-f6b89ebed34e""id": "7c555899-5a5f-44d1-930e-284930678bed",
         ]"email": "testuser1@allplan.com",
         "fileNamefirstname": "TestFile.xmlTest",
         "typelastname": "application/xmlUser1",
         "sizecompany": 211258"Allplan Bratislava",
         "createdAtfullname": "2013-12-11T10:47:39",Test User1"
      },
       "creatorresponsible": {
             "id": "e18941f40132ecbe-a8092ac5-2d014ae1-d27d945d-cd251f2b6cb6d38fc3bc1e82",
             "email": "test@bimplustestuser1@allplan.netcom",
        "firstname": "Test",
        "firstnamelastname": "First NameUser2",
        "company": "Allplan Bratislava",
        "lastnamefullname": "SecondTest NameUser2",
      },
        "scene": null,
       "companyattachmentsCount": "Best-Company"0,
      "pinsCount": 0,
      "commentsCount": 0,
       "fullnamehyperlinksCount": "First0,
     Name Second Name",
           "shortId": 4,
      "displaynameprojectId": "Best-Companyde87fc4d-cb5d-44ba-b2ea-1d96ac564a8a",
      "description": "This wall }is wrong",
      "status": "Open",
      "changedcreatedAt" : "20132016-02-15T08:12-11T10:47:39:49.9831726+01:00",
         "changedBymodifiedAt": : {
           "2016-02-15T08:12:49.9831726+01:00",
      "iddueDate": "e18941f4-a809-2d01-d27d-cd251f2b6cb6"null,
             "email"solution": "test@bimplus.netMySolution",
         }"type": "Problem",
         "hashclassification": "68a59c1f-1914-43b8-92fc-1cee4ad1c90cProblems",
         "attachmentTypepriority" : "DocumentHigh",
      "cc": [
      "classification" : "Reportabc@bimplus.net",
      ],
       "tagid" : "ABCDE",
         "sizeMB" : "0,21",
         "version" : "1",
         "relatedId" : "01b5768a-bd19-4049-b72e-b44485514ef8"
     },
     ...
    ]
    



    Anchor
    deleteIssues
    deleteIssues

    Delete all the issues from the project
    Deck of Cards
    idbimDeleteIssueListFromProject


    Card
    defaulttrue
    labelURL / Resource / JSON Structure
    Resource: projects/<project_id>issues 

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

    Examplehttps://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e

    ", "rights" : { "update" : true, "share" : true, "delete" : true, "download" : true }, "id": "6cea110a-88f4-43ac-9a00-ebaf677be333" }

    ...

    /issues


    Card
    labelHTTP Method
     DELETE


    Card
    labelDescription
     Delete all the issues belonging to a specified project.


    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
    createAttachment
    createAttachment

    Create a new attachment in

    ...

    the project
    Deck of Cards
    idbimGetAttachmentListFromProjectbimCreateAttachmentInProject


    Card
    defaulttrue
    labelURL / Resource / JSON Structure
    Resource: projects/<project_id>/attachments 

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

    Examplehttps://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e/attachments


    Card
    labelHTTP Method
     GET POST


    Card
    labelDescription

     Get all the attachments belonging to a specified project. The normal attachment GET call (i.e projects/<project_id>/attachments) returns all the attachments inside a project i.e it iterates through all the objects inside a project and returns everything. If we want to retrieve the only the attachments that belongs to the project directly, then use ?projectOnly=true filter (i.e projects/<project_id>/attachments?projectOnly=true)

    This call also supports filtering and paging 

     Creates a new attachment in a project.


    Card
    labelRequest
    Card
    labelRequest

    Bimplus supports creating and updating of attachments using requests with multipart/form-data content type. By standard, multipart/form-data content consists of several parts, each part containing a file data.

    But Bimplus supports only one file sent per call, so only first part of multipart form data content is used, the rest are ignored. The parts are separated by boundaries, each part contains content headers and content data.

    Examples :

    Code Block
    borderColorGreen
    langxml
    titleHeaders
    Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
    Content-Type: application/json
    
    Card
    labelResponse
    Code Block
    borderColorGreen
    langxml
    titleStatus
    Status: 200 OKmultipart/form-data; boundary=----MyFormBoundarytlTJWL8i2mvYwGPW
    


    Code Block
    borderColorRed
    langxml
    titleJSONContent
    ------MyFormBoundarytlTJWL8i2mvYwGPW
    Content-Disposition: form-data; name="TestFile"; filename=[    
       {
    
         "objectIds": [
             "0d2ce2cc-3588-45d6-a59a-f6b89ebed34e"
         ],
         "fileName": "TestFile.xml"; classification="Report"; tag="ABCDE"
    Content-Type: application/xml
     
    **** Here are file data  ******
     
    ------MyFormBoundarytlTJWL8i2mvYwGPW

    Where :

    • name and filename are mandatory saved as attachment's "name" and "filename" properties
    • classification and tag are optional, and are saved as attachment's properties "tag" and "classification"
    • Content-Type is mandatory and is saved as attachment's property "type"


    Card
    labelResponse


    Code Block
    borderColorGreen
    langxml
    titleStatus
    Status: 201 Created
    


    Code Block
    borderColorRed
    langxml
    titleJSON
    {
    
         "objectIds": [,
         "type": "application/xml",
         "size": 211258,
         "createdAt": "2013-12-11T10:47:39",
         "creator": {
             "id": "e18941f4-a809-2d01-d27d-cd251f2b6cb6",
             "email": "test@bimplus.net",
             "firstname": "First Name",
             "lastname": "Second Name",
             "company": "Best-Company",0d2ce2cc-3588-45d6-a59a-f6b89ebed34e"
         ],
         "fullnamefileName": "First Name Second NameTestFile.xml",
             "displaynametype": "Best-Companyapplication/xml",
         }"size": 211258,
         "changedcreatedAt" : "2013-12-11T10:47:39",
         "changedBycreator" : {
             "id": "e18941f4-a809-2d01-d27d-cd251f2b6cb6",
             "email": "test@bimplus.net",
         },
         "hashfirstname": "68a59c1f-1914-43b8-92fc-1cee4ad1c90cFirst Name",
         "attachmentType" : "Document",
         "classificationlastname" : "ReportSecond Name",
         "tag" : "ABCDE",
         "sizeMBcompany" : "0,21Best-Company",
         "version" : "1",
         "relatedIdfullname" : "0d2ce2cc-3588-45d6-a59a-f6b89ebed34e",
         "rights" : {First Name Second Name",
             "updatedisplayname" : true,
             "share" : true "Best-Company",
         },
         "deletechanged" : true"2013-12-11T10:47:39",
             "downloadchangedBy" : true{
         },
         "id": "6cea110ae18941f4-88f4a809-43ac2d01-9a00d27d-ebaf677be333cd251f2b6cb6",
          },
      ...
    ]

    ...

    Delete all the attachments from the project

    ...

    idbimDeleteAttachmentListFromProject
    Card
    defaulttrue
    labelURL / Resource / JSON Structure
    Resource: projects/<project_id>/attachments 

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

    Examplehttps://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e/attachments

    Card
    labelHTTP Method
     DELETE
    Card
    labelDescription
     Delete all the attachments belonging to a specified project.
       "email": "test@bimplus.net",
         },
         "hash": "68a59c1f-1914-43b8-92fc-1cee4ad1c90c",
         "attachmentType" : "Document",
         "classification" : "Report",
         "tag" : "ABCDE",
         "sizeMB" : "0,21",
         "version" : "1",
         "relatedId" : "0d2ce2cc-3588-45d6-a59a-f6b89ebed34e",
         "rights" : {
             "update" : true,
             "share" : true,
             "delete" : true,
             "download" : true
         },
         "id": "6cea110a-88f4-43ac-9a00-ebaf677be333"
    }



    Anchor
    createChunkedAttachment
    createChunkedAttachment

    Create a new attachment in the project using chunked upload
    Deck of Cards
    idbimCreateChunkedAttachmentInProject


    Card
    defaulttrue

    ...

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

    ...

    labelResponse
    Code Block
    borderColorGreen
    langxml
    titleStatus
    Status: 200 OK
    

    ...

    Create a new objecttype in the project
    Deck of Cards
    idbimCreateObjectTypeInProject
    card
    labelURL / Resource / JSON Structure
    Resource: projects/<project_id>/attachments/chunked 

    objecttypesURLhttps://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id>/attachments/objecttypeschunked

    Examplehttps://api-stage.bimplus.net/v2/bimplus/projects/e2120b81-aff4-4ac7-b53d-83676ccdbe7d/objecttypes

    JSON Structure

    Name

    Mandatory / Optional

    Type

    Description

    idwill be ignoredstring (guid)Id of the objecttype
    projectIdwill be ignored
    string (guid)The id of the project the objecttype belongs to
    typeoptionalstringType of the objecttype. Can be one of the 'DocumentType', 'GroupType' or 'ModelType'

    name

    mandatory

    string

    Name of the objecttype

    description

    optional

    string

    Description of the objecttype

    customModeTypeoptionalboolean When this flag is true the objectype is custom and can be modified
    definedByoptionalJSON arrayArray of the definition layers (disciplines) for which the objecttype is valid
    Card
    labelHTTP Method
     POST
    Card
    labelDescription
     Creates a new objecttype in a project.

    0d2ce2cc-3588-45d6-a59a-f6b89ebed34e/attachments/chunked


    Card
    labelHTTP Method
     PUT


    Card
    labelDescription

    Creates a new attachment in a project. The upload can be performed in chunks that allow it to exceed the 2GB file limit. After uploading the 1st chunk the file gets locked until finishing upload of the last chunk based on the 'Content-Range' header.


    Card
    labelRequest
    Card
    labelRequest

    Bimplus supports creating and updating attachments in chunks.

    After the upload of the first chunk, the response contains a file ID, that should be passed as 'Chunk-FileId' header in upcoming requests.


    Examples :

    { "name":"UpdateTestObjectType", "definedBy":[{ "id":"d5106d4d-0eba-4d20-86bd-7fe56f33fc76" }, { "id":"2e5d5f07-6431-4bc6-b17c-49b5b8c585b7" } ] }
    Code Block
    borderColorGreen
    langxml
    titleHeaders
    Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
    Content-TypeRange: application/json
    
    Code Block
    borderColorRed
    langxml
    titleJSON
    bytes 0-20971520/22471573
    Chunk-FileId: 6cea110a-88f4-43ac-9a00-ebaf677be333 
    Content-Disposition: inline; name="Document"; filename="file.pdf"

    Where :

    • name and filename are mandatory saved as Content-Disposition "name" and "filename" properties
    • classification and tag are optional, and are saved as attachment's properties "tag" and "classification"
    • Content-Type is mandatory and is saved as attachment's property "type"


    Card
    labelResponse


    Code Block
    borderColorGreen
    langxml
    titleStatus
    Status: 201 Created
    


    Code Block
    borderColorRed
    langxml
    titleJSON
    {
    
         "idobjectIds":"c7d15b4e-02da-42c6-a1be-9082d3668cda",
      "projectId":"e2120b81-aff4-4ac7-b53d-83676ccdbe7d",
      "type":"ModelType",
      "name":"TestObjectType",
      "customModeType":true,
      "definedBy":[{
      [
             "0d2ce2cc-3588-45d6-a59a-f6b89ebed34e"
         ],
         "namefileName": "CommonMEPTestFile.xml",
          "idtype":"d5106d4d-0eba-4d20-86bd-7fe56f33fc76"
        },
        { "application/xml",
         "size": 211258,
          "namecreatedAt":"Heating "2013-12-11T10:47:39",
          "idcreator":"2e5d5f07-6431-4bc6-b17c-49b5b8c585b7" {
        }
      ]
    }

    ...

    Update the objecttype 
    Deck of Cards
    idbimUpdateObjectType
    Card
    defaulttrue
    labelURL / Resource / JSON Structure

    Resource: objecttypes/<objecttype_id>

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

    Examplehttps://api-stage.bimplus.net/v2/bimplus/objecttypes/c7d15b4e-02da-42c6-a1be-9082d3668cda

    JSON Structure:  See Create a new objecttype in the project

    Card
    labelHTTP Method
     PUT
    Card
    labelDescription
     Update properties of the specified objecttype.
    Card
    labelRequest
    Code Block
    borderColorGreen
    langxml
    titleHeaders
    Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
    Content-Type: application/json
    
    Code Block
    borderColorRed
    langxml
    titleJSON
    {
      "name":"UpdateTestModelType",
      "description":"update",
      "definedBy":[{
         "id": "e18941f4-a809-2d01-d27d-cd251f2b6cb6",
             "email": "test@bimplus.net",
             "firstname": "First Name",
             "lastname": "Second Name",
             "idcompany": "d5106d4d-0eba-4d20-86bd-7fe56f33fc76"Best-Company",
        }
      ]
    }
    Card
    labelResponse
    Code Block
    borderColorGreen
    langxml
    titleStatus
    Status: 200 OK
    
    Code Block
    titleJSON
    {
      "idfullname":"c7d15b4e-02da-42c6-a1be-9082d3668cda "First Name Second Name",
             "projectIddisplayname": "e2120b81-aff4-4ac7-b53d-83676ccdbe7dBest-Company",
        "type":"ModelType" },
         "namechanged" :"UpdateTestModelType",
      "description":"update" "2013-12-11T10:47:39",
      "customModeType":false,
       "definedBychangedBy" :[ {
             "nameid":"CommonMEP "e18941f4-a809-2d01-d27d-cd251f2b6cb6",
             "idemail":"d5106d4d-0eba-4d20-86bd-7fe56f33fc76" "test@bimplus.net",
         }
      ]
    }

    ...

    Get the objecttype 
    Deck of Cards
    idbimGetObjectType
    Card
    defaulttrue
    labelURL / Resource / JSON Structure

    Resource: objecttypes/<objecttype_id>

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

    Examplehttps://api-stage.bimplus.net/v2/bimplus/objecttypes/c7d15b4e-02da-42c6-a1be-9082d3668cda

    Card
    labelHTTP Method
     GET
    Card
    labelDescription

     Get requested objecttype  

    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
    {
      "id":"c7d15b4e-02da-42c6-a1be-9082d3668cda",
      "projectId":"e2120b81-aff4-4ac7-b53d-83676ccdbe7d",
      "type":"ModelType",
      "name":"UpdateTestModelType",
      "description":"update",
      "customModeType":true,
      "definedBy":[{
          "name":"CommonMEP",
     ,
         "hash": "68a59c1f-1914-43b8-92fc-1cee4ad1c90c",
         "attachmentType" : "Document",
         "classification" : "Report",
         "tag" : "ABCDE",
         "sizeMB" : "0,21",
         "version" : "1",
         "relatedId" : "0d2ce2cc-3588-45d6-a59a-f6b89ebed34e",
         "rights" : {
             "update" : true,
             "share" : true,
             "delete" : true,
             "download" : true
         },
         "id": "d5106d4d6cea110a-0eba88f4-4d20-86bd-7fe56f33fc76"
        }
      ]43ac-9a00-ebaf677be333"
    }




    Anchor
    getObjectTypesFromProjectgetAttachmentsgetObjectTypesFromProject
    getAttachments

    Get

    ...

    the Attachment List from the project
    Deck of Cards
    idbimGetObjectTypesFromProjectbimGetAttachmentListFromProject


    Card
    defaulttrue
    labelURL / Resource / JSON Structure
    Resource: projects/<project_id>/objecttypesattachments 

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

    Examplehttps://api-stage.bimplus.net/v2/bimplus/projects/e2120b810d2ce2cc-aff43588-4ac745d6-b53d-83676ccdbe7d/objecttypes

    Card
    labelHTTP Method
     GET

    a59a-f6b89ebed34e/attachments


    Card
    labelHTTP Method
     GET


    Card
    labelDescription

     Get all the attachments belonging to a specified project. The normal attachment GET call (i.e projects/<project_id>/attachments) returns all the attachments inside a project i.e it iterates through all the objects inside a project and returns everything. If we want to retrieve the only the attachments that belongs to the project directly, then use ?projectOnly=true filter (i.e projects/<project_id>/attachments?projectOnly=true)

    This call also supports filtering and paging 


    Card
    labelRequest


    Code Block
    borderColorGreen
    langxml
    titleHeaders
    Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
    Content-Type: application/json
    
    Card
    labelDescription
     Get allobjecttypes belonging to a specified project.



    Card
    labelRequestResponse


    Code Block
    borderColorGreen
    langxml
    titleStatus
    Status: 200 OK
    


    Code Block
    borderColorRed
    langxml
    titleHeaders
    Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
    Content-Type: application/json
    
    Card
    labelResponse
    JSON
    [    
       {
    
         "objectIds": [
             "0d2ce2cc-3588-45d6-a59a-f6b89ebed34e"
         ],
         "fileName": "TestFile.xml",
         "type": "application/xml",
         "size": 211258,
         "createdAt": "2013-12-11T10:47:39",
         "creator": {
             "id": "e18941f4-a809-2d01-d27d-cd251f2b6cb6",
             "email": "test@bimplus.net",
             "firstname": "First Name",
             "lastname": "Second Name
    Code Block
    borderColorGreen
    langxml
    titleStatus
    Status: 200 OK
    
    Code Block
    borderColorRed
    langxml
    titleJSON
    [{
        "id":"ef37183d-8c74-473a-80de-03ba98b9eb6d",
        "projectId":"e2120b81-aff4-4ac7-b53d-83676ccdbe7d",
             "typecompany": "DocumentTypeBest-Company",
             "namefullname":"Report "First Name Second Name",
             "descriptiondisplayname": "documenttypeBest-Company",
        "customModeType":true
      },
      {
        "idchanged" : "d4d2204a2013-6352-4252-8b44-3746c0d7fd1612-11T10:47:39",
        "projectId "changedBy" : {
             "id": "e2120b81e18941f4-aff4a809-4ac72d01-b53dd27d-83676ccdbe7dcd251f2b6cb6",
         "type":"DocumentType",
        "nameemail": "5486test@bimplus.net",
        "customModeType":true
      },
      {
        "idhash": "0b32947868a59c1f-66431914-474c43b8-b58092fc-41ccc9dad7501cee4ad1c90c",
         "projectIdattachmentType" :"e2120b81-aff4-4ac7-b53d-83676ccdbe7d "Document",
         "typeclassification" : "DocumentTypeReport",
         "nametag" : "SpecificationABCDE",
         "descriptionsizeMB" : "documenttype",
        "customModeType":true
      }0,21",
      {
        "idversion" :"90d5c7d8-2430-4c87-984e-76ae4e8dd72a "1",
         "projectIdrelatedId" : "e2120b810d2ce2cc-aff43588-4ac745d6-b53da59a-83676ccdbe7df6b89ebed34e",
         "typerights":"DocumentType",
        "name":"Presentation",
     : {
         "description":"documenttype",
        "customModeTypeupdate" : true,
      },
       {
        "idshare":"64b85111-8570-45ca-9c30-86f85bfb666f",
     : true,
             "projectIddelete":"e2120b81-aff4-4ac7-b53d-83676ccdbe7d" : true,
         "type":"DocumentType",
        "namedownload":"Contract", : true
        "description":"documenttype" },
         "customModeTypeid":true "6cea110a-88f4-43ac-9a00-ebaf677be333"
      },
      ...
    ]



    Anchor
    deleteObjectTypedeleteAttachmentsdeleteObjectType
    deleteAttachments

    Delete all the attachments from the project
    Deck of Cards
    idbimDeleteObjectTypebimDeleteAttachmentListFromProject


    Card
    defaulttrue
    labelURL / Resource / JSON Structure
    Resource: objecttypesprojects/<objecttype<project_id>/attachments 

    URLhttps://api-stage.bimplus.net/v2/<team_slug>/objecttypesprojects/<objecttype<project_id>/attachments

    Examplehttps://api-stage.bimplus.net/v2/bimplus/objecttypesprojects/c7d15b4e0d2ce2cc-02da3588-42c645d6-a1bea59a-9082d3668cdaf6b89ebed34e/attachments


    Card
    labelHTTP Method
     DELETE


    Card
    labelDescription
     Delete all the attachments belonging to a specified objecttypeproject.


    Card
    labelRequest


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



    Card
    labelResponse


    Code Block
    borderColorGreen
    langxml
    titleStatus
    Status: 200 OK
    



    ...

    Deck of Cards
    idbimGetProjectMaterialSurfaces


    Card
    labelURL / Resource / JSON Structure

    Resource: projects/<project_id>/materialsurfaces

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

    Examplehttps://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e/materialsurfaces


    Card
    labelHTTP Method
     GET


    Card
    labelDescription
     Get all material surfaces used in the project


    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
    [{
        "diffuseColor":8421504,
        "transparency":0,
        "argb":-8355712,
        "reflection":0,
        "refraction":1,
        "scaleX":0,
        "scaleY":0,
        "translateX":0,
        "translateY":0,
        "rotation":0,
        "diffuseReflectivity":100,
        "colorKeyTolerance":0,
        "multiToneFactor":0,
        "colorMixing":false,
        "alphaFromTexture":true,
        "useColorKey":false,
        "repeat":true,
        "metric":true,
        "emission":0,
        "bumpAmplitude":0,
        "roughness":0,
        "colorKey":0,
        "textures":[{
            "objectIds":["cdbd7fbc-0d02-4be5-adb3-04b7f0b2a638"
            ],
            "fileName":"diffuse-texture-image.jpg",
            "type":"image/jpeg",
            "size":31590,
            "createdAt":"2016-12-06T18:44:57.143",
            "creator":{
              "id":"78a94d0e-0d58-3f85-aafa-1e631c51b5d2",
              "email":null,
              "firstname":null,
              "lastname":null,
              "company":null,
              "fullname":"",
              "displayname":null
            },
            "changed":"2016-12-06T18:44:57.143",
            "changedBy":{
              "id":"78a94d0e-0d58-3f85-aafa-1e631c51b5d2",
              "email":null
            },
            "hash":"de78a77e-8bc7-4ffa-b4ac-a201b100a1ed",
            "attachmentType":"AllplanResource",
            "tag":"eDIFFUSE1|eDIFFUSE2|eDIFFUSE3|eDIFFUSE4",
            "sizeMB":"0,03",
            "version":1,
            "relatedId":"cdbd7fbc-0d02-4be5-adb3-04b7f0b2a638",
            "id":"1eeec814-bb81-4876-a608-fc28f864984f"
          }
        ],
        "id":"cdbd7fbc-0d02-4be5-adb3-04b7f0b2a638"
      },
      ...
    ]
    

     




    Anchor
    createThumbnail
    createThumbnail

    ...

    Deck of Cards
    idbimProjectActionsRights


    Card
    defaulttrue
    labelURL / Resource / JSON Structure
    Resource: project-actions-rights 

    URLhttps://api-stage.bimplus.net/v2/project-actions-rights


    Card
    labelHTTP Method
    GET


    Card
    labelDescription

    Purpose of this API call is to get required project rights for a Bimplus action.
    This is a static API call, meaning it's global for all the projects, and the response can only change after the deploy.

    Returns list of pairs of :
    - name of the action ( event )
    - required right the user must have for a project, to be able to execute that action

    Currently used project rights are:
    - ProjectAdmin
    - ProjectDelete
    - ProjectEdit
    - ProjectView
    - ModelViewAll
    - ModelCreate

    Clients can use this API to automatically handle access to Bimplus actions according to the role the user have in the project, e.g. enable/disable action buttons, ...

    And if Bimplus server will decide to change required project user rights for some action, this change will be reflected on the client automatically, without having to change the client's code.

     


    Important note:

    • this call does not includes all the Bimplus actions, but mostly those related to project and issues : actions of projects, models, issues, attachments, comments, pins, slides, slideshows, bcf, ..
     



    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
    [
      {
        "action": "UPDATE_PROJECT",
        "right": "ProjectEdit"
      },
      {
        "action": "DELETE_PROJECT",
        "right": "ProjectDelete"
      },
      {
        "action": "CREATE_MODEL",
        "right": "ModelCreate"
      },
      {
        "action": "UPDATE_MODEL",
        "right": "ProjectEdit"
      },
      {
        "action": "GET_MODEL",
        "right": "ProjectView"
      },
      {
        "action": "DELETE_MODEL",
        "right": "ProjectEdit"
      },
      {
        "action": "DOWNLOAD_MODEL",
        "right": "ProjectView"
      },
      {
        "action": "CREATE_ISSUE",
        "right": "ProjectEdit"
      },
      {
        "action": "GET_PROJECT_ISSUES",
        "right": "ProjectView"
      },
      {
        "action": "DELETE_PROJECT_ISSUES",
        "right": "ProjectAdmin"
      },
      {
        "action": "CREATE_COMMENT",
        "right": "ProjectEdit"
      },
      ...
    ]

    ...

     





    Anchor
    FilteringAndPaging
    FilteringAndPaging

    Filtering and paging

     


    Filtering and paging is implemented for following requests:

    ...

    The %26 is just url encoding of '&' = AND. The encoding is required because otherwise it will be considered as another query parameter, and not part of a filter. Combination using OR is not supported

     


    Examples :

     GET https://api-stage.bimplus.net/v2/<team_slug>/projects?filter=name=MyProject   - get project by name

    ...

     GET https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id>/attachments?filter=creator.email=myuser@allplan.com%26createdAt>2016-07-27T07:00:00 - get attachments created by the given user since the time