POST api/EventLogs

Request Information

URI Parameters

None.

Body Parameters

EventLogDTO
NameDescriptionTypeAdditional 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": "2025-06-16T09:03:00.2027468-05: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>2025-06-16T09:03:00.2027468-05:00</Date>
  <Token>sample string 1</Token>
</EventLogDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

eventlog
NameDescriptionTypeAdditional 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": "2025-06-16T09:03:00.2027468-05:00",
  "Context": "sample string 4",
  "Created": "2025-06-16T09:03:00.2027468-05: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>2025-06-16T09:03:00.2027468-05:00</Created>
  <Date>2025-06-16T09:03:00.2027468-05:00</Date>
  <Id>1</Id>
  <UserId>2</UserId>
</eventlog>