GET v1/File/{id}/ListItem

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

FileListItemViewModel
NameDescriptionTypeAdditional information
Guid

globally unique identifier

None.

FileName

string

None.

FileExtension

string

None.

FileSize

integer

None.

FileType

FileType

None.

PersonGuid

globally unique identifier

None.

Created

date

None.

Width

integer

None.

Height

integer

None.

ContentType

string

None.

OriginalFileName

string

None.

PublicFileName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Guid": "07157aca-4acf-4f6f-9a38-996ad2217085",
  "FileName": "sample string 2",
  "FileExtension": null,
  "FileSize": 3,
  "FileType": 0,
  "PersonGuid": "8bb00f86-391c-43ab-9d09-becaeea865cf",
  "Created": "2019-10-18T15:23:11.4919298+00:00",
  "Width": 1,
  "Height": 1,
  "ContentType": "sample string 5",
  "OriginalFileName": "sample string 6",
  "PublicFileName": "07157aca-4acf-4f6f-9a38-996ad2217085"
}

application/octet-stream

Sample:
{"Guid":"07157aca-4acf-4f6f-9a38-996ad2217085","FileName":"sample string 2","FileExtension":null,"FileSize":3,"FileType":0,"PersonGuid":"8bb00f86-391c-43ab-9d09-becaeea865cf","Created":"2019-10-18T15:23:11.4919298+00:00","Width":1,"Height":1,"ContentType":"sample string 5","OriginalFileName":"sample string 6","PublicFileName":"07157aca-4acf-4f6f-9a38-996ad2217085"}

application/xml, text/xml

Sample:
<FileListItemViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.List">
  <ContentType>sample string 5</ContentType>
  <Created>2019-10-18T15:23:11.4919298+00:00</Created>
  <FileName>sample string 2</FileName>
  <FileSize>3</FileSize>
  <FileType>Unassigned</FileType>
  <Guid>07157aca-4acf-4f6f-9a38-996ad2217085</Guid>
  <Height>1</Height>
  <OriginalFileName>sample string 6</OriginalFileName>
  <PersonGuid>8bb00f86-391c-43ab-9d09-becaeea865cf</PersonGuid>
  <Width>1</Width>
</FileListItemViewModel>