GET api/Logs/{correlationID}
Get all logs by correlationid
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| correlationID |
Log correlation ID to fetch |
globally unique identifier |
Required |
Body Parameters
None.
Remarks
None.
Example
None.
Response Information
Resource Description
Collection of Log| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Unique identifier for the specific log item. |
globally unique identifier |
None. |
| CorrelationID |
Correlation id to identify related log items. |
globally unique identifier |
None. |
| CreatedDate |
Date when the log item was created. |
date |
None. |
| Title |
String title. |
string |
None. |
| LogtypeId |
Log type |
integer |
None. |
| LogType | LogType |
None. |
|
| Destination | string |
None. |
|
| Message | string |
None. |
|
| StackTrace | string |
None. |
|
| CallMethod | string |
None. |
|
| CompanyNumber | string |
None. |
|
| Username | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "afa46405-fc01-42d6-a6b9-fa9a765c0eb8",
"CorrelationID": "8b48d4c2-089f-4812-9dba-da87baa88e88",
"CreatedDate": "4/16/2026 1:18:02 PM",
"Title": "sample string 3",
"LogtypeId": 1,
"LogType": {
"Id": 1,
"Description": "sample string 2"
},
"Destination": "sample string 4",
"Message": "sample string 5",
"StackTrace": "sample string 6",
"CallMethod": "sample string 7",
"CompanyNumber": "sample string 8",
"Username": "sample string 9"
},
{
"Id": "afa46405-fc01-42d6-a6b9-fa9a765c0eb8",
"CorrelationID": "8b48d4c2-089f-4812-9dba-da87baa88e88",
"CreatedDate": "4/16/2026 1:18:02 PM",
"Title": "sample string 3",
"LogtypeId": 1,
"LogType": {
"Id": 1,
"Description": "sample string 2"
},
"Destination": "sample string 4",
"Message": "sample string 5",
"StackTrace": "sample string 6",
"CallMethod": "sample string 7",
"CompanyNumber": "sample string 8",
"Username": "sample string 9"
}
]
application/xml, text/xml
Sample:
<ArrayOfLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO">
<Log>
<CallMethod>sample string 7</CallMethod>
<CompanyNumber>sample string 8</CompanyNumber>
<CorrelationID>8b48d4c2-089f-4812-9dba-da87baa88e88</CorrelationID>
<CreatedDate>2026-04-16T13:18:02.8270909+01:00</CreatedDate>
<Destination>sample string 4</Destination>
<Id>afa46405-fc01-42d6-a6b9-fa9a765c0eb8</Id>
<LogType xmlns:d3p1="DDAPI.DTO">
<d3p1:Description>sample string 2</d3p1:Description>
<d3p1:Id>1</d3p1:Id>
</LogType>
<LogtypeId>1</LogtypeId>
<Message>sample string 5</Message>
<StackTrace>sample string 6</StackTrace>
<Title>sample string 3</Title>
<Username>sample string 9</Username>
</Log>
<Log>
<CallMethod>sample string 7</CallMethod>
<CompanyNumber>sample string 8</CompanyNumber>
<CorrelationID>8b48d4c2-089f-4812-9dba-da87baa88e88</CorrelationID>
<CreatedDate>2026-04-16T13:18:02.8270909+01:00</CreatedDate>
<Destination>sample string 4</Destination>
<Id>afa46405-fc01-42d6-a6b9-fa9a765c0eb8</Id>
<LogType xmlns:d3p1="DDAPI.DTO">
<d3p1:Description>sample string 2</d3p1:Description>
<d3p1:Id>1</d3p1:Id>
</LogType>
<LogtypeId>1</LogtypeId>
<Message>sample string 5</Message>
<StackTrace>sample string 6</StackTrace>
<Title>sample string 3</Title>
<Username>sample string 9</Username>
</Log>
</ArrayOfLog>