Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Composition Cloud Migrator: Convert Deck and Card macros into Tab and Tab Group macros
Info

This page is under construction

User Settings Service

...

...

Create a new setting for the user
Deck of Cardstab-group
iddeckIdbimCreateSetting
Cardtab
labeltitleURL / Resource / JSON Structure
Resource: application/settings

URLhttps://api-stage.bimplus.net/v2/application/settings

Examplehttps://api-stage.bimplus.net/v2/application/settings

JSON Structure

Name

Mandatory / Optional

Type

Description

id

will be ignored

string

Name of the project

key

mandatory

string

Key(i.e name) of the setting. It should be unique.

value

optional

string

Value for the key

updatewill be ignoredstring(date)The update date of the setting
Cardtab
labeltitleHTTP Method
 POST
Cardtab
defaulttrue
labeltitleDescription
 Creates a new setting for the user.
Cardtab
labeltitleRequest
Code Block
borderColorGreen
langxml
titleHeaders
langxml
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
Code Block
borderColorRed
langxml
titleJSONlangxml
{
    "key" : "UseBrowserCache",
    "value" : "yes"
}
Cardtab
labeltitleResponse
Code Block
lang
borderColorGreen
langxml
titleStatusxml
Status: 201 Created
Code Block
borderColorRed
langxml
titleJSONlangxml
{
  "key": "UseBrowserCache",
  "value": "yes",
  "updated": "2015-07-23T09:43:46.1874953+02:00187",
  "id": "30fb3b08-28f1-4878-b494-22acefb78f26"
}

...

Get the list of pre-defined user settings
Deck of Cardstab-group
iddeckIdbimGetSettingList
Cardtab
defaulttrue
labeltitleURL / Resource / JSON Structure
Resource: application/settings

URLhttps://api-stage.bimplus.net/v2/application/settings

Example:https://api-stage.bimplus.net/v2/application/settings

Cardtab
labeltitleHTTP Method
 GET
Cardtab
labeltitleDescription
 Get the list of pre-defined user settings.
Cardtab
labeltitleRequest
Code Block
lang
borderColorGreen
langxml
titleHeadersxml
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
Cardtab
labeltitleResponse
Code Block
lang
borderColorGreen
langxml
titleStatusxml
Status: 200 OK
Code Block
borderColorRed
langxml
titleJSONlangxml
[
    {
        "key": "AutoLoadLastModel",
        "value": "Yes",
        "updated": "2015-08-19T00:04:16.387",
        "id": "c47b737c-6727-4832-bcd1-57ead714ae34"
    },
    {
        "key": "AutoProjectReordering",
        "value": "Yes",
        "updated": "2015-08-19T00:04:16.403",
        "id": "f148d6be-b62e-467e-8584-274c8befa5c7"
    },
    {
        "key": "BrowserType",
        "value": "32",
        "updated": "2015-08-19T00:04:16.43",
        "id": "8b843b7d-c99d-4cf1-882d-dac7f502d28d"
    },
    {
        "key": "DateFormat",
        "value": "dd.mm.yy",
        "updated": "2015-08-19T00:04:16.443",
        "id": "74c47450-164c-4c83-adf6-32d349cff857"
    },
    {
        "key": "DefaultOpacity",
        "value": "0.5",
        "updated": "2015-08-19T00:04:16.44",
        "id": "fddfbbff-5812-4b94-9027-a3c17559096a"
    },
    {
        "key": "Notifications",
        "value": "Yes",
        "updated": "2015-08-19T00:04:16.36",
        "id": "177ae6e5-f02b-44ed-a516-c22264d264b2"
    },
    {
        "key": "NotificationType",
        "value": "Email,Browser",
        "updated": "2015-08-19T00:04:16.38",
        "id": "5599c2c3-d502-4fe8-8626-c6d0616fe888"
    },
    {
        "key": "PinFlyToDistance",
        "value": "20000",
        "updated": "2015-08-19T00:04:16.433",
        "id": "159f69e6-d952-4b86-aac2-5fed7e59b25a"
    },
    {
        "key": "PinSize",
        "value": "2",
        "updated": "2015-08-19T00:04:16.39",
        "id": "a726ffe3-3341-47e6-8ae2-a255a306c658"
    },
    {
        "key": "ProjectOrderRule",
        "value": "lastOpened",
        "updated": "2015-08-19T00:04:16.423",
        "id": "de286dcb-86c2-4279-9bd3-3e586dcae8d8"
    },
    {
        "key": "SlideDelay",
        "value": "3",
        "updated": "2015-08-19T00:04:16.397",
        "id": "d97f3810-e50d-48b3-b57f-a6cd182c2788"
    },
    {
        "key": "StatusHideDelay",
        "value": "5",
        "updated": "2015-08-19T00:04:16.4",
        "id": "8a84d9ad-13fb-4529-8dd4-2700f06870b4"
    }
]

Anchor
getSettingInfo
getSettingInfo

Get info about a setting
Deck of Cardstab-group
iddeckIdbimGetSettingInfo
Cardtab
defaulttrue
labeltitleURL / Resource / JSON Structure
Resource: application/settings/<setting_id>

URLhttps://api-stage.bimplus.net/v2/application/settings/<setting_id>

Example:https://api-stage.bimplus.net/v2/application/settings/c47b737c-6727-4832-bcd1-57ead714ae34

Cardtab
labeltitleHTTP Method
 GET
Cardtab
labeltitleDescription
 Get details of a specified user setting.
Cardtab
labeltitleRequest
Code Block
borderColorGreen
langxml
titleHeaderslangxml
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
Cardtab
labeltitleResponse
Code Block
borderColorGreen
langxml
titleStatuslangxml
Status: 200 OK
Code Block
borderColorRed
langxml
titleJSON
langxml
{
        "key": "AutoLoadLastModel",
        "value": "Yes",
        "updated": "2015-0802-19T0008T13:0437:1612.38749",
        "id": "c47b737c-6727-4832-bcd1-57ead714ae34"
}

Anchor
updateSetting
updateSetting

Update a setting
Deck of Cardstab-group
iddeckIdbimPinUpdate
Cardtab
defaulttrue
labeltitleURL / Resource / JSON Structure
Resource: application/settings/<setting_id>

URLhttps://api-stage.bimplus.net/v2/application/settings/<setting_id>

Example:https://api-stage.bimplus.net/v2/application/settings/c47b737c-6727-4832-bcd1-57ead714ae34

JSON Structure

Name

Mandatory / Optional

Type

Description

id

will be ignored

string

Name of the project

key

optional

string

Key(i.e name) of the setting. It should be unique.

value

optional

string

Value for the key

updatewill be ignoredstring(date)The update date of the setting
Cardtab
labeltitleHTTP Method
 PUT
Cardtab
labeltitleDescription
Update the value of a setting.
Cardtab
labeltitleRequest
Code Block
lang
borderColorGreen
langxml
titleHeadersxml
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
Code Block
borderColorRed
langxml
titleJSONlangxml
{
        "key": "AutoLoadLastModel",
        "value": "No"
}
Cardtab
labeltitleResponse
Code Block
borderColorGreen
langxml
titleStatuslangxml
Status: 200 OK
Code Block
titleJSON
{
  "key": "AutoLoadLastModel",
  "value": "No",
  "updated": "2015-07-23T09:43:46.187",
  "id": "30fb3b08-28f1-4878-b494-22acefb78f26"
}

Anchor
deleteSetting
deleteSetting

Delete a setting
Deck of Cardstab-group
iddeckIdbimDeleteSetting
Cardtab
defaulttrue
labeltitleURL / Resource / JSON Structure
Resource: application/settings/<setting_id>

URLhttps://api-stage.bimplus.net/v2/application/settings/<setting_id>

Example:https://api-stage.bimplus.net/v2/application/settings/c47b737c-6727-4832-bcd1-57ead714ae34

Cardtab
labeltitleHTTP Method
 DELETE
Cardtab
labeltitleDescription
 Deletes a specified pin.
Cardtab
labeltitleRequest
Code Block
borderColorGreen
langxml
titleHeaders
langxml
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
Cardtab
labeltitleResponse
Code Block
borderColorGreen
langxml
titleStatuslangxml
Status: 200 OK