PUT v1/File
Request Information
URI Parameters
None.
Body Parameters
FileViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ContentType | string |
None. |
|
| FileName | string |
None. |
|
| FileExtension | string |
None. |
|
| OriginalFileName | string |
None. |
|
| PublicFileName | string |
None. |
|
| FileContents | Collection of byte |
None. |
|
| FileType | FileType |
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. |
|
| AgendaItemGuid | globally unique identifier |
None. |
|
| Guid | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"ContentType": "sample string 1",
"FileName": "sample string 2",
"FileExtension": null,
"OriginalFileName": "sample string 3",
"PublicFileName": "7b7747dc-d54b-4e57-bc0c-5fd6349b24b3",
"FileSize": 4,
"FileContents": "QEA=",
"FileType": 0,
"Width": 1,
"Height": 1,
"InStorage": true,
"Alias": "sample string 6",
"PersonGuid": "85f6a51e-89a7-4c7f-8065-c145319a949c",
"EventContentGuid": "1aa34afa-a6b5-4230-b407-863f47a47473",
"TrainingGuid": "319b22b2-8c8d-4a50-81e8-8f9dc7ee57b8",
"TrainingLocationGuid": "83f4ea78-a07c-408a-81ce-6ea9c531b8ae",
"CompanyGuid": "745d8d70-77bc-4606-a27b-7bf81a0e4953",
"FolderGuid": "62fd5db2-a580-43b5-b2a4-4cc6ad956e7f",
"EventGuid": "863b84bb-bc6d-4048-8df5-3e0d51e17ba5",
"ActivityGuid": "f28f56bf-f56b-40b8-b932-f6d42f1b2598",
"EventLocationGuid": "396bd090-1537-48f6-99f7-23931c69c180",
"OriginalFileGuid": "77f8d3d9-4943-4ce3-ac42-56e2268e2434",
"CopyFromFileGuid": "706b74f0-0021-4ce7-984b-91b2847977dc",
"NewsGuid": "df11c280-df05-421d-a345-3bd57a58f0ed",
"ContributionGuid": "bc6c39c6-f2d6-4fe8-ba35-47c58171e32f",
"ContributionSpeakerGuid": "b99bfe8c-f55f-49e8-94f5-32436ceef225",
"AgendaItemGuid": "50d1f963-ba8c-4f56-b686-196f93c56874",
"Guid": "7b7747dc-d54b-4e57-bc0c-5fd6349b24b3",
"Created": "2025-11-22T15:46:31.2850197+00:00",
"Modified": "2025-11-22T15:46:31.2850197+00:00",
"Deleted": "2025-11-22T15:46:31.2850197+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":"7b7747dc-d54b-4e57-bc0c-5fd6349b24b3","FileSize":4,"FileContents":"QEA=","FileType":0,"Width":1,"Height":1,"InStorage":true,"Alias":"sample string 6","PersonGuid":"85f6a51e-89a7-4c7f-8065-c145319a949c","EventContentGuid":"1aa34afa-a6b5-4230-b407-863f47a47473","TrainingGuid":"319b22b2-8c8d-4a50-81e8-8f9dc7ee57b8","TrainingLocationGuid":"83f4ea78-a07c-408a-81ce-6ea9c531b8ae","CompanyGuid":"745d8d70-77bc-4606-a27b-7bf81a0e4953","FolderGuid":"62fd5db2-a580-43b5-b2a4-4cc6ad956e7f","EventGuid":"863b84bb-bc6d-4048-8df5-3e0d51e17ba5","ActivityGuid":"f28f56bf-f56b-40b8-b932-f6d42f1b2598","EventLocationGuid":"396bd090-1537-48f6-99f7-23931c69c180","OriginalFileGuid":"77f8d3d9-4943-4ce3-ac42-56e2268e2434","CopyFromFileGuid":"706b74f0-0021-4ce7-984b-91b2847977dc","NewsGuid":"df11c280-df05-421d-a345-3bd57a58f0ed","ContributionGuid":"bc6c39c6-f2d6-4fe8-ba35-47c58171e32f","ContributionSpeakerGuid":"b99bfe8c-f55f-49e8-94f5-32436ceef225","AgendaItemGuid":"50d1f963-ba8c-4f56-b686-196f93c56874","Guid":"7b7747dc-d54b-4e57-bc0c-5fd6349b24b3","Created":"2025-11-22T15:46:31.2850197+00:00","Modified":"2025-11-22T15:46:31.2850197+00:00","Deleted":"2025-11-22T15:46:31.2850197+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">2025-11-22T15:46:31.2850197+00:00</Created>
<Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-11-22T15:46:31.2850197+00:00</Deleted>
<Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">7b7747dc-d54b-4e57-bc0c-5fd6349b24b3</Guid>
<Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-11-22T15:46:31.2850197+00:00</Modified>
<ActivityGuid>f28f56bf-f56b-40b8-b932-f6d42f1b2598</ActivityGuid>
<AgendaItemGuid>50d1f963-ba8c-4f56-b686-196f93c56874</AgendaItemGuid>
<Alias>sample string 6</Alias>
<CompanyGuid>745d8d70-77bc-4606-a27b-7bf81a0e4953</CompanyGuid>
<ContentType>sample string 1</ContentType>
<ContributionGuid>bc6c39c6-f2d6-4fe8-ba35-47c58171e32f</ContributionGuid>
<ContributionSpeakerGuid>b99bfe8c-f55f-49e8-94f5-32436ceef225</ContributionSpeakerGuid>
<CopyFromFileGuid>706b74f0-0021-4ce7-984b-91b2847977dc</CopyFromFileGuid>
<EventContentGuid>1aa34afa-a6b5-4230-b407-863f47a47473</EventContentGuid>
<EventGuid>863b84bb-bc6d-4048-8df5-3e0d51e17ba5</EventGuid>
<EventLocationGuid>396bd090-1537-48f6-99f7-23931c69c180</EventLocationGuid>
<FileContents>QEA=</FileContents>
<FileName>sample string 2</FileName>
<FileSize>4</FileSize>
<FileType>Unassigned</FileType>
<FolderGuid>62fd5db2-a580-43b5-b2a4-4cc6ad956e7f</FolderGuid>
<Height>1</Height>
<InStorage>true</InStorage>
<NewsGuid>df11c280-df05-421d-a345-3bd57a58f0ed</NewsGuid>
<OriginalFileGuid>77f8d3d9-4943-4ce3-ac42-56e2268e2434</OriginalFileGuid>
<OriginalFileName>sample string 3</OriginalFileName>
<PersonGuid>85f6a51e-89a7-4c7f-8065-c145319a949c</PersonGuid>
<TrainingGuid>319b22b2-8c8d-4a50-81e8-8f9dc7ee57b8</TrainingGuid>
<TrainingLocationGuid>83f4ea78-a07c-408a-81ce-6ea9c531b8ae</TrainingLocationGuid>
<Width>1</Width>
</FileViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
FileViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ContentType | string |
None. |
|
| FileName | string |
None. |
|
| FileExtension | string |
None. |
|
| OriginalFileName | string |
None. |
|
| PublicFileName | string |
None. |
|
| FileContents | Collection of byte |
None. |
|
| FileType | FileType |
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. |
|
| AgendaItemGuid | globally unique identifier |
None. |
|
| Guid | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"ContentType": "sample string 1",
"FileName": "sample string 2",
"FileExtension": null,
"OriginalFileName": "sample string 3",
"PublicFileName": "b10bee43-3030-41eb-9b1f-0abda575fd96",
"FileSize": 4,
"FileContents": "QEA=",
"FileType": 0,
"Width": 1,
"Height": 1,
"InStorage": true,
"Alias": "sample string 6",
"PersonGuid": "88f05b1a-0bcb-4c57-bd19-087393058a43",
"EventContentGuid": "f8155b5f-6207-406c-ac5d-49e6a39480c2",
"TrainingGuid": "fd43f9f6-eec7-4329-a587-d9b1aad1c4be",
"TrainingLocationGuid": "929ee2aa-2bc1-4918-a773-2fddb9337f91",
"CompanyGuid": "6b7f7c30-c4f2-42dd-a310-b1bc021419fc",
"FolderGuid": "6a49638a-614d-48af-9bf4-dea6f434369f",
"EventGuid": "50c1c2d1-f4c2-4e90-9ecf-ca750060ca6b",
"ActivityGuid": "c5c26632-2ec4-4322-b376-de1832239376",
"EventLocationGuid": "75c1f192-bacb-444c-9a07-a6d2540cefa3",
"OriginalFileGuid": "e9cb9d5f-8874-49fb-b3a0-fae4327956c2",
"CopyFromFileGuid": "92cc98a9-0abe-48d6-8512-024690c4b67a",
"NewsGuid": "0b041b58-2311-4d99-acea-d6b0a2904d34",
"ContributionGuid": "9ac20306-70ac-491e-b704-5dcbc3c72513",
"ContributionSpeakerGuid": "7645c15b-b937-4b76-89b8-04c97e8a25cb",
"AgendaItemGuid": "0a47fda5-cf1b-4552-ab22-e826b042535b",
"Guid": "b10bee43-3030-41eb-9b1f-0abda575fd96",
"Created": "2025-11-22T15:46:31.2850197+00:00",
"Modified": "2025-11-22T15:46:31.2850197+00:00",
"Deleted": "2025-11-22T15:46:31.2850197+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":"b10bee43-3030-41eb-9b1f-0abda575fd96","FileSize":4,"FileContents":"QEA=","FileType":0,"Width":1,"Height":1,"InStorage":true,"Alias":"sample string 6","PersonGuid":"88f05b1a-0bcb-4c57-bd19-087393058a43","EventContentGuid":"f8155b5f-6207-406c-ac5d-49e6a39480c2","TrainingGuid":"fd43f9f6-eec7-4329-a587-d9b1aad1c4be","TrainingLocationGuid":"929ee2aa-2bc1-4918-a773-2fddb9337f91","CompanyGuid":"6b7f7c30-c4f2-42dd-a310-b1bc021419fc","FolderGuid":"6a49638a-614d-48af-9bf4-dea6f434369f","EventGuid":"50c1c2d1-f4c2-4e90-9ecf-ca750060ca6b","ActivityGuid":"c5c26632-2ec4-4322-b376-de1832239376","EventLocationGuid":"75c1f192-bacb-444c-9a07-a6d2540cefa3","OriginalFileGuid":"e9cb9d5f-8874-49fb-b3a0-fae4327956c2","CopyFromFileGuid":"92cc98a9-0abe-48d6-8512-024690c4b67a","NewsGuid":"0b041b58-2311-4d99-acea-d6b0a2904d34","ContributionGuid":"9ac20306-70ac-491e-b704-5dcbc3c72513","ContributionSpeakerGuid":"7645c15b-b937-4b76-89b8-04c97e8a25cb","AgendaItemGuid":"0a47fda5-cf1b-4552-ab22-e826b042535b","Guid":"b10bee43-3030-41eb-9b1f-0abda575fd96","Created":"2025-11-22T15:46:31.2850197+00:00","Modified":"2025-11-22T15:46:31.2850197+00:00","Deleted":"2025-11-22T15:46:31.2850197+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">2025-11-22T15:46:31.2850197+00:00</Created>
<Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-11-22T15:46:31.2850197+00:00</Deleted>
<Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">b10bee43-3030-41eb-9b1f-0abda575fd96</Guid>
<Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-11-22T15:46:31.2850197+00:00</Modified>
<ActivityGuid>c5c26632-2ec4-4322-b376-de1832239376</ActivityGuid>
<AgendaItemGuid>0a47fda5-cf1b-4552-ab22-e826b042535b</AgendaItemGuid>
<Alias>sample string 6</Alias>
<CompanyGuid>6b7f7c30-c4f2-42dd-a310-b1bc021419fc</CompanyGuid>
<ContentType>sample string 1</ContentType>
<ContributionGuid>9ac20306-70ac-491e-b704-5dcbc3c72513</ContributionGuid>
<ContributionSpeakerGuid>7645c15b-b937-4b76-89b8-04c97e8a25cb</ContributionSpeakerGuid>
<CopyFromFileGuid>92cc98a9-0abe-48d6-8512-024690c4b67a</CopyFromFileGuid>
<EventContentGuid>f8155b5f-6207-406c-ac5d-49e6a39480c2</EventContentGuid>
<EventGuid>50c1c2d1-f4c2-4e90-9ecf-ca750060ca6b</EventGuid>
<EventLocationGuid>75c1f192-bacb-444c-9a07-a6d2540cefa3</EventLocationGuid>
<FileContents>QEA=</FileContents>
<FileName>sample string 2</FileName>
<FileSize>4</FileSize>
<FileType>Unassigned</FileType>
<FolderGuid>6a49638a-614d-48af-9bf4-dea6f434369f</FolderGuid>
<Height>1</Height>
<InStorage>true</InStorage>
<NewsGuid>0b041b58-2311-4d99-acea-d6b0a2904d34</NewsGuid>
<OriginalFileGuid>e9cb9d5f-8874-49fb-b3a0-fae4327956c2</OriginalFileGuid>
<OriginalFileName>sample string 3</OriginalFileName>
<PersonGuid>88f05b1a-0bcb-4c57-bd19-087393058a43</PersonGuid>
<TrainingGuid>fd43f9f6-eec7-4329-a587-d9b1aad1c4be</TrainingGuid>
<TrainingLocationGuid>929ee2aa-2bc1-4918-a773-2fddb9337f91</TrainingLocationGuid>
<Width>1</Width>
</FileViewModel>