POST api/errorlogs/getlogbyid?correlationId={correlationId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| correlationId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
APIErrorLogs| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CorrelationId | string |
None. |
|
| LogTime | string |
None. |
|
| StackTrace | string |
None. |
|
| IsServiceSideLog | boolean |
None. |
|
| Message | string |
Required |
|
| EIN | string |
None. |
|
| UserId | string |
None. |
|
| User | string |
None. |
|
| Level | string |
Required |
|
| Exception | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"correlationId": "sample string 2",
"logTime": "sample string 3",
"stackTrace": "sample string 4",
"isServiceSideLog": true,
"message": "sample string 6",
"ein": "sample string 7",
"userId": "sample string 8",
"user": "sample string 9",
"level": "sample string 10",
"exception": "sample string 11"
}
application/xml, text/xml
Sample:
<APIErrorLogs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOL.WHD.Section14c.Log.Models"> <EIN>sample string 7</EIN> <Exception>sample string 11</Exception> <Level>sample string 10</Level> <Message>sample string 6</Message> <User>sample string 9</User> <UserId>sample string 8</UserId> <CorrelationId>sample string 2</CorrelationId> <Id>1</Id> <IsServiceSideLog>true</IsServiceSideLog> <LogTime>sample string 3</LogTime> <StackTrace>sample string 4</StackTrace> </APIErrorLogs>