POST api/Logging/LogError
Request Information
URI Parameters
None.
Body Parameters
ErrorLoggingRequestName | Description | Type | Additional information |
---|---|---|---|
ExceptionLineNumber | string |
None. |
|
ExceptionDetail | string |
None. |
|
ErrorUrl | string |
None. |
|
UseRateLimiter | boolean |
None. |
|
StrStackTrace | string |
None. |
|
ExceptionMessage | string |
None. |
|
UserAgent | string |
None. |
|
UserHostAddress | string |
None. |
|
UserHostName | string |
None. |
|
ServerName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ExceptionLineNumber": "sample string 1", "ExceptionDetail": "sample string 2", "ErrorUrl": "sample string 3", "UseRateLimiter": true, "StrStackTrace": "sample string 5", "ExceptionMessage": "sample string 6", "UserAgent": "sample string 7", "UserHostAddress": "sample string 8", "UserHostName": "sample string 9", "ServerName": "sample string 10" }
text/html
Sample:
{"ExceptionLineNumber":"sample string 1","ExceptionDetail":"sample string 2","ErrorUrl":"sample string 3","UseRateLimiter":true,"StrStackTrace":"sample string 5","ExceptionMessage":"sample string 6","UserAgent":"sample string 7","UserHostAddress":"sample string 8","UserHostName":"sample string 9","ServerName":"sample string 10"}
application/xml, text/xml
Sample:
<ErrorLoggingRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Specialtys.DTO.Request"> <ErrorUrl>sample string 3</ErrorUrl> <ExceptionDetail>sample string 2</ExceptionDetail> <ExceptionLineNumber>sample string 1</ExceptionLineNumber> <ExceptionMessage>sample string 6</ExceptionMessage> <ServerName>sample string 10</ServerName> <StrStackTrace>sample string 5</StrStackTrace> <UseRateLimiter>true</UseRateLimiter> <UserAgent>sample string 7</UserAgent> <UserHostAddress>sample string 8</UserHostAddress> <UserHostName>sample string 9</UserHostName> </ErrorLoggingRequest>
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.