GET api/Logs/{correlationID}

Get all logs by correlationid

Request Information

URI Parameters

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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": "1a442daf-99b6-4931-8c81-b2f78a634651",
    "CorrelationID": "296816ea-ea18-4b68-a8bb-283fa2fd4045",
    "CreatedDate": "12/21/2025 1:00:58 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": "1a442daf-99b6-4931-8c81-b2f78a634651",
    "CorrelationID": "296816ea-ea18-4b68-a8bb-283fa2fd4045",
    "CreatedDate": "12/21/2025 1:00:58 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>296816ea-ea18-4b68-a8bb-283fa2fd4045</CorrelationID>
    <CreatedDate>2025-12-21T13:00:58.8232863+00:00</CreatedDate>
    <Destination>sample string 4</Destination>
    <Id>1a442daf-99b6-4931-8c81-b2f78a634651</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>296816ea-ea18-4b68-a8bb-283fa2fd4045</CorrelationID>
    <CreatedDate>2025-12-21T13:00:58.8232863+00:00</CreatedDate>
    <Destination>sample string 4</Destination>
    <Id>1a442daf-99b6-4931-8c81-b2f78a634651</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>