Model Service
...
Model Service
...
A Model is basically a technical building plan which could be created or imported.
Create a new model
Deck of Cards |
---|
|
Card |
---|
| Creates a new model. |
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
title | Headers |
---|
lang | xml |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
Code Block |
---|
borderColor | Red |
---|
title | JSON |
---|
lang | xml |
---|
| {
"name":"Model D",
"description":"Creating a model via API"
} |
|
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
title | Status |
---|
lang | xml |
---|
| Status: 201 Created
|
Code Block |
---|
borderColor | Red |
---|
title | JSON |
---|
lang | xml |
---|
| {
"name": "Model D",
"description": "Creating a model via API",
"projectId": "743a24f9-baaa-41b9-90b3-91717238043c",
"id": "afbb314f-fdde-43e7-9a49-90e16c1a6131"
} |
|
|
Anchor |
---|
| getAllModelList |
---|
| getAllModelList |
---|
|
Get the logged in user's model list
Deck of Cards |
---|
|
Card |
---|
| Gets the list of existing models that belong to the logged in user. |
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
title | Headers |
---|
lang | xml |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
|
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
title | Status |
---|
lang | xml |
---|
| Status: 200 OK
|
Code Block |
---|
borderColor | Red |
---|
title | JSON |
---|
lang | xml |
---|
| [
{
"name": "Model A - Vogel",
"description": null,
"projectId": "743a24f9-baaa-41b9-90b3-91717238043c",
"topologyId": "fc4be8b1-bf85-4c6f-b9c2-bac6474ddb1d",
"id": "d81494b9-9731-4d2e-8fbe-da62f5270182"
},
{
"name": "Model B - house sketchup",
"description": null,
"projectId": "743a24f9-baaa-41b9-90b3-91717238043c",
"topologyId": "2d20d707-9c18-44c0-92f4-282948cd5cf5",
"id": "deec1913-2c6e-4580-a40f-7e1ad33a6300"
},
{
"name": "Model C - Nemetschek",
"description": null,
"projectId": "743a24f9-baaa-41b9-90b3-91717238043c",
"topologyId": "d762b01d-6e63-4c68-9192-fc62faccbe87",
"id": "e687b45b-d90d-4361-94ab-baf269588c0a"
}
] |
|
|
Get the list of existing models inside a project
Deck of Cards |
---|
|
Card |
---|
| Gets the list of existing models inside a project. |
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
title | Headers |
---|
lang | xml |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
|
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
title | Status |
---|
lang | xml |
---|
| Status: 200 OK
|
Code Block |
---|
borderColor | Red |
---|
title | JSON |
---|
lang | xml |
---|
| [
{
"name": "Model A - Vogel",
"description": null,
"projectId": "743a24f9-baaa-41b9-90b3-91717238043c",
"topologyId": "fc4be8b1-bf85-4c6f-b9c2-bac6474ddb1d",
"id": "d81494b9-9731-4d2e-8fbe-da62f5270182"
},
{
"name": "Model B - house sketchup",
"description": null,
"projectId": "743a24f9-baaa-41b9-90b3-91717238043c",
"topologyId": "2d20d707-9c18-44c0-92f4-282948cd5cf5",
"id": "deec1913-2c6e-4580-a40f-7e1ad33a6300"
},
{
"name": "Model C - Nemetschek",
"description": null,
"projectId": "743a24f9-baaa-41b9-90b3-91717238043c",
"topologyId": "d762b01d-6e63-4c68-9192-fc62faccbe87",
"id": "e687b45b-d90d-4361-94ab-baf269588c0a"
}
] |
|
|
Anchor |
---|
| getModelDetails |
---|
| getModelDetails |
---|
|
Get the model details
Deck of Cards |
---|
|
Card |
---|
| Get all the details of a model using its id. |
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
title | Headers |
---|
lang | xml |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
|
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
title | Status |
---|
lang | xml |
---|
| Status: 200 OK
|
Code Block |
---|
borderColor | Red |
---|
title | JSON |
---|
lang | xml |
---|
| {
"name": "Model C - Nemetschek",
"description": null,
"projectId": "743a24f9-baaa-41b9-90b3-91717238043c",
"topologyId": "d762b01d-6e63-4c68-9192-fc62faccbe87",
"disciplines": [
"0f106af0-a919-44c5-b211-15bd5ef620b6",
"09e623d4-1e12-4a77-b358-ea1d0b28e4a7"
],
"id": "e687b45b-d90d-4361-94ab-baf269588c0a"
} |
|
|
Anchor |
---|
| getModelDisciplines |
---|
| getModelDisciplines |
---|
|
Get the list of discipines from the model
Deck of Cards |
---|
|
Card |
---|
| Get all the details of a model using its id. |
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
title | Headers |
---|
lang | xml |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
|
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
title | Status |
---|
lang | xml |
---|
| Status: 200 OK
|
Code Block |
---|
borderColor | Red |
---|
title | JSON |
---|
lang | xml |
---|
| [
{
"category": "/1/",
"name": "ID_BuildingModel",
"ifcType": null,
"id": "0f106af0-a919-44c5-b211-15bd5ef620b6"
},
{
"category": "/2/",
"name": "ID_RoomModel",
"ifcType": null,
"id": "09e623d4-1e12-4a77-b358-ea1d0b28e4a7"
}
] |
|
|
Update the model
Deck of Cards |
---|
|
Card |
---|
| Update or replace a specified existing model with a new one. |
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
title | Headers |
---|
lang | xml |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
Code Block |
---|
borderColor | Red |
---|
title | JSON |
---|
lang | xml |
---|
| {
"name":"Model D",
"description":"Updating the model D"
} |
|
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
title | Status |
---|
lang | xml |
---|
| Status: 200 OK
|
|
|
Anchor |
---|
| downloadModel |
---|
| downloadModel |
---|
|
Download the model
Deck of Cards |
---|
|
Card |
---|
| Download the already uploaded model. There also exists a POST method for downloading the model where you have to pass the "token" as a form parameter. |
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
title | Headers |
---|
lang | xml |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
|
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
title | Status |
---|
lang | xml |
---|
| Status: 200 OK
|
Code Block |
---|
borderColor | Red |
---|
title | JSON |
---|
lang | xml |
---|
| {
"name": "Model A",
"description": null,
"projectId": "481338c4-81f2-45bc-864a-bcd048a13a4c",
"topologyId": "149e81c4-5270-4b44-b25b-c65fa88a7f14",
"disciplines": [
"0f106af0-a919-44c5-b211-15bd5ef620b6",
"09e623d4-1e12-4a77-b358-ea1d0b28e4a7"
],
"ifcFile": "/bimplus-gmbh/divisions/e45412f8-cd22-4c7e-a5f8-410de55824e2/download",
"id": "e45412f8-cd22-4c7e-a5f8-410de55824e2"
} |
|
|
Delete the model
Deck of Cards |
---|
|
Card |
---|
| Deletes a specified project. |
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
title | Headers |
---|
lang | xml |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
|
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
title | Status |
---|
lang | xml |
---|
| Status: 200 OK
|
|
|