GET api/Restlog

Get all of the lines in the Restlogfile

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of RestlogDTO
NameDescriptionTypeAdditional information
id

integer

None.

logmsg

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "logmsg": "sample string 2"
  },
  {
    "id": 1,
    "logmsg": "sample string 2"
  }
]

text/html

Sample:
[{"id":1,"logmsg":"sample string 2"},{"id":1,"logmsg":"sample string 2"}]

application/xml, text/xml

Sample:
<ArrayOfRestlogDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrainingFundREST._BOL">
  <RestlogDTO>
    <id>1</id>
    <logmsg>sample string 2</logmsg>
  </RestlogDTO>
  <RestlogDTO>
    <id>1</id>
    <logmsg>sample string 2</logmsg>
  </RestlogDTO>
</ArrayOfRestlogDTO>