Hyperlink Service


Hyperlink Service


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

Get details of the hyperlink
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 

 GET
 Get details of a specified hyperlink.
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
Status: 200 OK
{
    "orderNumber": 1,
    "name": "My website",
    "url": "https://www.bimplus.net/",
    "id": "c46d1080-0450-4f03-aa4d-a32300e018e9"
}

Update the hyperlink
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

typeoptionalstringHyperlink type. Could be either none - link to web site, or "Attachment" - link to download url
 PUT
Update the specified hyperlink.
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
{    
    "name": "My new website",
    "url": "https://www-stage.bimplus.net/"
}
Status: 200 OK
{
    "orderNumber": 1,
    "name": "My website",
    "url": "https://www.bimplus.net/",
    "id": "c46d1080-0450-4f03-aa4d-a32300e018e9"
}

Delete the hyperlink

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

 DELETE
 Deletes a specified hyperlink.
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json
Status: 200 OK