POST common/logServiceError

Request Information

URI Parameters

None.

Body Parameters

ServiceError
NameDescriptionTypeAdditional information
ErrorMessage

string

None.

ErrorCode

string

None.

StackTrace

string

None.

TenantId

integer

None.

MemberName

string

None.

SourceFilePath

string

None.

SourceLineNumber

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ErrorMessage": "sample string 1",
  "ErrorCode": "sample string 2",
  "StackTrace": "sample string 3",
  "TenantId": 4,
  "MemberName": "sample string 5",
  "SourceFilePath": "sample string 6",
  "SourceLineNumber": 1
}

text/html

Sample:
{"ErrorMessage":"sample string 1","ErrorCode":"sample string 2","StackTrace":"sample string 3","TenantId":4,"MemberName":"sample string 5","SourceFilePath":"sample string 6","SourceLineNumber":1}

application/xml, text/xml

Sample:
<ServiceError xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Common">
  <ErrorCode>sample string 2</ErrorCode>
  <ErrorMessage>sample string 1</ErrorMessage>
  <MemberName>sample string 5</MemberName>
  <SourceFilePath>sample string 6</SourceFilePath>
  <SourceLineNumber>1</SourceLineNumber>
  <StackTrace>sample string 3</StackTrace>
  <TenantId>4</TenantId>
</ServiceError>

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 'ServiceError'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.