GET api/Admin/Log/{serviceName}/{log}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
serviceName

string

Required

log

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of LogModel
NameDescriptionTypeAdditional information
Date

date

None.

DateString

string

None.

Level

string

None.

Logger

string

None.

Appname

string

None.

Thread

string

None.

Ndc

string

None.

Message

Object

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Date": "2024-12-21T11:25:28.0117028-05:00",
    "DateString": "11:25:28.011",
    "Level": "sample string 2",
    "Logger": "sample string 3",
    "Appname": "sample string 4",
    "Thread": "sample string 5",
    "Ndc": "sample string 6",
    "Message": {}
  },
  {
    "Date": "2024-12-21T11:25:28.0117028-05:00",
    "DateString": "11:25:28.011",
    "Level": "sample string 2",
    "Logger": "sample string 3",
    "Appname": "sample string 4",
    "Thread": "sample string 5",
    "Ndc": "sample string 6",
    "Message": {}
  }
]

application/xml, text/xml

Sample:
<ArrayOfLogModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TDR.WebApi.Models">
  <LogModel>
    <Appname>sample string 4</Appname>
    <Date>2024-12-21T11:25:28.0117028-05:00</Date>
    <Level>sample string 2</Level>
    <Logger>sample string 3</Logger>
    <Message />
    <Ndc>sample string 6</Ndc>
    <Thread>sample string 5</Thread>
  </LogModel>
  <LogModel>
    <Appname>sample string 4</Appname>
    <Date>2024-12-21T11:25:28.0117028-05:00</Date>
    <Level>sample string 2</Level>
    <Logger>sample string 3</Logger>
    <Message />
    <Ndc>sample string 6</Ndc>
    <Thread>sample string 5</Thread>
  </LogModel>
</ArrayOfLogModel>