version 8.3.8

Back | 

WsAssetAssociatedFile

Returns the asset associated files

URL Format

/ws/ws_asset_associated_file/api/{app_token}/mode/json/apiv/5/a/{asset 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 to look up associated files for

Request Headers

Name

Possible Responses

  • 850 Associated files found
  • 851 No associated files found
  • 303 Invalid Asset ID
  • 102 Invalid app token
  • 325 Invalid File Type
  • 901 Invalid title
  • 326 Invalid File Name

Example Response

{
  "response": {
    "success": {
      "code": 850,
      "message": "Associated files found",
      "details": ""
    },
    "WsAssetAssociatedFile": {
      "AssociatedFiles": [
        {
          "assetid": 10,
          "title": "Ma Title",
          "filename": "",
          "groupname": "",
          "datemod": "2014-07-29T18:49:01Z",
          "userid": 73,
          "isDeleted": 0,
          "folderid": 0,
          "assetTypeid": 8,
          "isActive": 1,
          "isHidden": 0,
          "presentationid": 0,
          "status": 1,
          "isPlaylistProcessed": 0,
          "geoFilterId": 0,
          "isRemoteSource": 0,
          "uuid": "asdasd",
          "isPublished": 1,
          "date_start": "2000-05-01T00:00:00Z",
          "date_end": "3015-05-01T00:00:00Z",
          "youtubePublishable": 1,
          "referenceId": "1236",
          "thumbnailUrl": "\/thumbs\/aid\/w\/h\/t1406659741\/10.jpg",
          "thumbRel": "\/thumbs\/aid\/w\/h\/t1406659741\/10.jpg",
          "assetType": "binary",
          "asset_type": "binary",
          "folders": null
        },
        {
          "assetid": 11,
          "title": "My Second Title",
          "filename": "",
          "groupname": "",
          "datemod": "2014-07-29T18:49:01Z",
          "userid": 73,
          "isDeleted": 0,
          "folderid": 0,
          "assetTypeid": 8,
          "isActive": 1,
          "isHidden": 0,
          "presentationid": 0,
          "status": 1,
          "isPlaylistProcessed": 0,
          "geoFilterId": 0,
          "isRemoteSource": 0,
          "uuid": "xs23asdasdad",
          "isPublished": 1,
          "date_start": "2000-05-01T00:00:00Z",
          "date_end": "3015-05-01T00:00:00Z",
          "youtubePublishable": 1,
          "referenceId": "1237",
          "thumbnailUrl": "\/thumbs\/aid\/w\/h\/t1406659741\/11.jpg",
          "thumbRel": "\/thumbs\/aid\/w\/h\/t1406659741\/11.jpg",
          "assetType": "binary",
          "asset_type": "binary",
          "folders": null
        }
      ]
    }
  }
}