PUT api/Logs

Request Information

URI Parameters

None.

Body Parameters

Log
NameDescriptionTypeAdditional information
Id

integer

None.

Message

string

None.

Date

date

None.

Thread

string

None.

Level

string

None.

Logger

string

None.

Exception

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "message": "sample string 2",
  "date": "2026-05-06T03:14:20.1351903+02:00",
  "thread": "sample string 4",
  "level": "sample string 5",
  "logger": "sample string 6",
  "exception": "sample string 7"
}

text/html

Sample:
{"id":1,"message":"sample string 2","date":"2026-05-06T03:14:20.1351903+02:00","thread":"sample string 4","level":"sample string 5","logger":"sample string 6","exception":"sample string 7"}

application/xml, text/xml

Sample:
<Log xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UrgentCareExtra.Data.Models">
  <Date>2026-05-06T03:14:20.1351903+02:00</Date>
  <Exception>sample string 7</Exception>
  <Id>1</Id>
  <Level>sample string 5</Level>
  <Logger>sample string 6</Logger>
  <Message>sample string 2</Message>
  <Thread>sample string 4</Thread>
</Log>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Log'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.