POST api/Events
Request Information
URI Parameters
None.
Body Parameters
Event| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
Required |
|
| EventDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"EventDate": "2026-02-27T19:25:26.9021314+01:00"
}
application/xml, text/xml
Sample:
<Event xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TD.Vararuset.API.Models"> <EventDate>2026-02-27T19:25:26.9021314+01:00</EventDate> <Id>1</Id> <Name>sample string 2</Name> </Event>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Event| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
Required |
|
| EventDate | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"EventDate": "2026-02-27T19:25:26.9177021+01:00"
}
application/xml, text/xml
Sample:
<Event xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TD.Vararuset.API.Models"> <EventDate>2026-02-27T19:25:26.9177021+01:00</EventDate> <Id>1</Id> <Name>sample string 2</Name> </Event>