POST api/calendar/event/file
Add file in an existing event
Request Information
URI Parameters
None.
Body Parameters
EventFileName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
EventID | string |
None. |
|
FileBase64 | string |
None. |
|
OriginalFileName | string |
None. |
|
FileExtension | string |
None. |
|
Date | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "EventID": "sample string 2", "FileBase64": "sample string 3", "OriginalFileName": "sample string 4", "FileExtension": "sample string 5", "Date": "2025-04-04T01:14:36.62241+01:00" }
application/xml, text/xml
Sample:
<CalendarModel.EventFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GabineteDigital.Services.Models"> <Date>2025-04-04T01:14:36.62241+01:00</Date> <EventID>sample string 2</EventID> <FileBase64>sample string 3</FileBase64> <FileExtension>sample string 5</FileExtension> <Id>1</Id> <OriginalFileName>sample string 4</OriginalFileName> </CalendarModel.EventFile>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>