POST Api/Error

Request Information

URI Parameters

None.

Body Parameters

ErrorInfo
NameDescriptionTypeAdditional information
LogType

string

None.

InnerException

string

None.

Message

string

None.

Source

string

None.

StackTrace

string

None.

TargetSite

string

None.

UserId

globally unique identifier

None.

OS

string

None.

IP

string

None.

Host

string

None.

Comment

string

None.

OrganisationId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "LogType": "sample string 1",
  "InnerException": "sample string 2",
  "Message": "sample string 3",
  "Source": "sample string 4",
  "StackTrace": "sample string 5",
  "TargetSite": "sample string 6",
  "UserId": "a2a20c32-df46-4798-a600-ebb69d957399",
  "OS": "sample string 7",
  "IP": "sample string 8",
  "Host": "sample string 9",
  "Comment": "sample string 10",
  "OrganisationId": "c1ff4aa8-1734-4fb1-a0c1-996081d1f277"
}

application/xml, text/xml

Sample:
<ErrorInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EmergencyNotice.Api.Models">
  <Comment>sample string 10</Comment>
  <Host>sample string 9</Host>
  <IP>sample string 8</IP>
  <InnerException>sample string 2</InnerException>
  <LogType>sample string 1</LogType>
  <Message>sample string 3</Message>
  <OS>sample string 7</OS>
  <OrganisationId>c1ff4aa8-1734-4fb1-a0c1-996081d1f277</OrganisationId>
  <Source>sample string 4</Source>
  <StackTrace>sample string 5</StackTrace>
  <TargetSite>sample string 6</TargetSite>
  <UserId>a2a20c32-df46-4798-a600-ebb69d957399</UserId>
</ErrorInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>