POST api/Account/WriteToAppErrorLog

Request Information

URI Parameters

None.

Body Parameters

AppErrorReport
NameDescriptionTypeAdditional information
Screen

string

None.

Method

string

None.

ApiCall

string

None.

Payload

string

None.

ExceptionMessage

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Screen": "sample string 1",
  "Method": "sample string 2",
  "ApiCall": "sample string 3",
  "Payload": "sample string 4",
  "ExceptionMessage": "sample string 5"
}

text/html

Sample:
{"Screen":"sample string 1","Method":"sample string 2","ApiCall":"sample string 3","Payload":"sample string 4","ExceptionMessage":"sample string 5"}

application/xml, text/xml

Sample:
<AppErrorReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FantasyCoverage.BusinessObjects">
  <ApiCall>sample string 3</ApiCall>
  <ExceptionMessage>sample string 5</ExceptionMessage>
  <Method>sample string 2</Method>
  <Payload>sample string 4</Payload>
  <Screen>sample string 1</Screen>
</AppErrorReport>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AppErrorReport'.

Response Information

Resource Description

None.