DownloadAsset
Download document, image, and video assets from your LinkedIn organization.
Procedure Specific Information
Note: Requires the r_organization_social OAuth scope.For document assets, LinkedIn returns the data in PDF format when downloading through this procedure.
Input
| Name | Type | Required | Description |
| URN | String | True | The URN of the asset that you want to download. Must be one from the following types: 'urn:li:document:', 'urn:li:image:', 'urn:li:video:'. |
| LocalFile | String | False | The absolute path of the file in your system to use for downloading the asset. |
| Overwrite | Boolean | False | A boolean value indicating whether to overwrite the file in the path provided in the 'LocalFile' parameter if it already exists.
The default value is false. |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | A boolean value indicating whether the asset was downloaded successfully or not. |
| FileData | String | A Base64-encoded string containing the data of the asset downloaded. This will be returned only if both the 'LocalFile' parameter and the 'FileStream' parameter are not specified. |