Card |
---|
label | URL / Resource / JSON Structure |
---|
| Resource: objects URL: https://api-stage.bimplus.net/v2/<team>/objects Example: https://api-stage.bimplus.net/v2/bimplus/objects JSON Structure: Name | Mandatory / Optional | Type | Description |
---|
parent | optional | string (guid) | The id of the parent to which the object can be associated | type | mandatory | string | Element type of the object | attributes | optional | string | Attributes of the object | children | optional | Object | Children of the object |
|
Card |
---|
| Creates a new object |
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
title | Headers |
---|
lang | xml |
---|
| Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
|
Code Block |
---|
borderColor | Red |
---|
title | JSON |
---|
lang | xml |
---|
| {
"parent" : "7f76a497b793c860-e322d3b8-4b7848a5-b820aa42-1ce85ebc39db9df9e24a0d71",
"type": "Wall",
"attributes": {
"element": {
"isparentelementtyp": false"10074eef-9418-4d64-9c6d-23932835a7f1",
"nrdivisionid": 0,"4496b8ad-ba5a-483c-9912-2cb837178708"
"matrix": "AAAAAAAA8D8AAAAAAAAAgAAAAAAAAACAINejcP1YsEAAAAAAAAAAgAAAAAAAAPA/AAAAAAAAAIAK16Nw/fy2QAAAAAAAAACAAAAAAAAAAIAAAAAAAADwPwAArkfheoS/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA8D8="},
"elementtypgeneral": "10074eef-9418-4d64-9c6d-23932835a7f1",
{
"divisionidname": "ac21b9a1-8853-4658-9fbf-0cf62340bd18a new test wall without walllayer"
},
"generalquantity": {
"namewidth": "Brickwall"100,
"isobjectvalidvolume": true200.4
},
"quantitygeometry": {
"widthmesh": 115{
},
"allplancolor": {4291407461,
"allplan_guidvertices": "08b8195a-a2ad-11e2-9993-002215ea7d6b",
[
-3486.667,
"allplan_id": 2065507287 0,
"allplan_text": "<PP>Wall" -3000,
"dateofexport": "2013-05-01T09:32:13"
8993.333,
},
0,
"geometry": { -3000,
"mesh": "{\"C\":4278255360,\"V\":[4450.01,115.01,0.01,3200.01,115.01,0.01,3200.01,0.01,0.01,4450.01,0.01,0.01,2315.01,0.01,0.01,2315.01,115.01,0.01,0.01,115.01,0.01,0.01,0.01,0.01,4450.01,115.01,2750.01,4450.01,0.01,2750.01,0.01,0.01,2750.01,0.01,115.01,2750.01,2315.01,115.01,2190.01,3200.01,115.01,2190.01,3200.01,0.01,2190.01,2315.01,0.01,2190.01],\"F\":[4,0,1,2,3,4,4,5,6,7,4,8,9,10,11,4,0,3,9,8,8,6,5,12,13,1,0,8,11,4,7,6,11,10,8,3,2,14,15,4,7,10,9,4,12,15,14,13,4,15,12,5,4,4,13,14,2,1]}"
}
}
}
|
| Card |
---|
| 8993.333,
300,
-3000,
-3486.667,
300,
-3000,
-3486.667,
0,
-400,
8993.333,
0,
-400,
8993.333,
300,
-400,
-3486.667,
300,
-400
],
"faces": [
4,
3,
0,
1,
2,
4,
4,
7,
6,
5,
4,
0,
3,
7,
4,
4,
1,
0,
4,
5,
4,
2,
1,
5,
6,
4,
3,
2,
6,
7
]
}
}
}
} |
|
Card |
---|
| Code Block |
---|
borderColor | Green |
---|
title | Status |
---|
lang | xml |
---|
| Status: 201 Created
|
Code Block |
---|
borderColor | Red |
---|
title | JSON |
---|
lang | xml |
---|
| {
"id": "b2a92252-ae51-4c72-ab1e-fafa141ac54c",
"parent": "b793c860-d3b8-48a5-aa42-9df9e24a0d71",
"type": "Wall",
"attributes": {
"element": {
"elementtyp": "10074eef-9418-4d64-9c6d-23932835a7f1",
"divisionid": "4496b8ad-ba5a-483c-9912-2cb837178708",
"logparentid": "69e48f92-a8dc-4af5-8f71-187b40a8b8f5"
},
"general": {
"name": "a new test wall without walllayer"
},
"quantity": {
"width": 100,
"volume": 200.4
},
"geometry": {
"mesh": {
"color": 4291407461,
"vertices": [
-3486.667,
0,
-3000,
8993.333,
0,
-3000,
8993.333,
300,
-3000,
-3486.667,
300,
-3000,
-3486.667,
0,
-400,
8993.333,
0,
-400,
8993.333,
300,
-400,
-3486.667,
300,
-400
],
"faces": [
4,
3,
0,
1,
2,
|
Code Block |
---|
borderColor | Green |
---|
title | Status |
---|
lang | xml |
---|
| Status: 201 Created
|
Code Block |
---|
borderColor | Red |
---|
title | JSON |
---|
lang | xml |
---|
| {
"id": "921bc1f6-228a-4f79-937a-0251b60436b4",
"type": "Wall",
"attributes": {
"element": {
"isparent": false,
"nr": 04,
"elementtyp": "10074eef-9418-4d64-9c6d-23932835a7f1",
4,
"logparentid": "0bc9e4b7-d679-43d7-86e3-0ded12fc0736" 7,
"divisionid": "ac21b9a1-8853-4658-9fbf-0cf62340bd18" 6,
"materialsurfaceid": "cdbd7fbc-0d02-4be5-adb3-04b7f0b2a638"
}5,
"general": {
"name": "Brickwall"4,
"isobjectvalid": true
}0,
"allplan": {
3,
"allplan_guid": "08b8195a-a2ad-11e2-9993-002215ea7d6b",
"allplan_id": 2065507287 7,
"allplan_text": "<PP>Wall" 4,
"dateofexport": "2013-05-01T09:32:13"
}4,
"geometry": {
"mesh": "{\"C\":0,\"V\":[4450.01,115.01,0.01,3200.01,115.01,0.01,3200.01,0.01,0.01,4450.01,0.01,0.01,2315.01,0.01,0.01,2315.01,115.01,0.01,0.01,115.01,0.01,0.01,0.01,0.01,4450.01,115.01,2750.01,4450.01,0.01,2750.01,0.01,0.01,2750.01,0.01,115.01,2750.01,2315.01,115.01,2190.01,3200.01,115.01,2190.01,3200.01,0.01,2190.01,2315.01,0.01,2190.01],\"F\":[4,0,1,2,3,4,4,5,6,7,4,8,9,10,11,4,0,3,9,8,8,6,5,12,13,1,0,8,11,4,7,6,11,10,8,3,2,14,15,4,7,10,9,4,12,15,14,13,4,15,12,5,4,4,13,14,2,1]}" 1,
0,
4,
5,
4,
2,
1,
5,
6,
4,
3,
2,
6,
7
]
}
},
"elementstate": {
"state": "0aaf5a1c-2453-40cb-9232-315119dd288f"
}
}
}
|
|
|