Versions Compared

Key

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

...

A particular hyperlink belonging to an object/slide/issue can be modified using the hyperlink service.

  • Please use the  Bimplus Object Service for creating a hyperlink or to deal with the group of hyperlinks belonging to an object, issue or slide. 

...

Deck of Cards
idbimGetHyperlink
Card
defaulttrue
labelURL / Resource / JSON Structure
Resource: hyperlink/<hyperlink_id> 

URLhttps://api-stage.bimplus.net/v2/<team_slug>/hyperlinks/<hyperlink_id>

Example:https://api-stage.bimplus.net/v2/bimplus/hyperlinks/db540336-47a3-426e-b3bf-1e532bfac8ea 

Card
labelHTTP Method
 GET
Card
labelDescription
 Get details of a specified hyperlink.
Card
labelRequest
Code Block
lang
borderColorGreen
langxml
titleHeadersxml
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
Card
labelResponse
Code Block
borderColorGreen
langxml
titleStatuslangxml
Status: 200 OK
Code Block
borderColorRed
langxml
titleJSON
langxml
{
    "orderNumber": 1,
    "name": "My website",
    "url": "https://www.bimplus.net/",
    "id": "c46d1080-0450-4f03-aa4d-a32300e018e9"
}

...

Deck of Cards
idbimHyperlinkUpdate
Card
defaulttrue
labelURL / Resource / JSON Structure
Resource: hyperlink/<hyperlink_id> 

URLhttps://api-stage.bimplus.net/v2/<team_slug>/hyperlinks/<hyperlink_id>

Example:https://api-stage.bimplus.net/v2/bimplus/hyperlinks/db540336-47a3-426e-b3bf-1e532bfac8ea

JSON Structure:

Name

Mandatory / Optional

Type

Description

orderNumber

optional

integer

The ordering number of the hyperlink

name

optional

string

Name of the hyperlink

url

optional

string

The actual url

id

will be ignored

string (guid)

Id of the hyperlink

typeoptionalstring 
Card
labelHTTP Method
 PUT
Card
labelDescription
Update the specified hyperlink.
Card
labelRequest
Code Block
lang
borderColorGreen
langxml
titleHeadersxml
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
Code Block
lang
borderColorRed
langxml
titleJSONxml
{    
    "name": "My new website",
    "url": "https://www-stage.bimplus.net/"
}
Card
labelResponse
Code Block
borderColorGreen
langxml
titleStatus
langxml
Status: 200 OK
Code Block
titleJSON
{
    "orderNumber": 1,
    "name": "My website",
    "url": "https://www.bimplus.net/",
    "id": "c46d1080-0450-4f03-aa4d-a32300e018e9"
}

Anchor
deleteHyperlink
deleteHyperlink

...

Deck of Cards
idbimDeleteHyperlink
Card
defaulttrue
labelURL / Resource / JSON Structure

Resource: hyperlink/<hyperlink_id> 

URLhttps://api-stage.bimplus.net/v2/<team_slug>/hyperlinks/<hyperlink_id>

Example:https://api-stage.bimplus.net/v2/bimplus/hyperlinks/db540336-47a3-426e-b3bf-1e532bfac8ea

Card
labelHTTP Method
 DELETE
Card
labelDescription
 Deletes a specified hyperlink.
Card
labelRequest
Code Block
borderColorGreen
langxml
titleHeaders
langxml
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
Card
labelResponse
Code Block
borderColorGreen
langxml
titleStatuslangxml
Status: 200 OK