PUT v1/File
Request Information
URI Parameters
None.
Body Parameters
FileViewModelName | 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": "9b93e9d5-64db-481b-94e6-fb72ee4dab30", "FileSize": 4, "FileContents": "QEA=", "FileType": 0, "Width": 1, "Height": 1, "InStorage": true, "Alias": "sample string 6", "PersonGuid": "b5d10caf-0684-41c7-926d-291b37d76f5e", "EventContentGuid": "e33d7cb9-ce5b-4876-9907-0f80ceadc526", "TrainingGuid": "6f4f41df-4bed-4154-9a9c-624dced1f658", "TrainingLocationGuid": "74862e8f-929a-4400-93eb-cf89594b9cb6", "CompanyGuid": "47dbbb27-e154-4df5-a1d7-d5c249977c19", "FolderGuid": "ce5a5c08-2a1b-4308-b8f7-62618401940f", "EventGuid": "01c3e023-5e21-47db-a1a9-37c0f7f9d300", "ActivityGuid": "a7237fbc-c7c5-402b-8395-5c317378662b", "EventLocationGuid": "5d60d680-8705-42c4-bfd0-f39feb9d6d79", "OriginalFileGuid": "0480fc5a-ea37-4ec7-b875-cc61f2c87fe0", "CopyFromFileGuid": "aa3e5441-bcc4-4044-87da-65aa391c2d71", "NewsGuid": "a81d2288-a0b1-4ccc-af8f-65e27e18d7ae", "ContributionGuid": "9c412aa3-0216-4ac3-bae1-d10e0c4d72b1", "ContributionSpeakerGuid": "3e62e795-181e-4b64-9522-5debc223ca92", "AgendaItemGuid": "6e10b64c-09b3-4bfb-a136-accd174123de", "Guid": "9b93e9d5-64db-481b-94e6-fb72ee4dab30", "Created": "2025-08-29T18:44:27.7425595+00:00", "Modified": "2025-08-29T18:44:27.7425595+00:00", "Deleted": "2025-08-29T18:44:27.7425595+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":"9b93e9d5-64db-481b-94e6-fb72ee4dab30","FileSize":4,"FileContents":"QEA=","FileType":0,"Width":1,"Height":1,"InStorage":true,"Alias":"sample string 6","PersonGuid":"b5d10caf-0684-41c7-926d-291b37d76f5e","EventContentGuid":"e33d7cb9-ce5b-4876-9907-0f80ceadc526","TrainingGuid":"6f4f41df-4bed-4154-9a9c-624dced1f658","TrainingLocationGuid":"74862e8f-929a-4400-93eb-cf89594b9cb6","CompanyGuid":"47dbbb27-e154-4df5-a1d7-d5c249977c19","FolderGuid":"ce5a5c08-2a1b-4308-b8f7-62618401940f","EventGuid":"01c3e023-5e21-47db-a1a9-37c0f7f9d300","ActivityGuid":"a7237fbc-c7c5-402b-8395-5c317378662b","EventLocationGuid":"5d60d680-8705-42c4-bfd0-f39feb9d6d79","OriginalFileGuid":"0480fc5a-ea37-4ec7-b875-cc61f2c87fe0","CopyFromFileGuid":"aa3e5441-bcc4-4044-87da-65aa391c2d71","NewsGuid":"a81d2288-a0b1-4ccc-af8f-65e27e18d7ae","ContributionGuid":"9c412aa3-0216-4ac3-bae1-d10e0c4d72b1","ContributionSpeakerGuid":"3e62e795-181e-4b64-9522-5debc223ca92","AgendaItemGuid":"6e10b64c-09b3-4bfb-a136-accd174123de","Guid":"9b93e9d5-64db-481b-94e6-fb72ee4dab30","Created":"2025-08-29T18:44:27.7425595+00:00","Modified":"2025-08-29T18:44:27.7425595+00:00","Deleted":"2025-08-29T18:44:27.7425595+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-08-29T18:44:27.7425595+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-08-29T18:44:27.7425595+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">9b93e9d5-64db-481b-94e6-fb72ee4dab30</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-08-29T18:44:27.7425595+00:00</Modified> <ActivityGuid>a7237fbc-c7c5-402b-8395-5c317378662b</ActivityGuid> <AgendaItemGuid>6e10b64c-09b3-4bfb-a136-accd174123de</AgendaItemGuid> <Alias>sample string 6</Alias> <CompanyGuid>47dbbb27-e154-4df5-a1d7-d5c249977c19</CompanyGuid> <ContentType>sample string 1</ContentType> <ContributionGuid>9c412aa3-0216-4ac3-bae1-d10e0c4d72b1</ContributionGuid> <ContributionSpeakerGuid>3e62e795-181e-4b64-9522-5debc223ca92</ContributionSpeakerGuid> <CopyFromFileGuid>aa3e5441-bcc4-4044-87da-65aa391c2d71</CopyFromFileGuid> <EventContentGuid>e33d7cb9-ce5b-4876-9907-0f80ceadc526</EventContentGuid> <EventGuid>01c3e023-5e21-47db-a1a9-37c0f7f9d300</EventGuid> <EventLocationGuid>5d60d680-8705-42c4-bfd0-f39feb9d6d79</EventLocationGuid> <FileContents>QEA=</FileContents> <FileName>sample string 2</FileName> <FileSize>4</FileSize> <FileType>Unassigned</FileType> <FolderGuid>ce5a5c08-2a1b-4308-b8f7-62618401940f</FolderGuid> <Height>1</Height> <InStorage>true</InStorage> <NewsGuid>a81d2288-a0b1-4ccc-af8f-65e27e18d7ae</NewsGuid> <OriginalFileGuid>0480fc5a-ea37-4ec7-b875-cc61f2c87fe0</OriginalFileGuid> <OriginalFileName>sample string 3</OriginalFileName> <PersonGuid>b5d10caf-0684-41c7-926d-291b37d76f5e</PersonGuid> <TrainingGuid>6f4f41df-4bed-4154-9a9c-624dced1f658</TrainingGuid> <TrainingLocationGuid>74862e8f-929a-4400-93eb-cf89594b9cb6</TrainingLocationGuid> <Width>1</Width> </FileViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
FileViewModelName | 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": "d94b5a08-72b9-401a-a22a-8c3d0484c72a", "FileSize": 4, "FileContents": "QEA=", "FileType": 0, "Width": 1, "Height": 1, "InStorage": true, "Alias": "sample string 6", "PersonGuid": "02035a88-1ddf-4046-a237-b1a18f26f8b5", "EventContentGuid": "a642d96c-a473-4b28-9ed5-bd168fc1e467", "TrainingGuid": "eb9910d5-3d82-43bd-b78d-ef36620fb1c2", "TrainingLocationGuid": "38d1f2a3-3525-45c2-8023-29d3aa8d12b3", "CompanyGuid": "12b1df85-d206-4d4f-9503-851f456bbe06", "FolderGuid": "1037d042-9d5c-4277-ad86-cd42ecc88592", "EventGuid": "c5373798-4ea6-4fc9-94c7-518d3d62eafb", "ActivityGuid": "b2f038e1-ff21-4db6-b1cd-0a4170185cfb", "EventLocationGuid": "6dda702d-f80b-4162-8e5a-c18051759d42", "OriginalFileGuid": "a54168e3-06b8-46b2-ba11-2eeb3d44a96a", "CopyFromFileGuid": "f1a170f0-2d90-4fd2-ada5-1a3709dfa385", "NewsGuid": "5c43c474-adac-427b-9971-cddede1930a2", "ContributionGuid": "a89cb0c3-0e6c-4091-b72e-911551e132d9", "ContributionSpeakerGuid": "ed823d67-22d2-4d9c-b0d2-1b2c862b70f4", "AgendaItemGuid": "c0f6deee-08a9-4a52-a8c3-c30230d51432", "Guid": "d94b5a08-72b9-401a-a22a-8c3d0484c72a", "Created": "2025-08-29T18:44:27.7425595+00:00", "Modified": "2025-08-29T18:44:27.7425595+00:00", "Deleted": "2025-08-29T18:44:27.7425595+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":"d94b5a08-72b9-401a-a22a-8c3d0484c72a","FileSize":4,"FileContents":"QEA=","FileType":0,"Width":1,"Height":1,"InStorage":true,"Alias":"sample string 6","PersonGuid":"02035a88-1ddf-4046-a237-b1a18f26f8b5","EventContentGuid":"a642d96c-a473-4b28-9ed5-bd168fc1e467","TrainingGuid":"eb9910d5-3d82-43bd-b78d-ef36620fb1c2","TrainingLocationGuid":"38d1f2a3-3525-45c2-8023-29d3aa8d12b3","CompanyGuid":"12b1df85-d206-4d4f-9503-851f456bbe06","FolderGuid":"1037d042-9d5c-4277-ad86-cd42ecc88592","EventGuid":"c5373798-4ea6-4fc9-94c7-518d3d62eafb","ActivityGuid":"b2f038e1-ff21-4db6-b1cd-0a4170185cfb","EventLocationGuid":"6dda702d-f80b-4162-8e5a-c18051759d42","OriginalFileGuid":"a54168e3-06b8-46b2-ba11-2eeb3d44a96a","CopyFromFileGuid":"f1a170f0-2d90-4fd2-ada5-1a3709dfa385","NewsGuid":"5c43c474-adac-427b-9971-cddede1930a2","ContributionGuid":"a89cb0c3-0e6c-4091-b72e-911551e132d9","ContributionSpeakerGuid":"ed823d67-22d2-4d9c-b0d2-1b2c862b70f4","AgendaItemGuid":"c0f6deee-08a9-4a52-a8c3-c30230d51432","Guid":"d94b5a08-72b9-401a-a22a-8c3d0484c72a","Created":"2025-08-29T18:44:27.7425595+00:00","Modified":"2025-08-29T18:44:27.7425595+00:00","Deleted":"2025-08-29T18:44:27.7425595+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-08-29T18:44:27.7425595+00:00</Created> <Deleted xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-08-29T18:44:27.7425595+00:00</Deleted> <Guid xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">d94b5a08-72b9-401a-a22a-8c3d0484c72a</Guid> <Modified xmlns="http://schemas.datacontract.org/2004/07/Interpulse.EventSystem.ViewModels.Services">2025-08-29T18:44:27.7425595+00:00</Modified> <ActivityGuid>b2f038e1-ff21-4db6-b1cd-0a4170185cfb</ActivityGuid> <AgendaItemGuid>c0f6deee-08a9-4a52-a8c3-c30230d51432</AgendaItemGuid> <Alias>sample string 6</Alias> <CompanyGuid>12b1df85-d206-4d4f-9503-851f456bbe06</CompanyGuid> <ContentType>sample string 1</ContentType> <ContributionGuid>a89cb0c3-0e6c-4091-b72e-911551e132d9</ContributionGuid> <ContributionSpeakerGuid>ed823d67-22d2-4d9c-b0d2-1b2c862b70f4</ContributionSpeakerGuid> <CopyFromFileGuid>f1a170f0-2d90-4fd2-ada5-1a3709dfa385</CopyFromFileGuid> <EventContentGuid>a642d96c-a473-4b28-9ed5-bd168fc1e467</EventContentGuid> <EventGuid>c5373798-4ea6-4fc9-94c7-518d3d62eafb</EventGuid> <EventLocationGuid>6dda702d-f80b-4162-8e5a-c18051759d42</EventLocationGuid> <FileContents>QEA=</FileContents> <FileName>sample string 2</FileName> <FileSize>4</FileSize> <FileType>Unassigned</FileType> <FolderGuid>1037d042-9d5c-4277-ad86-cd42ecc88592</FolderGuid> <Height>1</Height> <InStorage>true</InStorage> <NewsGuid>5c43c474-adac-427b-9971-cddede1930a2</NewsGuid> <OriginalFileGuid>a54168e3-06b8-46b2-ba11-2eeb3d44a96a</OriginalFileGuid> <OriginalFileName>sample string 3</OriginalFileName> <PersonGuid>02035a88-1ddf-4046-a237-b1a18f26f8b5</PersonGuid> <TrainingGuid>eb9910d5-3d82-43bd-b78d-ef36620fb1c2</TrainingGuid> <TrainingLocationGuid>38d1f2a3-3525-45c2-8023-29d3aa8d12b3</TrainingLocationGuid> <Width>1</Width> </FileViewModel>