POST api/log
Request Information
URI Parameters
None.
Body Parameters
LogEntry| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Timestamp | date |
None. |
|
| Level | string |
None. |
|
| Source | string |
None. |
|
| Message | string |
None. |
|
| Details | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Timestamp": "2026-01-10T17:20:41.0362716-05:00",
"Level": "sample string 3",
"Source": "sample string 4",
"Message": "sample string 5",
"Details": "sample string 6"
}
application/xml, text/xml
Sample:
<LogEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PeerToPeerSpecialistsAppAPI.Models"> <Details>sample string 6</Details> <Id>1</Id> <Level>sample string 3</Level> <Message>sample string 5</Message> <Source>sample string 4</Source> <Timestamp>2026-01-10T17:20:41.0362716-05:00</Timestamp> </LogEntry>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.