WsAssetAssociatedLink
Returns the asset associated links
URL Format
/ws/ws_asset_associated_link/api/{app_token}/mode/json/apiv/5/a/{asset id}/al/{associated link id}
Parameters
Name |
Req |
Type |
Description |
app_token |
|
string |
The api token for the given account. You can find the api token when navigating through account->api accounts |
apiv |
|
integer |
The api version; only version 5 supported. |
a |
|
int |
assetId the asset id |
al |
|
int |
specific associated link id |
Request Headers
Possible Responses
- 830 Associated links found
- 831 No associated links found
- 303 Invalid Asset ID
- 900 Invalid url
- 901 Invalid title
- 902 Invalid Invalid associated link id
- 102 Invalid app token
Example Response
{
"response": {
"success": {
"code": 830,
"message": "Associated links found",
"details": ""
},
"WsAssetAssociatedLink": {
"AssociatedLinks": [
{
"id": 1,
"assetId": 1,
"url": "myurl.com",
"title": "My Title"
},
{
"id": 2,
"assetId": 1,
"url": "mysecondurl.com",
"title": "My Second Title"
}
]
}
}
}