POST api/Wcc/LogElmahError

Request Information

URI Parameters

None.

Body Parameters

Exception
NameDescriptionTypeAdditional information
Message

string

None.

Data

Dictionary of Object [key] and Object [value]

None.

InnerException

Exception

None.

TargetSite

MethodBase

None.

StackTrace

string

None.

HelpLink

string

None.

Source

string

None.

HResult

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ClassName": "System.Exception",
  "Message": null,
  "Data": null,
  "InnerException": null,
  "HelpURL": "sample string 1",
  "StackTraceString": null,
  "RemoteStackTraceString": null,
  "RemoteStackIndex": 0,
  "ExceptionMethod": null,
  "HResult": 3,
  "Source": "sample string 2",
  "WatsonBuckets": null
}

application/xml, text/xml

Sample:
<Exception xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.datacontract.org/2004/07/System">
  <ClassName i:type="x:string" xmlns="">System.Exception</ClassName>
  <Message i:nil="true" xmlns="" />
  <Data i:nil="true" xmlns="" />
  <InnerException i:nil="true" xmlns="" />
  <HelpURL i:type="x:string" xmlns="">sample string 1</HelpURL>
  <StackTraceString i:nil="true" xmlns="" />
  <RemoteStackTraceString i:nil="true" xmlns="" />
  <RemoteStackIndex i:type="x:int" xmlns="">0</RemoteStackIndex>
  <ExceptionMethod i:nil="true" xmlns="" />
  <HResult i:type="x:int" xmlns="">3</HResult>
  <Source i:type="x:string" xmlns="">sample string 2</Source>
  <WatsonBuckets i:nil="true" xmlns="" />
</Exception>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.