POST Api/Error
Request Information
URI Parameters
None.
Body Parameters
ErrorInfo| Name | Description | Type | Additional 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": "e39ac62b-0163-4a37-a654-bc04f5e4fc84",
"OS": "sample string 7",
"IP": "sample string 8",
"Host": "sample string 9",
"Comment": "sample string 10",
"OrganisationId": "33c7fe54-5c1a-4013-8c3c-4c512ebcab3e"
}
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>33c7fe54-5c1a-4013-8c3c-4c512ebcab3e</OrganisationId> <Source>sample string 4</Source> <StackTrace>sample string 5</StackTrace> <TargetSite>sample string 6</TargetSite> <UserId>e39ac62b-0163-4a37-a654-bc04f5e4fc84</UserId> </ErrorInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse 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>