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": "bbd67bdf-29fe-4575-b0f5-4b8000e439f0",
"OS": "sample string 7",
"IP": "sample string 8",
"Host": "sample string 9",
"Comment": "sample string 10",
"OrganisationId": "6d4f642f-dc91-4c6e-8587-ef01c0b1bcb8"
}
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>6d4f642f-dc91-4c6e-8587-ef01c0b1bcb8</OrganisationId> <Source>sample string 4</Source> <StackTrace>sample string 5</StackTrace> <TargetSite>sample string 6</TargetSite> <UserId>bbd67bdf-29fe-4575-b0f5-4b8000e439f0</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>