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": "5b48445a-3034-4f25-b021-2ddb1998aaf7",
  "FileName": "sample string 2",
  "FileExtension": null,
  "FileSize": 3,
  "FileType": 0,
  "PersonGuid": "74ae619d-2798-44f4-bf2b-6677675c6137",
  "Created": "2024-10-04T07:38:31.9130647+00:00",
  "Width": 1,
  "Height": 1,
  "ContentType": "sample string 5",
  "OriginalFileName": "sample string 6",
  "PublicFileName": "5b48445a-3034-4f25-b021-2ddb1998aaf7"
}

application/octet-stream

Sample:
{"Guid":"5b48445a-3034-4f25-b021-2ddb1998aaf7","FileName":"sample string 2","FileExtension":null,"FileSize":3,"FileType":0,"PersonGuid":"74ae619d-2798-44f4-bf2b-6677675c6137","Created":"2024-10-04T07:38:31.9130647+00:00","Width":1,"Height":1,"ContentType":"sample string 5","OriginalFileName":"sample string 6","PublicFileName":"5b48445a-3034-4f25-b021-2ddb1998aaf7"}

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>2024-10-04T07:38:31.9130647+00:00</Created>
  <FileName>sample string 2</FileName>
  <FileSize>3</FileSize>
  <FileType>Unassigned</FileType>
  <Guid>5b48445a-3034-4f25-b021-2ddb1998aaf7</Guid>
  <Height>1</Height>
  <OriginalFileName>sample string 6</OriginalFileName>
  <PersonGuid>74ae619d-2798-44f4-bf2b-6677675c6137</PersonGuid>
  <Width>1</Width>
</FileListItemViewModel>