POST Logging

Request Information

URI Parameters

None.

Body Parameters

LogEntry
NameDescriptionTypeAdditional information
EntryDate

date

None.

Message

string

String length: inclusive between 0 and 1000

Level

LogLevel

None.

ExtraInfo

Collection of Object

None.

Request Formats

application/json, text/json

Sample:
{
  "entryDate": "2025-11-08T13:49:16.2587392+01:00",
  "message": "sample string 2",
  "level": 0,
  "extraInfo": [
    {},
    {}
  ]
}

application/xml, text/xml

Sample:
<LogEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/s_election.API.Models.Site">
  <EntryDate>2025-11-08T13:49:16.2587392+01:00</EntryDate>
  <ExtraInfo xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </ExtraInfo>
  <Level>All</Level>
  <Message>sample string 2</Message>
</LogEntry>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.