POST api/Logs
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
LogName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
DateTime | date |
None. |
|
Username | string |
None. |
|
Type | string |
None. |
|
Description | string |
None. |
|
TraceId | string |
None. |
|
Attachments | string |
None. |
|
Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": 1, "DateTime": "2025-08-29T03:01:51.2870099+00:00", "Username": "sample string 3", "Type": "sample string 4", "Description": "sample string 5", "TraceId": "sample string 6", "Attachments": "sample string 7", "Data": "sample string 8" }
application/octet-stream
Sample:
{"Id":1,"DateTime":"2025-08-29T03:01:51.2870099+00:00","Username":"sample string 3","Type":"sample string 4","Description":"sample string 5","TraceId":"sample string 6","Attachments":"sample string 7","Data":"sample string 8"}
application/xml, text/xml
Sample:
<Log xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Id>1</Id> <DateTime>2025-08-29T03:01:51.2870099+00:00</DateTime> <Username>sample string 3</Username> <Type>sample string 4</Type> <Description>sample string 5</Description> <TraceId>sample string 6</TraceId> <Attachments>sample string 7</Attachments> <Data>sample string 8</Data> </Log>