Versions Compared

Key

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

...

Section
Column
width25%

Import Service


Column
width25%

Slideshow Service


Column
width50%

 

...

Anchor
createSlide
createSlide

...

Create a

...

slide for a slideshow
Deck of Cards
idbimCreateSlideshow
Card
labelHTTP Method
 POST
Card
defaulttrue
labelURL / Resource / JSON Structure
 Resource: slideshows/<slideshow_id>/slides 

URLhttps://api-stage.bimplus.net/v2/<team_slug>/slideshows/<slideshow_id>/slides

Examplehttps://api-stage.bimplus.net/v2/bimplus/slideshows/5cd37c7730f4495a-d34179d7-4ab248e4-9f0d8060-444679558a52350cfcd9/slides

JSON Structure

Name

Mandatory / Optional

Type

Description

name

mandatory

string

Name of the slideshowslide

scene

optional

object

A JSON string which includes viewMode(transparent or not), camera values & positions, related objects, clipping plane, topology & layer details. An example template is specified below.

Please remember, the server will process the scene information as a json string and hence the client has to take care on the information that is stored & retrieved.

An example scene template:

"scene": { "viewMode": "transparent", "camera": { "fov": 45, "position": { "x": 1231.4, "y": 234.3, "z": 3123.7 }, "quaternion": { "x": 0.9, "y": 0.7, "z": 0.7, "w": 0.23 }, "target": { "objectId": "<GUID>", "position": { "x": 1231.4, "y": 234.3, "z": 3123.7 } } }, "objects": { "selected": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ], "transparent": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ], "hidden": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ] }, "clippingPlane": { "axis": "x", "distance": -123.5, "selected": false }, "topology": [ [ "<nodeId>", "<disciplineId>" ], [ "<nodeId2>", "<disciplineId2>" ] ], "layers": [ { "id": "<GUID>", "divisionTopologyId": "<GUID>", "visible": true, "transparent": false } ] }

Card
labelDescription
 Creates a new slideshow slide for a projectspecific slideshow.
Card
labelRequest
Code Block
borderColorGreen
titleHeaders
langxml
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
Code Block
borderColorRed
titleJSON
langxml
{
    "name": "My first slideshowslide",
    "scene": {
        "viewMode": "transparent",
        "camera": {
            "fov": 45,
            "position": {
                "x": 1231.4,
                "y": 234.3,
                "z": 3123.7
            },
            "quaternion": {
                "x": 0.9,
                "y": 0.7,
                "z": 0.7,
                "w": 0.23
            },
            "target": {
                "objectId": "<GUID>",
                "position": {
                    "x": 1231.4,
                    "y": 234.3,
                    "z": 3123.7
                }
            }
        },
        "objects": {
            "selected": [
                0,
                1,
                2,
                3,
                4,
                5,
                6,
                7,
                8,
                9
            ],
            "transparent": [
                0,
                1,
                2,
                3,
                4,
                5,
                6,
                7,
                8,
                9
            ],
            "hidden": [
                0,
                1,
                2,
                3,
                4,
                5,
                6,
                7,
                8,
                9
            ]
        },
        "clippingPlane": {
            "axis": "x",
            "distance": -123.5,
            "selected": false
        },
        "topology": [
            [
                "<nodeId>",
                "<disciplineId>"
            ],
            [
                "<nodeId2>",
                "<disciplineId2>"
            ]
        ],
        "layers": [
            {
                "id": "<GUID>",
                "divisionTopologyId": "<GUID>",
                "visible": true,
                "transparent": false
            }
        ]
    }
}
Card
labelResponse
Code Block
borderColorGreen
titleStatus
langxml
Status: 201 Created
Code Block
borderColorRed
titleJSON
langxml
{
    "projectIdname": "5cd37c77-d341-4ab2-9f0d-44467955b218My first slide",
    "namedescription": "My first slideshow"null,
    "descriptionslideInfo": null"",
    "authorscene": {
        "idviewMode": "71e0ac3b-fa49-e540-ac2f-8caff3dd72edtransparent",
        "emailcamera": "jayaraj.purushothaman@gmail.com",{
            "firstnamefov": "Jayaraj"45,
            "lastnameposition": "Purushothaman",{
        "company        "x": "Jay Company"1231.4,
        "fullname        "y": "Jayaraj Purushothaman"234.3,
                "displaynamez": "Jayaraj Purushothaman [Jay Company]",
3123.7
           "info": "" },
            "genderquaternion": "MR",{
        "phoneWork        "x": ""0.9,
                "phoneHomey": ""0.7,
        "fax": "",
        "mobilez": ""0.7,
        "birthDate": "0000-00-00",
        "addressw": {0.23
            "street": "Konrad Zuse platz"},
            "streetNrtarget": "1",
{
                "zipobjectId": "81829<GUID>",
                "cityposition": "Munich",{
            "country        "x": "Germany"
1231.4,
            },
        "preferedLanguagey": "en"234.3,
    },
    "created": "2014-03-03T12:50:01.4612622Z"            "z": 3123.7
                }
            }
        },
        "objects": {
            "selected": [
                0,
                1,
                2,
                3,
                4,
                5,
                6,
                7,
                8,
                9
            ],
            "transparent": [
                0,
                1,
                2,
                3,
                4,
                5,
                6,
                7,
                8,
                9
            ],
            "hidden": [
                0,
                1,
                2,
                3,
                4,
                5,
                6,
                7,
                8,
                9
            ]
        },
        "clippingPlane": {
            "axis": "x",
            "distance": -123.5,
            "selected": false
        },
        "topology": [
            [
                "<nodeId>",
                "<disciplineId>"
            ],
            [
                "<nodeId2>",
                "<disciplineId2>"
            ]
        ],
        "layers": [
            {
                "id": "<GUID>",
                "divisionTopologyId": "<GUID>",
                "visible": true,
                "transparent": false
            }
        ]
    },
    "created": "2014-03-06T09:52:58.4376633Z",
    "author": {
        "id": "71e0ac3b-fa49-e540-ac2f-8caff3dd72ed",
        "email": "jayaraj.purushothaman@gmail.com",
        "firstname": "Jayaraj",
        "lastname": "Purushothaman",
        "company": "Jay Company",
        "fullname": "Jayaraj Purushothaman",
        "displayname": "Jayaraj Purushothaman [Jay Company]",
        "info": "",
        "gender": "MR",
        "phoneWork": "",
        "phoneHome": "",
        "fax": "",
        "mobile": "",
        "birthDate": "0000-00-00",
        "address": {
            "street": "Konrad Zuse platz",
            "streetNr": "1",
            "zip": "81829",
            "city": "Munich",
            "country": "Germany"
        },
        "preferedLanguage": "en"
    },
    "id": "cdece69560c23ad7-530dc4b6-4b544387-a413b273-d30877a15b081dff2b1dc895"
}

 

Anchor
authorizationService
authorizationService

...