DELETE v1/File/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

FileViewModel
NameDescriptionTypeAdditional information
ContentType

string

None.

FileName

string

None.

FileExtension

string

None.

OriginalFileName

string

None.

PublicFileName

string

None.

FileSize

integer

None.

FileContents

Collection of byte

None.

FileType

FileType

None.

Width

integer

None.

Height

integer

None.

InStorage

boolean

None.

Alias

string

None.

PersonGuid

globally unique identifier

None.

EventContentGuid

globally unique identifier

None.

TrainingGuid

globally unique identifier

None.

TrainingLocationGuid

globally unique identifier

None.

CompanyGuid

globally unique identifier

None.

FolderGuid

globally unique identifier

None.

EventGuid

globally unique identifier

None.

ActivityGuid

globally unique identifier

None.

EventLocationGuid

globally unique identifier

None.

OriginalFileGuid

globally unique identifier

None.

CopyFromFileGuid

globally unique identifier

None.

NewsGuid

globally unique identifier

None.

ContributionGuid

globally unique identifier

None.

ContributionSpeakerGuid

globally unique identifier

None.

Guid

globally unique identifier

None.

Created

date

None.

Modified

date

None.

Deleted

date

None.

ErrorMessages

Dictionary of string [key] and string [value]

None.

IsValid

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ContentType": "sample string 1",
  "FileName": "sample string 2",
  "FileExtension": null,
  "OriginalFileName": "sample string 3",
  "PublicFileName": "540f8eaa-5d0f-4ed3-b42c-e5bd1ebb3785",
  "FileSize": 4,
  "FileContents": "QEA=",
  "FileType": 0,
  "Width": 1,
  "Height": 1,
  "InStorage": true,
  "Alias": "sample string 6",
  "PersonGuid": "f745c5f7-c908-491e-aa5a-a38ae12a633e",
  "EventContentGuid": "97ff82c8-0c5a-478e-a1be-9e67680294aa",
  "TrainingGuid": "5a175fe6-0f2d-4ebd-9b4e-ad15157fcbb6",
  "TrainingLocationGuid": "e9cdbb0c-977b-4014-895b-3d50d8c9f1ea",
  "CompanyGuid": "a30b4459-b085-4021-b00f-617714975257",
  "FolderGuid": "4ff02d7f-8a75-4c8b-8a2e-c025cd10fe95",
  "EventGuid": "7df928a4-a1db-4120-9590-3108acd5a513",
  "ActivityGuid": "87abfc58-e2df-4d8d-9253-fc116b91efc2",
  "EventLocationGuid": "29c0a3be-8d6e-4c99-bc11-c586a34481c0",
  "OriginalFileGuid": "009746e1-7b50-44ab-aad1-dae88ee0f98c",
  "CopyFromFileGuid": "f6d72703-eb8b-4db7-af74-00ccd6e4cd94",
  "NewsGuid": "7e55a731-b0c0-4452-a46c-9fbe94e64d86",
  "ContributionGuid": "5d8f6771-2b77-4819-b606-650eddce04da",
  "ContributionSpeakerGuid": "6c18f507-3f2d-4435-b3d2-9f635ca066d4",
  "Guid": "540f8eaa-5d0f-4ed3-b42c-e5bd1ebb3785",
  "Created": "2019-10-18T15:20:45.6535243+00:00",
  "Modified": "2019-10-18T15:20:45.6535243+00:00",
  "Deleted": "2019-10-18T15:20:45.6535243+00:00",
  "ErrorMessages": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "IsValid": false
}

application/octet-stream

Sample:
{"ContentType":"sample string 1","FileName":"sample string 2","FileExtension":null,"OriginalFileName":"sample string 3","PublicFileName":"540f8eaa-5d0f-4ed3-b42c-e5bd1ebb3785","FileSize":4,"FileContents":"QEA=","FileType":0,"Width":1,"Height":1,"InStorage":true,"Alias":"sample string 6","PersonGuid":"f745c5f7-c908-491e-aa5a-a38ae12a633e","EventContentGuid":"97ff82c8-0c5a-478e-a1be-9e67680294aa","TrainingGuid":"5a175fe6-0f2d-4ebd-9b4e-ad15157fcbb6","TrainingLocationGuid":"e9cdbb0c-977b-4014-895b-3d50d8c9f1ea","CompanyGuid":"a30b4459-b085-4021-b00f-617714975257","FolderGuid":"4ff02d7f-8a75-4c8b-8a2e-c025cd10fe95","EventGuid":"7df928a4-a1db-4120-9590-3108acd5a513","ActivityGuid":"87abfc58-e2df-4d8d-9253-fc116b91efc2","EventLocationGuid":"29c0a3be-8d6e-4c99-bc11-c586a34481c0","OriginalFileGuid":"009746e1-7b50-44ab-aad1-dae88ee0f98c","CopyFromFileGuid":"f6d72703-eb8b-4db7-af74-00ccd6e4cd94","NewsGuid":"7e55a731-b0c0-4452-a46c-9fbe94e64d86","ContributionGuid":"5d8f6771-2b77-4819-b606-650eddce04da","ContributionSpeakerGuid":"6c18f507-3f2d-4435-b3d2-9f635ca066d4","Guid":"540f8eaa-5d0f-4ed3-b42c-e5bd1ebb3785","Created":"2019-10-18T15:20:45.6535243+00:00","Modified":"2019-10-18T15:20:45.6535243+00:00","Deleted":"2019-10-18T15:20:45.6535243+00:00","ErrorMessages":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"IsValid":false}

application/xml, text/xml

Sample:
<FileViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services.Entity">
  <ErrorMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </ErrorMessages>
  <Created xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2019-10-18T15:20:45.6535243+00:00</Created>
  <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2019-10-18T15:20:45.6535243+00:00</Deleted>
  <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">540f8eaa-5d0f-4ed3-b42c-e5bd1ebb3785</Guid>
  <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2019-10-18T15:20:45.6535243+00:00</Modified>
  <ActivityGuid>87abfc58-e2df-4d8d-9253-fc116b91efc2</ActivityGuid>
  <Alias>sample string 6</Alias>
  <CompanyGuid>a30b4459-b085-4021-b00f-617714975257</CompanyGuid>
  <ContentType>sample string 1</ContentType>
  <ContributionGuid>5d8f6771-2b77-4819-b606-650eddce04da</ContributionGuid>
  <ContributionSpeakerGuid>6c18f507-3f2d-4435-b3d2-9f635ca066d4</ContributionSpeakerGuid>
  <CopyFromFileGuid>f6d72703-eb8b-4db7-af74-00ccd6e4cd94</CopyFromFileGuid>
  <EventContentGuid>97ff82c8-0c5a-478e-a1be-9e67680294aa</EventContentGuid>
  <EventGuid>7df928a4-a1db-4120-9590-3108acd5a513</EventGuid>
  <EventLocationGuid>29c0a3be-8d6e-4c99-bc11-c586a34481c0</EventLocationGuid>
  <FileContents>QEA=</FileContents>
  <FileName>sample string 2</FileName>
  <FileSize>4</FileSize>
  <FileType>Unassigned</FileType>
  <FolderGuid>4ff02d7f-8a75-4c8b-8a2e-c025cd10fe95</FolderGuid>
  <Height>1</Height>
  <InStorage>true</InStorage>
  <NewsGuid>7e55a731-b0c0-4452-a46c-9fbe94e64d86</NewsGuid>
  <OriginalFileGuid>009746e1-7b50-44ab-aad1-dae88ee0f98c</OriginalFileGuid>
  <OriginalFileName>sample string 3</OriginalFileName>
  <PersonGuid>f745c5f7-c908-491e-aa5a-a38ae12a633e</PersonGuid>
  <TrainingGuid>5a175fe6-0f2d-4ebd-9b4e-ad15157fcbb6</TrainingGuid>
  <TrainingLocationGuid>e9cdbb0c-977b-4014-895b-3d50d8c9f1ea</TrainingLocationGuid>
  <Width>1</Width>
</FileViewModel>