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": "b793c860-d3b8-48a5-aa42-9df9e24a0d71",
"type": "Wall",
"attributes": {
"element": {
"elementtyp": "10074eef-9418-4d64-9c6d-23932835a7f1",
"divisionid": "4496b8ad-ba5a-483c-9912-2cb837178708"
},
"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,
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,
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
]
}
},
"elementstate": {
"state": "0aaf5a1c-2453-40cb-9232-315119dd288f"
}
}
} |
|
|