POST api/log/addLog
Request Information
URI Parameters
None.
Body Parameters
Collection of ErrorLog| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CreateDateTime | date |
None. |
|
| Type | string |
None. |
|
| Msg | string |
None. |
|
| StackTrace | string |
None. |
|
| FullError | string |
None. |
|
| SerializedData | string |
None. |
|
| DriverId | integer |
None. |
|
| BaseException | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"CreateDateTime": "2025-12-21T07:50:38.4430094+00:00",
"Type": "sample string 3",
"Msg": "sample string 4",
"StackTrace": "sample string 5",
"FullError": "sample string 6",
"SerializedData": "sample string 7",
"DriverId": 8,
"BaseException": "sample string 9"
},
{
"Id": 1,
"CreateDateTime": "2025-12-21T07:50:38.4430094+00:00",
"Type": "sample string 3",
"Msg": "sample string 4",
"StackTrace": "sample string 5",
"FullError": "sample string 6",
"SerializedData": "sample string 7",
"DriverId": 8,
"BaseException": "sample string 9"
}
]
application/xml, text/xml
Sample:
<ArrayOfErrorLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ethoz.Models.Domain">
<ErrorLog>
<BaseException>sample string 9</BaseException>
<CreateDateTime>2025-12-21T07:50:38.4430094+00:00</CreateDateTime>
<DriverId>8</DriverId>
<FullError>sample string 6</FullError>
<Id>1</Id>
<Msg>sample string 4</Msg>
<SerializedData>sample string 7</SerializedData>
<StackTrace>sample string 5</StackTrace>
<Type>sample string 3</Type>
</ErrorLog>
<ErrorLog>
<BaseException>sample string 9</BaseException>
<CreateDateTime>2025-12-21T07:50:38.4430094+00:00</CreateDateTime>
<DriverId>8</DriverId>
<FullError>sample string 6</FullError>
<Id>1</Id>
<Msg>sample string 4</Msg>
<SerializedData>sample string 7</SerializedData>
<StackTrace>sample string 5</StackTrace>
<Type>sample string 3</Type>
</ErrorLog>
</ArrayOfErrorLog>
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.