POST api/Error/LogError
Request Information
URI Parameters
None.
Body Parameters
ErrorName | Description | Type | Additional information |
---|---|---|---|
ExecutingUser | string |
None. |
|
ApplicationName | string |
None. |
|
Name | string |
None. |
|
Entity | string |
None. |
|
ErrorMessage | string |
None. |
|
StackTrace | string |
None. |
|
InnerErrorMessage | string |
None. |
|
InnerStack | string |
None. |
|
DebugTrace | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ExecutingUser": "sample string 1", "ApplicationName": "sample string 2", "Name": "sample string 3", "Entity": "sample string 4", "ErrorMessage": "sample string 5", "StackTrace": "sample string 6", "InnerErrorMessage": "sample string 7", "InnerStack": "sample string 8", "DebugTrace": "sample string 9" }
text/html
Sample:
{"ExecutingUser":"sample string 1","ApplicationName":"sample string 2","Name":"sample string 3","Entity":"sample string 4","ErrorMessage":"sample string 5","StackTrace":"sample string 6","InnerErrorMessage":"sample string 7","InnerStack":"sample string 8","DebugTrace":"sample string 9"}
application/xml, text/xml
Sample:
<Error xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BRH.Services.Data.Utilities"> <ApplicationName>sample string 2</ApplicationName> <DebugTrace>sample string 9</DebugTrace> <Entity>sample string 4</Entity> <ErrorMessage>sample string 5</ErrorMessage> <ExecutingUser>sample string 1</ExecutingUser> <InnerErrorMessage>sample string 7</InnerErrorMessage> <InnerStack>sample string 8</InnerStack> <Name>sample string 3</Name> <StackTrace>sample string 6</StackTrace> </Error>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |