Project Service
...
...
Anchor |
---|
| projectService |
---|
| projectService |
---|
|
Project Service
...
A Project is basically a holder which contains building models.
...
Deck of Cards |
---|
|
Card |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: projects URL: https://api-stage.bimplus.net/v2/<team_slug>/projects Example: https://api-stage.bimplus.net/v2/bimplus/projects JSON Structure: Name | Mandatory / Optional | Type | Description |
---|
id | will be ignored | string (guid) | Id of the project | name | mandatory | string | Name of the project | shortDescr | optional | string | Short description of the project | teamName | will be ignored | string | Name of the team to which the project belongs | teamSlug | will be ignored | string | Slug of the team to which the project belongs | hasWriteAccess | will be ignored | boolean | Don't use this property. This property is not deleted to support the older clients | thumbnail | will be ignored | string | Direct download link to project thumbnail | created | will be ignored | string (date) | Creation date of the project | createdBy | will be ignored | JSON object | Details of the Bimplus user who has created the project | changed | will be ignored | string(date) | Modified date of the project | changedBy | will be ignored | JSON object | Details of the Bimplus user who has created the project | address | optional | string | Address of the project | modelCount | will be ignored | int | Number of models in this project | memberCount | will be ignored | int | Number of members in this project | topicCount | will be ignored | int | Number of topics in this project | attachmentCount | will be ignored | int | Number of attachments in this project | size | will be ignored | int | Size of the project in bytes | sizeInMB | will be ignored | string | Size of the project in MB | disciplines | will be ignored | JSON object | Disciplines found under this project | rights | will be ignored | JSON object | The rights the user has for this project |
|
Card |
---|
default | true |
---|
label | Description |
---|
| Creates a new project. |
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| {
"name" : "Your Awesome Building",
"shortDescr" : "Example for creating a project",
"address" : "My address somewhere"
}
|
|
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 201 Created
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| {
"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 |
---|
id | bimGetCurrentProjectListbimCreateCopyProjectFromSourceProject |
---|
|
Card |
---|
| Gets the entire list of projects in which the logged in user is a member |
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
|
/copyfrom JSON Structure: Name | Mandatory / Optional | Type | Description |
---|
id | mandatory | string(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 |
---|
| 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 |
---|
| Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | StatusHeaders |
---|
| StatusAuthorization: 200 OKBimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| [
{
"id": "586b02be1eb8efe0-43b87611-4e2747e7-b698a06d-e067e85e38e2102ec8e2fff6",
"name": "!!!!!_VORTEILSHAUS V40 SD45 Traufeingang"Copy of the Mallorca V1",
"shortDescr": "Hey, i am your favourite test entry"Description of the new copy of the Mallorca V1"
}
|
|
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 201 Created
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| {
",
"thumbnailtopicCount": ""0,
"attachmentCount": 2,
"createdprojectAttachmentCount": "2013-05-01T09:33:18"0,
"name": "Copy of the Mallorca "createdby" : {
V1",
"idshortDescr" : "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,
"teamSlug": "company1",
"2019-01-24T11:51:40.55",
"modelCountchangedby" : 3,{
"memberCountid" : 3"e0837206-4bff-65d4-b79f-f3878c3567fd",
"sizeemail" : 63488"demo@bimplus.net",
"sizeMBfirstname" : "0.06bim+",
"rightslastname": {
"a service by Allplan"
},
"projectAdminmodelCount": false2,
"memberCount": 1,
"projectDeletesize": false32839680,
"attachmentsSize": 0,
"projectEditsizeMB": false"31.32",
"modelsCreate"approvalProcess": false0,
"id": "990d0772-8b87-479a-9ed6-b0b46a204301"
} |
|
|
Anchor |
---|
| getCurrentProjectList |
---|
| getCurrentProjectList |
---|
|
Get the logged in user's project List
Deck of Cards |
---|
id | bimGetCurrentProjectList |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: projects URL: https://api-stage.bimplus.net/v2/projects Example: https://api-stage.bimplus.net/v2/projects |
Card |
---|
| Gets the entire list of projects in which the logged in user is a member |
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
|
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| [
{ "modelsViewAll": false
}
},
{
"id": "0d2ce2cc-3588-45d6-a59a-f6b89ebed34e",
"name": "Your Awesome Building",
"shortDescr": "Example for creating a project",
"thumbnail": null,
"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"
"email" : "owner@company1.com",
},
"address" : "Address of company 1"
"hasWriteAccess": false,
"teamSlug": "company1",
"modelCount" : 43,
"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 |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: projects URL: https://api-stage.bimplus.net/v2/<team_slug>/projects Example: https://api-stage.bimplus.net/v2/bimplus/projects |
Card |
---|
| Gets the project list with main properties from a particular team in which the user is a member of. |
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
|
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| [
{
"id": "586b02be-43b8-4e27-b698-e067e85e38e2 {
"id": "0d2ce2cc-3588-45d6-a59a-f6b89ebed34e",
"name": "Your Awesome Building",
"shortDescr": "Example for creating a project",
"thumbnail": "",
"created": "0001-01-01T00:00:00",
"namecreatedby" : "!!!!!_VORTEILSHAUS V40 SD45 Traufeingang",
{
"shortDescrid": "Hey, i am your favourite test entry",
7c555899-5a5f-44d1-930e-284930678bed",
"email" : "thumbnail": null,testuser@bimplus.net"
"created": "2013-05-01T09:33:18"},
"changed": "20130001-0501-01T0901T00:3300:1800",
"hasWriteAccesschangedby" : false,
{
"teamSlugid": "company17c555899-5a5f-44d1-930e-284930678bed",
"rights": {
"email" : "testuser@bimplus.net"
"projectAdmin": false},
"address" : "projectDelete": false"My address somewhere",
"projectEdithasWriteAccess": falsetrue,
"modelsCreateteamSlug": false"best-company",
"modelsViewAllmodelCount": false4,
}
}"memberCount": 2,
{
"idsize" : "0d2ce2cc-3588-45d6-a59a-f6b89ebed34e"4263936,
"namesizeMB" : "Your Awesome Building4,07",
"shortDescrrights": "Example{
for creating a project",
"thumbnailprojectAdmin": nulltrue,
"createdprojectDelete": "0001-01-01T00:00:00"true,
"changedprojectEdit": "0001-01-01T00:00:00"true,
"hasWriteAccess": true,
"teamSlug": "best-company",
"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 |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: projects URL: https://api-stage.bimplus.net/v2/<team_slug>/projects Example: https://api-stage.bimplus.net/v2/bimplus/projects |
Card |
---|
| Gets the project list with main properties from a particular team in which the user is a member of. |
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
This call also supports filtering and paging |
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| [
{
"id": "0d2ce2cc-3588-45d6-a59a-f6b89ebed34eid": "4e87944a-a477-4e4c-862e-e723dcb43066",
"name": "UC_Fly-over Kerensheide",
"shortDescr": null,
"thumbnail": null,
"created": "2013-05-10T07:13:38",
"changed": "2013-05-16T07:34:56",
"hasWriteAccessname": false "Your Awesome Building",
"teamSlugshortDescr": "company2Example for creating a project",
"rightsthumbnail": {"",
"created": "0001-01-01T00:00:00",
"projectAdmincreatedby" : false,{
"projectDeleteid": false"7c555899-5a5f-44d1-930e-284930678bed",
"projectEditemail" : false,
"testuser@bimplus.net"
},
"modelsCreatechanged": false"0001-01-01T00:00:00",
"modelsViewAllchangedby" : true{
}
}
]
|
|
|
...
Get the Project Properties
Deck of Cards |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: projects/<project_id> URL: https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id> Example: https://api-stage.bimplus.net/v2/bimplus/projects/586b02be-43b8-4e27-b698-e067e85e38e2 |
Card |
---|
| Get all the project properties of a project using its id. |
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
|
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| {
"name" : "Your Awesome Building",
"shortDescr" : "Example for creating a project"
"teamName": "jay"id": "7c555899-5a5f-44d1-930e-284930678bed",
"email" : "testuser@bimplus.net"
},
"address" : "My address somewhere",
"hasWriteAccess": true,
"teamSlug": "best-company",
"teamSlugmodelCount": "jay-company"4,
"hasWriteAccessmemberCount": true2,
"thumbnailsize" : ""4263936,
"createdsizeMB" : "2014-02-14T09:48:274,07",
"createdbyrights": {
"idprojectAdmin": "71e0ac3b-fa49-e540-ac2f-8caff3dd72ed"true,
"emailprojectDelete": "jayaraj.purushothaman@gmail.com"
true,
},
"changedprojectEdit": "2015-11-19T09:45:51"true,
"changedby": {
"idmodelsCreate": "71e0ac3b-fa49-e540-ac2f-8caff3dd72ed"true,
"emailmodelsViewAll": "jayaraj.purushothaman@gmail.com"true
}
},
{
"addressid": "4e87944a-a477-4e4c-862e-e723dcb43066",
"modelCount": 1,
"memberCountname": 7 "UC_Fly-over Kerensheide",
"topicCount": 30,
"attachmentCountshortDescr": 13"",
"size": 0,
"sizeMBthumbnail": "0",
"disciplinescreated": ["2013-05-10T07:13:38",
"createdby" : {
"id": "0f106af0bda91f09-a9192cc6-44c545da-b211bba0-15bd5ef620b65f92828f58bc",
"nameemail" : "ID_BuildingModel",UserA@bimplus.net"
},
"divisionIdchanged": "b539790e2013-2ffc-43cd-9582-b4aa27b3669305-16T07:34:56",
"divisionNamechangedby" : "Model1",{
"divisionTopologyIdid": "25f382747c555899-71585a5f-436d44d1-9356930e-f5c917ee44c9284930678bed",
"revisionsemail" : ["testuser@bimplus.net"
},
"address" : 1""
"hasWriteAccess": true,
],
"teamSlug": "best-company",
"visiblemodelCount": false2,
"opaquememberCount": false3,
"opacitysize": 063488,
}"sizeMB": "0,06",
"rights": {
"idprojectAdmin": "30114b52-bc05-47c1-80b5-c7d5485d5840"false,
"nameprojectDelete": "ID_FinishModel"false,
"divisionIdprojectEdit": "b539790e-2ffc-43cd-9582-b4aa27b36693",
true,
"divisionNamemodelsCreate": "Model1"false,
"divisionTopologyIdmodelsViewAll": "25f38274-7158-436d-9356-f5c917ee44c9",true
"revisions": [}
}
]
|
|
|
Anchor |
---|
| getProjectProp |
---|
| getProjectProp |
---|
|
Get the Project Properties
Deck of Cards |
---|
|
Card |
---|
| Get all the project properties of a project using its id. |
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
|
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| {
"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 1
],
"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": {
"projectAdminid": true"71e0ac3b-fa49-e540-ac2f-8caff3dd72ed",
"projectDeleteemail": true"jayaraj.purushothaman@gmail.com"
},
"changed": "2015-11-19T09:45:51",
"projectEditchangedby": true,{
"modelsCreateid": true"71e0ac3b-fa49-e540-ac2f-8caff3dd72ed",
"modelsViewAllemail": true"jayaraj.purushothaman@gmail.com"
},
"idaddress": "5cd37c77-d341-4ab2-9f0d-44467955b218"
} |
|
|
...
",
"modelCount": 1,
"memberCount": 7,
"topicCount": 30,
"attachmentCount": 13,
"size": 99317760,
"sizeMB": "94,72",
"disciplines": [
{
"id": "0f106af0-a919-44c5-b211-15bd5ef620b6",
"name": "ID_BuildingModel",
"divisionId": "b539790e-2ffc-43cd-9582-b4aa27b36693",
"divisionName": "Model1",
"divisionTopologyId": "25f38274-7158-436d-9356-f5c917ee44c9",
"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,
"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,
"projectEdit": true,
"modelsCreate": true,
"modelsViewAll": true
},
"id": "5cd37c77-d341-4ab2-9f0d-44467955b218"
} |
|
|
Anchor |
---|
| updateProject |
---|
| updateProject |
---|
|
Update the project
Deck of Cards |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: projects/<project_id> URL: https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id> Example: https://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e JSON Structure: Name | Mandatory / Optional | Type | Description |
---|
id | will be ignored | string (guid) | Id of the project | name | mandatory | string | Name of the project | shortDescr | optional | string | Short description of the project | teamName | will be ignored | string | Name of the team to which the project belongs | teamSlug | will be ignored | string | Slug of the team to which the project belongs | hasWriteAccess | will be ignored | boolean | Don'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 | createdBy | will be ignored | JSON object | Details of the Bimplus user who has created the project | changed | will be ignored | string(date) | Modified date of the project | changedBy | will be ignored | JSON object | Details of the Bimplus user who has created the project | address | optional | string | Address of the project | modelCount | will be ignored | int | Number of models in this project | memberCount | will be ignored | int | Number of members in this project | topicCount | will be ignored | int | Number of topics in this project | attachmentCount | will be ignored | int | Number of attachments in this project | size | will be ignored | int | Size of the project in bytes | sizeInMB | will be ignored | string | Size of the project in MB | disciplines | will be ignored | JSON object | Disciplines found under this project | rights | will be ignored | JSON object | The rights the user has for this project |
|
Card |
---|
| Update properties of the specified project. |
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| {
"name" : "Your Awesome Building updated",
"shortDescr" : "Example for updating a project",
"address": "Changed address",
}
|
|
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
Code Block |
---|
| {
"name" : "Your Awesome Building updated",
"shortDescr" : "Example for updating 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-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 |
---|
| createIssueInProject |
---|
| createIssueInProject |
---|
|
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 |
---|
id | bimGetIssueListFromProject |
---|
|
Card |
---|
| 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 the project
Deck of Cards |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: projects/<project_id> URL: https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id> Example: https://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e JSON Structure: Name | Mandatory / Optional | Type | Description |
---|
id | will be ignored | string (guid) | Id of the project | name | mandatory | string | Name of the project | shortDescr | optional | string | Short description of the project | teamName | will be ignored | string | Name of the team to which the project belongs | teamSlug | will be ignored | string | Slug of the team to which the project belongs | hasWriteAccess | will be ignored | boolean | Don'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 | createdBy | will be ignored | JSON object | Details of the Bimplus user who has created the project | changed | will be ignored | string(date) | Modified date of the project | changedBy | will be ignored | JSON object | Details of the Bimplus user who has created the project | address | optional | string | Address of the project | modelCount | will be ignored | int | Number of models in this project | memberCount | will be ignored | int | Number of members in this project | topicCount | will be ignored | int | Number of topics in this project | attachmentCount | will be ignored | int | Number of attachments in this project | size | will be ignored | int | Size of the project in bytes | sizeInMB | will be ignored | string | Size of the project in MB | disciplines | will be ignored | JSON object | Disciplines found under this project | rights | will be ignored | JSON object | The rights the user has for this project |
|
Card |
---|
| Update or replace a specified existing project with a new one. |
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
This call also supports filtering and paging
|
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| {
"properties": [
{
"MainFloorArea": "456m²",
"Architect"name": "Wall info wrong",
"author": {
"nameid": "NemetschekTech.GmbH7c555899-5a5f-44d1-930e-284930678bed",
"phone1"email": "089/12793-1115testuser1@allplan.com",
"phone2"firstname": "0171/71384483Test",
"emaillastname": "MyName@Nemetschek.comUser1",
"citycompany": "MunichAllplan Bratislava",
"zip"fullname": "81829Test User1",
},
"responsible": {
"streetid": "Konrad-Zuse-Platz1"
}0132ecbe-2ac5-4ae1-945d-d38fc3bc1e82",
"Customeremail": {
"testuser1@allplan.com",
"namefirstname": "Bimplus customerTest",
"phone1"lastname": "001-201-1279345User2",
"company": "Allplan Bratislava",
"emailfullname": "MyName@Nemetschek.com",Test User2"
},
"scene": null,
"attachmentsCount": 0,
"citypinsCount": "New Jersy"0,
"commentsCount": 0,
"hyperlinksCount": 0,
"shortId": 4,
"zipprojectId": "08201"de87fc4d-cb5d-44ba-b2ea-1d96ac564a8a",
"description": "This wall }is wrong",
}
}
|
|
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
|
|
...
"status": "Open",
"createdAt": "2016-02-15T08:12:49.9831726+01:00",
"modifiedAt": "2016-02-15T08:12:49.9831726+01:00",
"dueDate": null,
"solution": "MySolution",
"type": "Problem",
"classification": "Problems",
"priority": "High",
"cc": [
"abc@bimplus.net"
],
"id": "01b5768a-bd19-4049-b72e-b44485514ef8"
},
...
]
|
|
|
Delete all the issues from the project
Deck of Cards |
---|
id | bimDeleteIssueListFromProject |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: projects/<project_id>issues URL: https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id>/issues Example: https://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e/issues |
|
...
Create an issue in the project with a view
Deck of Cards |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: projects/<project_id>issues URL: https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id>/issues Example: https://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e/issues JSON Structure: | Name | Mandatory / Optional | Type | Description |
---|
shortId | will be ignored | number | Readable unique issue number (always starts with 1 for each project) | projectId | will be ignored | string (guid) | Id of the project | name | optional | string | Name of the issue | description | optional | string | Description of the issue | author | optional | object | Author of the issue | responsible | optional | object | Responsible person for the issue | status | optional | string | Status of the issue. Should have one of the values: Open, Solved or Closed | createdAt | will be ignored | string (date) | Creation date of the issue | dueDate | optional | string (date) | The date in which the issue is planned to be finished | solution | optional | string | The proposed solution for the issue | classification | optional | string | The classification to which the issues belongs | priority | optional | string | The priority of the issue. Should have one of the values: Low, Medium or High | tag | optional | string | custom classification | modifiedAt | optional | string | Modified date of the issue | scene | optional | Fixed template | Scene/View of this topic. The pre-defined template is present here
Card |
---|
| Creates a new issue in a project. While creating an issue in a project, a view of an object can be created & included as a property in the topic similar to the Slideshow. This is similar to creating slides & the template for creating slides is present here Delete all the issues belonging to a specified project. |
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
: application/json
|
|
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
|
|
Anchor |
---|
| createAttachment |
---|
| createAttachment |
---|
|
Create a new attachment in the project
Deck of Cards |
---|
id | bimCreateAttachmentInProject |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: projects/<project_id>/attachments URL: https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id>/attachments Example: https://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e/attachments |
Card |
---|
| Creates a new attachment in a project. |
Card |
---|
| 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 |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: multipart/form-data; boundary=----MyFormBoundarytlTJWL8i2mvYwGPW
|
Code Block |
---|
| ------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"
|
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 201 Created
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| {
"objectIds": [ | Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| {
"name": "Wall info wrong",
"author": {
"id": "71e0ac3b-fa49-e540-ac2f-8caff3dd72ed",
"email": "jayaraj.purushothaman@gmail.com",
"status": "Active",
"firstname": "Jayaraj",
"lastname": "Purushothaman",
"company": "Jay Company",
"fullname": "Jayaraj Purushothaman",
"displayname": "Jayaraj Purushothaman [Jay Company]",
"info": null,
"gender": "MR",
"phoneWork": null,
"phoneHome": null,
"fax": null,
"mobile": "",
"birthDate": null,
"address": {
"street": "",
"streetNr": "",
"zip": "",
"city": "",
"country": ""
},
"preferedLanguage": "en"
},
"responsible": {
"id": "6e67ba070d2ce2cc-50c33588-d51d45d6-23f0a59a-3ac0d8788202f6b89ebed34e",
],
"emailfileName": "jayarajTestFile.purushothaman@bimplus.netxml",
"statustype": "Activeapplication/xml",
"firstnamesize": "Jayaraj"211258,
"lastnamecreatedAt": "Purushothaman2013-12-11T10:47:39",
"companycreator": "Bimplus GmbH",
{
"fullnameid": "Jayaraj Purushothamane18941f4-a809-2d01-d27d-cd251f2b6cb6",
"displaynameemail": "Jayaraj Purushothaman [Bimplus GmbH]test@bimplus.net",
"infofirstname": null"First Name",
"genderlastname": "MRSecond Name",
"phoneWorkcompany": null"Best-Company",
"phoneHomefullname": null "First Name Second Name",
"faxdisplayname": null"Best-Company",
"mobile": ""},
"changed" "birthDate": null: "2013-12-11T10:47:39",
"addresschangedBy" : {
"streetid": "e18941f4-a809-2d01-d27d-cd251f2b6cb6",
"streetNremail": "test@bimplus.net",
},
"ziphash": "68a59c1f-1914-43b8-92fc-1cee4ad1c90c",
"attachmentType" : "Document",
"cityclassification" : "Report",
"tag" : "ABCDE",
"countrysizeMB" : "0,21",
"version" : }"1",
"preferedLanguagerelatedId" : "de"
},
0d2ce2cc-3588-45d6-a59a-f6b89ebed34e",
"scenerights" : null,{
"attachmentsCount": 0,
"pinsCountupdate" : 4true,
"commentsCount": 1,
"hyperlinksCountshare" : 0true,
"shortId": 1,
"projectIddelete" : "5cd37c77-d341-4ab2-9f0d-44467955b218"true,
"description": "test1",
"statusdownload" : "Open",true
"createdAt": "2014-05-09T10:15:24+02:00" },
"modifiedAtid": "2015-07-30T07:04:27+02:00",
"dueDate": null,
"solution": null,
"type": "Remark",
"classification": null,
"priority": "Medium",
"cc": [
"ssudha84@gmail.com",
"rush2jayaraj@yahoo.co.in"
],
"clashId": "70d07604-cf68-4d94-abc0-c783f8cc548b",
"id": "5eac4d92-c65b-49c8-927c-9f255879a5c2"
}6cea110a-88f4-43ac-9a00-ebaf677be333"
} |
|
|
Anchor |
---|
| createChunkedAttachment |
---|
| createChunkedAttachment |
---|
|
Create a new attachment in the project using chunked upload
Deck of Cards |
---|
id | bimCreateChunkedAttachmentInProject |
---|
|
Card |
---|
| 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 |
---|
| 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 : Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Range: 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 |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 201 Created
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| {
"shortIdobjectIds": 1[
"projectId": "0d2ce2cc-3588-45d6-a59a-f6b89ebed34e"
],
"namefileName": "Fire Exit WrongTestFile.xml",
"descriptiontype": "The fire exit is in the wrong place",
"author" : { "id" : "92fa66c6-4114-d68e-974c-0ff78a49fda8" }"application/xml",
"size": 211258,
"createdAt": "2013-12-11T10:47:39",
"responsiblecreator" : {
"id" : "11fa66c6e18941f4-4114a809-d68e2d01-974cd27d-0ff78a49fda8cd251f2b6cb6",
},
"statusemail": "opentest@bimplus.net",
"createdAtfirstname": "First "2013-06-02T10:05:00+00:00",
Name",
"lastname": "Second Name",
"dueDatecompany": "2013-06-05T10:05:00+00:00Best-Company",
"solution": null,
"classificationfullname": "First Name Second Name",
"prioritydisplayname": "very highBest-Company",
"revision": null},
"idchanged" : "8ead8bfe-ab23-4340-ac47-38181e83bff3"
}
|
|
|
...
Get the Issue List from the project
Deck of Cards |
---|
id | bimGetIssueListFromProject |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: projects/<project_id>issues URL: https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id>/issues Example: https://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e/issues |
Card |
---|
| Get all the issues assigned to a specified project. |
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
|
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| [
{
"shortId": 12013-12-11T10:47:39",
"changedBy" : {
"id": "e18941f4-a809-2d01-d27d-cd251f2b6cb6",
"email": "test@bimplus.net",
},
"hash": "68a59c1f-1914-43b8-92fc-1cee4ad1c90c",
"attachmentType" : "Document",
"classification" : "Report",
"tag" : "ABCDE",
"sizeMB" : "0,21",
"version" : "1",
"projectIdrelatedId" : "0d2ce2cc-3588-45d6-a59a-f6b89ebed34e",
"name": "Fire Exit Wrong",
"description": "The fire exit is in the wrong place",
"author": "Mr. Smart",
"status": "open",
"createdAt": "2013-06-02T10:05:00+00:00",
"dueDate": "2013-06-05T10:05:00+00:00",
"solution": null,
"classification": "",
"priority": "very high",
"revision": null,
"id": "8ead8bfe-ab23-4340-ac47-38181e83bff3"
},
{
"shortId": 2,
"projectId": "0d2ce2cc-3588-45d6-a59a-f6b89ebed34e",
"name": "Geometry information missing for wall",
"description": "The geometry information is missing for the wall in the kitchen",
"author": "Mr. Architect",
"status": "open",
"createdAt": "2013-06-02T10:05:00+00:00",
"dueDate": "2013-06-05T10:05:00+00:00",
"solution": null,
"classification": "",
"priority": "high",
"revision": null,
"id": "a171bc90-b03f-4ddd-9794-cf77f424f4e2"
}
]
|
|
|
...
rights" : {
"update" : true,
"share" : true,
"delete" : true,
"download" : true
},
"id": "6cea110a-88f4-43ac-9a00-ebaf677be333"
} |
|
|
Anchor |
---|
| getAttachments |
---|
| getAttachments |
---|
|
Get the Attachment List from the project
Deck of Cards |
---|
id | bimGetAttachmentListFromProject |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: projects/<project_id>/attachments URL: https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id>/attachments Example: https://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e/attachments |
Card |
---|
| 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 |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
|
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | 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",
"company": "Best-Company",
"fullname": "First Name Second Name",
"displayname": "Best-Company",
},
"changed" : "2013-12-11T10:47:39",
"changedBy" : {
"id": "e18941f4-a809-2d01-d27d-cd251f2b6cb6",
"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 |
---|
| deleteAttachments |
---|
| deleteAttachments |
---|
|
Delete all the attachments from the project
Deck of Cards |
---|
id | bimDeleteAttachmentListFromProject |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: projects/<project_id>/attachments URL: https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id>/attachments Example: https://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e/attachments |
Card |
---|
| Delete all the attachments belonging to a specified |
|
...
Delete all the issues from the project
Deck of Cards |
---|
id | bimDeleteIssueListFromProject |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: projects/<project_id>issues URL: https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id>/issues Example: https://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e/issues |
Card |
---|
| Delete all the issues belonging to a specified project. |
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
|
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
|
|
...
Create a new attachment in the project
Deck of Cards |
---|
id | bimCreateAttachmentInProject |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: projects/<project_id>/attachments URL: https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id>/attachments Example: https://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e/attachments JSON Structure: Please note that all the information required for this call will be taken from the document that you attach and hence the request of this call has no body. Name | Mandatory / Optional | Type | Description |
---|
objectIds | optional | string | The id of the objects to which the file has to be attached | fileName | optional | string | Name of the file to be attached to the project | type | optional | string | Mime type | sizeInMB | optional | integer | Size of the file to be attached to the project | createdAt | will be ignored | string | Creation date of the attachment | creator | will be ignored | object | The user who created the attachment | attachmentType | will be ignored | string | Type of attachment. It could be one of the following : Thumbnail, Ifc, SketchUp, AllplanResource, AllplanDrawing, AllplanLayout, AllplanLayoutDocument, AutodeskResource, Revit, AutoCadDrawing Please note that there exists a filter for it. See the filter section | classification | optional | string | Classify the attachments. The existing classifications are : Plan, Cost, Contract, Drawing , Specification, Report, Image | tag | optional | string | User defined classification (We will change this to a list later) |
|
Card |
---|
| Creates a new attachment in a project. |
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: multipart/form-data
|
Image Removed | Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
|
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
|
|
Anchor |
---|
| getProjectTopology |
---|
| getProjectTopology |
---|
|
Get the project topology tree
Deck of Cards |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: projects/<project_id>/topology URL: https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id>/topology Example: https://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e/topology |
Card |
---|
| Get the project topology tree. |
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
|
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| {
"parent": null,
"name": My Project,
"type": "Project",
"children": [ |
| Card |
---|
| Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 201 Created
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| {
"objectIds": [
"0d2ce2cc-3588-45d6-a59a-f6b89ebed34e"
],
"fileName": "Building_Plan.jpg",
"type": "image/jpeg",
"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",
"fullname": "First Name Second Name",
"displayname": "Best-Company",
"info": "",
"gender": "",
"phoneWork": "",
"phoneHome": "",
"fax": "",{
"mobile": "",
"birthDateifcId": "0000-00-001o1vYcpcH5KRRKl5voLOXN",
"address": {
"streetifcType": "Westermeier str.IfcBuilding",
"streetNrparent": "100d2ce2cc-3588-45d6-a59a-f6b89ebed34e",
"zipname": "81829"null,
"citytype": "MünchenID_TopologyDivision",
"countrychildren": "Germany"[],
},
"preferedLanguageid": "en195db084-3715-4ebc-b164-3ee47a495b2e"
},
],
"id": "6cea110a0d2ce2cc-88f43588-43ac45d6-9a00a59a-ebaf677be333f6b89ebed34e"
}
|
|
|
Anchor |
---|
| getAttachmentsgetSpotListFromProjectgetAttachments |
---|
| getSpotListFromProject |
---|
|
Get the
...
spot list from the project
Deck of Cards |
---|
id | bimGetAttachmentListFromProjectbimGetSpotListFromProject |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: projects/<project_id>/attachments pins URL: https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id>/attachmentspins Example: https://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc586b02be-43b8-35884e27-45d6-a59a-f6b89ebed34e/attachments |
Card |
---|
| 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) |
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
|
Card |
---|
| Get the spot list from the project |
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
|
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| [
{
"issueId": "5eac4d92-c65b-49c8-927c-9f255879a5c2",
"objectId": "442af981-4175-4f1d-90f0-ef1c8641f0cb",
"topologyNodeId": "4be5ffd3-1e5e-42a7-9844-23b55fb39253",
"position": {
"x": 78696.44,
"y": 9652.251,
"z": 580
},
"normalVector": {
"x": 0,
"y": 0,
"z": 1
},
"createdAt": "2014-05-09T12:17:18", |
| Card |
---|
| Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| {
"objectIdsid": [ "3ba43939-5805-4aac-b7a5-8cf3b5833ac3"
},
{
"issueId": "0d2ce2cc5333bb42-35882cb9-45d64f11-a59aafd8-f6b89ebed34e120c79edef37",
]"objectId": "ae1a139a-1e13-491f-b6d8-a46f699e295e",
"fileNametopologyNodeId": "Building_Plan.jpg37a26e8b-566e-4d6e-8ab2-f35a715e83e2",
"typeposition": "image/jpeg",
{
"x": 41677.4336,
"sizey": 21125810095.9512,
"createdAtz": "2013-12-11T10:47:39"-9020
},
"creatornormalVector": {
"idx": "e18941f4-a809-2d01-d27d-cd251f2b6cb6"0,
"emaily": "test@bimplus.net"0,
"firstnamez": "First Name"1
},
"lastnamecreatedAt": "Second Name2014-05-09T12:17:33",
"companyid": "Best-Company"fa9acf26-efdf-4297-80b5-2422bbf6e35a"
},
{
"fullnameissueId": "First Name Second Name5eac4d92-c65b-49c8-927c-9f255879a5c2",
"displaynameobjectId": "Best-Companyeffc5f9f-dcae-4e5f-9a67-189d4a285612",
"infotopologyNodeId": """4be5ffd3-1e5e-42a7-9844-23b55fb39253",
"genderposition": "",{
"phoneWorkx": ""-440,
"phoneHomey": ""10767.11,
"faxz": "",-8243.917
"mobile": ""},
"birthDatenormalVector": "0000-00-00",
{
"addressx": {-1,
"streety": "Westermeier str."0,
"streetNrz": "10",0
},
"zipcreatedAt": "818292014-05-27T08:56:46",
"cityid": "München"a014fcf3-c72e-4def-bc41-58b349b31591"
},
{
"countryissueId": "Germany""5333bb42-2cb9-4f11-afd8-120c79edef37",
} "objectId": "367af808-de74-41b4-a3fb-1bfb50559da3",
"preferedLanguagetopologyNodeId": "en"
9fc99e93-2f33-4247-b3a4-2a6658a9b750",
},"position": {
"id": "6cea110a-88f4-43ac-9a00-ebaf677be333"
} |
|
|
...
Delete all the attachments from the project
Deck of Cards |
---|
id | bimDeleteAttachmentListFromProject |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: projects/<project_id>/attachments URL: https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id>/attachments Example: https://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e/attachments |
Card |
---|
| Delete all the attachments belonging to a specified project. |
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
|
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
|
|
...
Get the project topology tree
Deck of Cards |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: projects/<project_id>/topology URL: https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id>/topology Example: https://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e/topology |
Card |
---|
| Get the project topology tree. |
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
|
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| {
"parent": null,
"name": null,
"type": "Project",
"children": [
{ "x": 22525.0254,
"y": 10334.1377,
"z": -9172
},
"normalVector": {
"x": 0,
"y": 0,
"z": 1
},
"createdAt": "2014-05-21T13:34:07",
"id": "2b693990-a611-4b05-9efd-7485a9aeebbb"
},
{
"issueId": "5eac4d92-c65b-49c8-927c-9f255879a5c2",
"objectId": "83821c97-0020-480e-b863-9981df590c0a",
"topologyNodeId": "aa7e1b6f-7324-459b-a114-9833806f89ed",
"position": {
"x": 664.999939,
"y": 7197.733,
"parentz": "0d2ce2cc-3588-45d6-a59a-f6b89ebed34e",-58535.82
},
"namenormalVector": null,{
"typex": "ID_TopologyDivision"-1,
"childreny": []0,
"idz": "195db084-3715-4ebc-b164-3ee47a495b2e"0
},
] "createdAt": "2014-05-27T09:18:17",
"id": "0d2ce2ccf2a9c63f-35882514-45d64c1f-a59abe78-f6b89ebed34e758a984b5430"
}
] |
|
|
Anchor |
---|
| getSpotListFromProjectgetProjectDisciplinesgetSpotListFromProject |
---|
| getProjectDisciplines |
---|
|
Get the
...
project disciplines
Deck of Cards |
---|
id | bimGetSpotListFromProjectbimGetProjectDisc |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: projects/<project_id>/pins disciplines URL: https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id>/pinsdisciplines Example: https://api-stage.bimplus.net/v2/bimplus/projects/586b02be-43b8-4e27-b698-e067e85e38e2/pinsdisciplines |
Card |
---|
| Get the spot list from the projectlayers of a project. |
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
| | Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
|
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| [
{ |
| Card |
---|
| Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| [
{
"issueId": "5eac4d92-c65b-49c8-927c-9f255879a5c2",
"objectId": "442af981-4175-4f1d-90f0-ef1c8641f0cb",
"topologyNodeId": "4be5ffd3-1e5e-42a7-9844-23b55fb39253",
"position": {
"x": 78696.44,
"y": 9652.251,
"z": 580
},
"normalVectorid": {"0f106af0-a919-44c5-b211-15bd5ef620b6",
"xname": 0"ID_BuildingModel",
"ydivisionId": 0"ac21b9a1-8853-4658-9fbf-0cf62340bd18",
"zdivisionName": 1
}"Model 1",
"createdAtdivisionTopologyId": "2014-05-09T12:17:1860c8362a-eb91-412d-ac67-c5d787bf36cb",
"idrevisions": "3ba43939-5805-4aac-b7a5-8cf3b5833ac3"[
},
{
"issueId": "5333bb42-2cb9-4f11-afd8-120c79edef37",1
"objectId": "ae1a139a-1e13-491f-b6d8-a46f699e295e" ],
"topologyNodeIdvisible": "37a26e8b-566e-4d6e-8ab2-f35a715e83e2"false,
"positionopaque": {false,
"opacity": 0
"x": 41677.4336 },
{
"yid": 10095.9512"63b069d2-81df-4418-91de-8a954fa12924",
"name": "ID_DesignModel_Timber",
"zdivisionId": -9020"ac21b9a1-8853-4658-9fbf-0cf62340bd18",
}"divisionName": "Model 1",
"normalVectordivisionTopologyId": {
"60c8362a-eb91-412d-ac67-c5d787bf36cb",
"xrevisions": 0,[
"y": 0,1,2
"z": 1],
}"visible": false,
"createdAtopaque": "2014-05-09T12:17:33"false,
"idopacity": "fa9acf26-efdf-4297-80b5-2422bbf6e35a"0
},
{
"issueIdid": "5eac4d9230114b52-c65bbc05-49c847c1-927c80b5-9f255879a5c2c7d5485d5840",
"objectIdname": "effc5f9f-dcae-4e5f-9a67-189d4a285612ID_FinishModel",
"topologyNodeIddivisionId": "4be5ffd3ac21b9a1-1e5e8853-42a74658-98449fbf-23b55fb392530cf62340bd18",
"positiondivisionName": {
"x": -440,
"Model 1",
"ydivisionTopologyId": 10767.11,
"z": -8243.917
}"60c8362a-eb91-412d-ac67-c5d787bf36cb",
"normalVectorrevisions": {[
"x": -1,2
"y": 0],
"zvisible": 0
}false,
"createdAtopaque": "2014-05-27T08:56:46"false,
"idopacity": "a014fcf3-c72e-4def-bc41-58b349b31591"0
},
{
"issueIdid": "5333bb4209e623d4-2cb91e12-4f114a77-afd8b358-120c79edef37ea1d0b28e4a7",
"objectIdname": "367af808-de74-41b4-a3fb-1bfb50559da3ID_RoomModel",
"topologyNodeIddivisionId": "9fc99e93ac21b9a1-2f338853-42474658-b3a49fbf-2a6658a9b7500cf62340bd18",
"positiondivisionName": {
"x": 22525.0254,
"Model 1",
"ydivisionTopologyId": 10334.1377"60c8362a-eb91-412d-ac67-c5d787bf36cb",
"zrevisions": -9172[
},
1
"normalVector": {
],
"xvisible": 0false,
"yopaque": 0false,
"zopacity": 10
},
"createdAt": "2014-05-21T13:34:07",
"id": "2b693990-a611-4b05-9efd-7485a9aeebbb"
},
{
"issueId": "5eac4d92-c65b-49c8-927c-9f255879a5c2",
"objectId": "83821c97-0020-480e-b863-9981df590c0a",
"topologyNodeId": "aa7e1b6f-7324-459b-a114-9833806f89ed",
"position": {
"x": 664.999939,
"y": 7197.733,
"z": -58535.82
},
"normalVector": {
"x": -1,
"y": 0,
"z": 0
},
"createdAt": "2014-05-27T09:18:17",
"id": "f2a9c63f-2514-4c1f-be78-758a984b5430"
}
] |
|
|
...
Anchor |
---|
| getProjectMaterialSurfaces |
---|
| getProjectMaterialSurfaces |
---|
|
Get material surfaces of the project
Deck of Cards |
---|
id | bimGetProjectMaterialSurfaces |
---|
|
Card |
---|
| Get all material surfaces used in the project |
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json |
|
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| [{
"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":[ |
|
|
...
Get the project disciplines
Deck of Cards |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: projects/<project_id>/disciplines URL: https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id>/disciplines Example: https://api-stage.bimplus.net/v2/bimplus/projects/586b02be-43b8-4e27-b698-e067e85e38e2/disciplines |
Card |
---|
| Get the layers of a project. |
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
|
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| [
{
"idobjectIds": ["0f106af0cdbd7fbc-a9190d02-44c54be5-b211adb3-15bd5ef620b6"04b7f0b2a638"
],
"namefileName": "ID_BuildingModel"diffuse-texture-image.jpg",
"divisionIdtype": "ac21b9a1-8853-4658-9fbf-0cf62340bd18"image/jpeg",
"divisionNamesize": null31590,
"revisions": []createdAt":"2016-12-06T18:44:57.143",
},
"creator":{
"id": "63b069d278a94d0e-81df0d58-44183f85-91de-8a954fa12924",
aafa-1e631c51b5d2",
"email":null,
"firstname":null,
"namelastname": "ID_DesignModel_Timber"null,
"divisionIdcompany": "ac21b9a1-8853-4658-9fbf-0cf62340bd18"null,
"divisionNamefullname": null"",
"revisionsdisplayname": []null
},
{},
"idchanged": "30114b522016-bc05-47c1-80b5-c7d5485d584012-06T18:44:57.143",
"namechangedBy": "ID_FinishModel",
{
"divisionIdid": "ac21b9a178a94d0e-88530d58-46583f85-9fbfaafa-0cf62340bd181e631c51b5d2",
"divisionNameemail": nullnull
},
"revisionshash": []"de78a77e-8bc7-4ffa-b4ac-a201b100a1ed",
"attachmentType":"AllplanResource",
},
{"tag":"eDIFFUSE1|eDIFFUSE2|eDIFFUSE3|eDIFFUSE4",
"idsizeMB": "09e623d4-1e12-4a77-b358-ea1d0b28e4a7"0,03",
"nameversion": "ID_RoomModel"1,
"divisionIdrelatedId": "ac21b9a1cdbd7fbc-88530d02-46584be5-9fbfadb3-0cf62340bd1804b7f0b2a638",
"divisionNameid": null,"1eeec814-bb81-4876-a608-fc28f864984f"
}
],
"revisionsid": []"cdbd7fbc-0d02-4be5-adb3-04b7f0b2a638"
},
}...
]
|
|
|
Anchor |
---|
| createThumbnail |
---|
| createThumbnail |
---|
|
...
Deck of Cards |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: projects/<project_id>/thumbnail URL: https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id>/thumbnail Example: https://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e/thumbnail |
Card |
---|
| Creates or uploads a thumbnail to the project. |
Card |
---|
| Headers and content are the same as for Create attachment Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: multipart/form-data
|
Thumbnail API call: Image Removed |
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 201 Created
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| {
fileName: "MyThumbnail.jpg"
type: "image/jpeg"
size: 5262
id: "0d2ce2cc-3588-45d6-a59a-f6b89ebed34e"
}
|
|
|
...
Deck of Cards |
---|
id | bimDownloadThumbnailOfProject |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: thumbnail/<thumbnail_id> URL: https://api-stage.bimplus.net/v2/<team_slug>/thumbnail/<thumbnail_id> Example: https://api-stage.bimplus.net/v2/bimplus/thumbnail/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e |
Card |
---|
| Downloads the thumbnail. |
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: multipart/form-data
|
|
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
Response content type is the same as is the "type" of the thumbnail, e.g. "image/jpeg" |
|
Anchor |
---|
| getStructureList |
---|
| getStructureList |
---|
|
...
Deck of Cards |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: comments, hyperlinks
URL: https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id>/comments OR https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id>/hyperlinks Example: https://api-stage.bimplus.net/v2/bimplus/projects/db540336-47a3-426e-b3bf-1e532bfac8ea>/comments OR https://api-stage.bimplus.net/v2/bimplus/projects/db540336-47a3-426e-b3bf-1e532bfac8ea>/hyperlinks
|
Card |
---|
| Get all the comments, hyperlinks from the project |
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
|
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| {
"parent": null,
"name": "Test for Structure",
"type": "ID_Project",
"children": [
{
"parent": "622272da-f1ff-45ab-a3f0-c8f1255c80e8",
"name": "TestStructure",
"type": "Structure",
"children": [
{
"parent": "179439d6-df16-41cc-bd2c-74d05b7995d5",
"name": "Node 1",
"type": "Structure",
"children": [
{
"parent": "adf506ae-3628-4501-9af1-22bcf27e4ab4",
"name": "WallConnection",
"type": "StructureElement",
"children": [
{
"parent": "35b986c2-e9cd-482e-9281-6000671a49f0",
"name": "Wall-005",
"type": "ID_ArchWall",
"children": [],
"id": "df4a81d6-42fb-4187-bbce-82a2fc093b2f"
}
],
"id": "35b986c2-e9cd-482e-9281-6000671a49f0-9281-6000671a49f0"
}
],
"id": "adf506ae-3628-4501-9af1-22bcf27e4ab4"
}
}
],
],"id": "179439d6-df16-41cc-bd2c-74d05b7995d5"
}
],
"id": "adf506ae-3628-4501-9af1-22bcf27e4ab4"
}
],
"id": "179439d6-df16-41cc-bd2c-74d05b7995d5"
}
],
"id": "622272da-f1ff-45ab-a3f0-c8f1255c80e8"
} |
|
|
...
"622272da-f1ff-45ab-a3f0-c8f1255c80e8"
} |
|
|
Anchor |
---|
| deleteProject |
---|
| deleteProject |
---|
|
Delete the project
Deck of Cards |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: projects/<project_id> URL: https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id> Example: https://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e |
Card |
---|
| Deletes a specified project. |
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
|
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
|
|
Anchor |
---|
| ProjectActionsRights |
---|
| ProjectActionsRights |
---|
|
Get project actions rights
Deck of Cards |
---|
id | bimProjectActionsRights |
---|
|
Card |
---|
| 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, ..
|
|
...
Delete the project
Deck of Cards |
---|
|
Card |
---|
default | true |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: projects/<project_id> URL: https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id> Example: https://api-stage.bimplus.net/v2/bimplus/projects/0d2ce2cc-3588-45d6-a59a-f6b89ebed34e |
Card |
---|
| Deletes a specified project.
|
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Headers |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
|
Card |
---|
|
Code Block |
---|
borderColor | Green |
---|
lang | xml |
---|
title | Status |
---|
| Status: 200 OK
|
|
|
Code Block |
---|
borderColor | Red |
---|
lang | xml |
---|
title | JSON |
---|
| [
{
"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:
- get list of projects
- get project attachments
- get project issues ( only paging, not filtering )
Paging
Using following query parameters :
- page - requested number of page
- pageSize - size of page
- sortColumn - name of the column ( property ) by which the list is sorted
- sortDirection - asceding or descending
Examples :
GET https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id>/attachments?page=1&pageSize=5&sortColumn=fileName&sortDirection=descending
GET https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id>/issues?page=2&pageSize=10
GET https://api-stage.bimplus.net/v2/<team_slug>/projects?sortColumn=name&sortDirection=ascending
Filtering :
Using a filter added as a query parameter. Filter has following format : ?filter=<property><operator><value>
For the "property" you may use any property of the requested resource, or even inner property, e.g. creator.Email
Supported operators are : "=", "!=", "<", ">", ">=", "<=" and "*"
It is also possible to combine expressions in filter using AND operator : ?filter=<property1><operator1><value1>%26<property2><operator2><value2>%26,,,
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?filter=name=MyProject* - get projects where name starts with "MyProject"
GET https://api-stage.bimplus.net/v2/<team_slug>/projects/<project_id>/attachments?filter=size>500000 - get attachments with size greater then ...
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{"name":"Nemetschek","shortDescr":"description\n","teamName":"jay-company","teamSlug":"jay-company","hasWriteAccess":true,"thumbnail":"","created":"2014-02-14T09:48:27","createdby":{"id":"71e0ac3b-fa49-e540-ac2f-8caff3dd72ed","email":"jayaraj.purushothaman@gmail.com"},"changed":"2015-11-19T09:45:51","changedby":{"id":"71e0ac3b-fa49-e540-ac2f-8caff3dd72ed","email":"jayaraj.purushothaman@gmail.com"},"address":"","modelCount":1,"memberCount":7,"topicCount":30,"attachmentCount":13,"size":0,"sizeMB":"0","disciplines":[{"id":"0f106af0-a919-44c5-b211-15bd5ef620b6","name":"ID_BuildingModel","divisionId":"b539790e-2ffc-43cd-9582-b4aa27b36693","divisionName":"Model1","divisionTopologyId":"25f38274-7158-436d-9356-f5c917ee44c9","revisions":[1],"visible":false,"opaque":false,"opacity":0.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],"visible":false,"opaque":false,"opacity":0.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.0}],"rights":{"projectAdmin":true,"projectDelete":true,"projectEdit":true,"modelsCreate":true,"modelsViewAll":true},"id":"5cd37c77-d341-4ab2-9f0d-44467955b218"}