GET api/Log/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Log
NameDescriptionTypeAdditional information
Time

date

None.

AddressID

string

None.

UserID

string

None.

Message

string

None.

Details

string

None.

ID

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Time": "2024-11-21T10:33:30.4779634+01:00",
    "AddressID": "sample string 1",
    "UserID": "sample string 2",
    "Message": "sample string 3",
    "Details": "sample string 4",
    "ID": 5
  },
  {
    "Time": "2024-11-21T10:33:30.4779634+01:00",
    "AddressID": "sample string 1",
    "UserID": "sample string 2",
    "Message": "sample string 3",
    "Details": "sample string 4",
    "ID": 5
  }
]

text/html

Sample:
[{"Time":"2024-11-21T10:33:30.4779634+01:00","AddressID":"sample string 1","UserID":"sample string 2","Message":"sample string 3","Details":"sample string 4","ID":5},{"Time":"2024-11-21T10:33:30.4779634+01:00","AddressID":"sample string 1","UserID":"sample string 2","Message":"sample string 3","Details":"sample string 4","ID":5}]

application/xml, text/xml

Sample:
<ArrayOfLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZPPModel">
  <Log>
    <ID>5</ID>
    <AddressID>sample string 1</AddressID>
    <Details>sample string 4</Details>
    <Message>sample string 3</Message>
    <Time>2024-11-21T10:33:30.4779634+01:00</Time>
    <UserID>sample string 2</UserID>
  </Log>
  <Log>
    <ID>5</ID>
    <AddressID>sample string 1</AddressID>
    <Details>sample string 4</Details>
    <Message>sample string 3</Message>
    <Time>2024-11-21T10:33:30.4779634+01:00</Time>
    <UserID>sample string 2</UserID>
  </Log>
</ArrayOfLog>