POST api/logs
Request Information
URI Parameters
None.
Body Parameters
LogName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Message | string |
None. |
|
InnerException | string |
None. |
|
DateTime | date |
None. |
|
MethodName | string |
None. |
|
User | string |
None. |
Request Formats
application/xml, text/xml
Sample:
<Log xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CCT.VerifyDoc.API.Models"> <DateTime>2025-06-03T01:38:55.0090952+03:00</DateTime> <Id>1</Id> <InnerException>sample string 3</InnerException> <Message>sample string 2</Message> <MethodName>sample string 5</MethodName> <User>sample string 6</User> </Log>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{ "DateTime": "2025-06-02T22:38:55.009Z", "Id": 1, "User": "sample string 6", "MethodName": "sample string 5", "InnerException": "sample string 3", "Message": "sample string 2" }
Response Information
Resource Description
LogName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Message | string |
None. |
|
InnerException | string |
None. |
|
DateTime | date |
None. |
|
MethodName | string |
None. |
|
User | string |
None. |
Response Formats
application/xml, text/xml
Sample:
<Log xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CCT.VerifyDoc.API.Models"> <DateTime>2025-06-03T01:38:55.0247086+03:00</DateTime> <Id>1</Id> <InnerException>sample string 3</InnerException> <Message>sample string 2</Message> <MethodName>sample string 5</MethodName> <User>sample string 6</User> </Log>
application/json, text/json
Sample:
{ "DateTime": "2025-06-02T22:38:55.024Z", "Id": 1, "User": "sample string 6", "MethodName": "sample string 5", "InnerException": "sample string 3", "Message": "sample string 2" }