PUT api/Logs
Request Information
URI Parameters
None.
Body Parameters
Log| Name | Description | Type | Additional 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-06T00:15:07.9602422+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-06T00:15:07.9602422+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-06T00:15:07.9602422+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:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.