GET v1/Files/Properties/{id}?downloadAs={downloadAs}

Get the file properties for a specific file id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Id of the file

string

Required

downloadAs

None, Thumbnail, Original

string

None.

Body Parameters

None.

Response Information

Resource Description

BlobInfoDTO
NameDescriptionTypeAdditional information
Id

integer

None.

BlobContainerInfoId

integer

None.

BlobFileName

string

None.

FileName

string

None.

DisplayName

string

None.

FileType

string

None.

CreatedOn

string

None.

CreatedBy

string

None.

EntityId

integer

None.

FileRelation

integer

None.

CreatedById

integer

None.

Active

boolean

None.

Description

string

None.

ThumnbailBlobFileName

string

None.

ThumbnailAvatarBlobFileName

string

None.

FileSize

integer

None.

AppCreated

string

None.

RelatedPolicyIDs

Collection of integer

None.

CategoryDescriptor

string

None.

File

Collection of byte

None.

DownloadFileType

string

None.

Readonly

boolean

None.

UsageCode

string

None.

StorageLocationId

integer

None.

CreatedOnSearchable

string

None.

FolderId

integer

None.

ExcludeFromStorageCost

boolean

None.

BlobUrl

string

None.

Tags

string

None.

BulkInsertId

globally unique identifier

None.

BulkInsertSessionId

globally unique identifier

None.

ShouldHaveThumbnail

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "BlobContainerInfoId": 2,
  "BlobFileName": "sample string 3",
  "FileName": "sample string 4",
  "DisplayName": "sample string 5",
  "FileType": "sample string 6",
  "CreatedOn": "sample string 7",
  "CreatedBy": "sample string 8",
  "EntityId": 9,
  "FileRelation": 10,
  "CreatedById": 1,
  "Active": true,
  "Description": "sample string 12",
  "ThumnbailBlobFileName": "sample string 13",
  "ThumbnailAvatarBlobFileName": "sample string 14",
  "FileSize": 1,
  "AppCreated": "sample string 15",
  "RelatedPolicyIDs": [
    1,
    2
  ],
  "CategoryDescriptor": "sample string 16",
  "File": "QEA=",
  "DownloadFileType": "sample string 17",
  "Readonly": true,
  "UsageCode": "sample string 19",
  "StorageLocationId": 1,
  "CreatedOnSearchable": "sample string 20",
  "FolderId": 1,
  "ExcludeFromStorageCost": true,
  "BlobUrl": "sample string 22",
  "Tags": "sample string 23",
  "BulkInsertId": "75513f23-32a7-4fa7-b139-4ce1df7d14a5",
  "BulkInsertSessionId": "66bc3085-9cb3-4f3a-8dc4-2839e809eafb",
  "ShouldHaveThumbnail": false
}

application/xml, text/xml

Sample:
<BlobInfoDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Files">
  <Active>true</Active>
  <AppCreated>sample string 15</AppCreated>
  <BlobContainerInfoId>2</BlobContainerInfoId>
  <BlobFileName>sample string 3</BlobFileName>
  <BlobUrl>sample string 22</BlobUrl>
  <BulkInsertId>75513f23-32a7-4fa7-b139-4ce1df7d14a5</BulkInsertId>
  <BulkInsertSessionId>66bc3085-9cb3-4f3a-8dc4-2839e809eafb</BulkInsertSessionId>
  <CategoryDescriptor>sample string 16</CategoryDescriptor>
  <CreatedBy>sample string 8</CreatedBy>
  <CreatedById>1</CreatedById>
  <CreatedOn>sample string 7</CreatedOn>
  <CreatedOnSearchable>sample string 20</CreatedOnSearchable>
  <Description>sample string 12</Description>
  <DisplayName>sample string 5</DisplayName>
  <DownloadFileType>sample string 17</DownloadFileType>
  <EntityId>9</EntityId>
  <ExcludeFromStorageCost>true</ExcludeFromStorageCost>
  <File>QEA=</File>
  <FileName>sample string 4</FileName>
  <FileRelation>10</FileRelation>
  <FileSize>1</FileSize>
  <FileType>sample string 6</FileType>
  <FolderId>1</FolderId>
  <Id>1</Id>
  <Readonly>true</Readonly>
  <RelatedPolicyIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </RelatedPolicyIDs>
  <StorageLocationId>1</StorageLocationId>
  <Tags>sample string 23</Tags>
  <ThumbnailAvatarBlobFileName>sample string 14</ThumbnailAvatarBlobFileName>
  <ThumnbailBlobFileName>sample string 13</ThumnbailBlobFileName>
  <UsageCode>sample string 19</UsageCode>
</BlobInfoDTO>