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": "e6133886-8e7c-4fa9-84f7-5cd00b96278a",
  "FileName": "sample string 2",
  "FileExtension": null,
  "FileSize": 3,
  "FileType": 0,
  "PersonGuid": "90ab221f-a9cf-48b2-9aaf-ba4321dee5db",
  "Created": "2024-11-21T06:26:07.4824539+00:00",
  "Width": 1,
  "Height": 1,
  "ContentType": "sample string 5",
  "OriginalFileName": "sample string 6",
  "PublicFileName": "e6133886-8e7c-4fa9-84f7-5cd00b96278a"
}

application/octet-stream

Sample:
{"Guid":"e6133886-8e7c-4fa9-84f7-5cd00b96278a","FileName":"sample string 2","FileExtension":null,"FileSize":3,"FileType":0,"PersonGuid":"90ab221f-a9cf-48b2-9aaf-ba4321dee5db","Created":"2024-11-21T06:26:07.4824539+00:00","Width":1,"Height":1,"ContentType":"sample string 5","OriginalFileName":"sample string 6","PublicFileName":"e6133886-8e7c-4fa9-84f7-5cd00b96278a"}

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-11-21T06:26:07.4824539+00:00</Created>
  <FileName>sample string 2</FileName>
  <FileSize>3</FileSize>
  <FileType>Unassigned</FileType>
  <Guid>e6133886-8e7c-4fa9-84f7-5cd00b96278a</Guid>
  <Height>1</Height>
  <OriginalFileName>sample string 6</OriginalFileName>
  <PersonGuid>90ab221f-a9cf-48b2-9aaf-ba4321dee5db</PersonGuid>
  <Width>1</Width>
</FileListItemViewModel>