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": "1637faca-7c54-49df-a63b-f4019a3c813c",
"OS": "sample string 7",
"IP": "sample string 8",
"Host": "sample string 9",
"Comment": "sample string 10",
"OrganisationId": "64f4a86c-f494-4b99-af25-758ec671c991"
}
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>64f4a86c-f494-4b99-af25-758ec671c991</OrganisationId> <Source>sample string 4</Source> <StackTrace>sample string 5</StackTrace> <TargetSite>sample string 6</TargetSite> <UserId>1637faca-7c54-49df-a63b-f4019a3c813c</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>