POST api/EventLogs
Request Information
URI Parameters
None.
Body Parameters
EventLogDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Token | string |
None. |
|
| Date | date |
None. |
|
| Context | string |
String length: inclusive between 0 and 255 |
Request Formats
application/json, text/json
Sample:
{
"Token": "sample string 1",
"Date": "2026-02-01T13:28:18.8049879-06:00",
"Context": "sample string 2"
}
application/xml, text/xml
Sample:
<EventLogDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MainEventsService.Models"> <Context>sample string 2</Context> <Date>2026-02-01T13:28:18.8049879-06:00</Date> <Token>sample string 1</Token> </EventLogDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
eventlog| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| UserId | integer |
None. |
|
| Date | date |
None. |
|
| Context | string |
String length: inclusive between 0 and 255 |
|
| Created | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"UserId": 2,
"Date": "2026-02-01T13:28:18.9456091-06:00",
"Context": "sample string 4",
"Created": "2026-02-01T13:28:18.9456091-06:00"
}
application/xml, text/xml
Sample:
<eventlog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MainEventsService.Models"> <Context>sample string 4</Context> <Created>2026-02-01T13:28:18.9456091-06:00</Created> <Date>2026-02-01T13:28:18.9456091-06:00</Date> <Id>1</Id> <UserId>2</UserId> </eventlog>