GET api/LogMessages/{id}

Gets LogMessages for the specified address.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of LogMessage
NameDescriptionTypeAdditional information
ID

integer

None.

AddressID

string

None.

Time

date

None.

Type

LogType

None.

TypeName

string

None.

Source

integer

None.

Destination

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "AddressID": "sample string 2",
    "Time": "2020-07-11T06:04:36.9763813+02:00",
    "Type": 0,
    "TypeName": "No response",
    "Source": 4,
    "Destination": 5,
    "Message": "sample string 6"
  },
  {
    "ID": 1,
    "AddressID": "sample string 2",
    "Time": "2020-07-11T06:04:36.9763813+02:00",
    "Type": 0,
    "TypeName": "No response",
    "Source": 4,
    "Destination": 5,
    "Message": "sample string 6"
  }
]

text/html

Sample:
[{"ID":1,"AddressID":"sample string 2","Time":"2020-07-11T06:04:36.9763813+02:00","Type":0,"TypeName":"No response","Source":4,"Destination":5,"Message":"sample string 6"},{"ID":1,"AddressID":"sample string 2","Time":"2020-07-11T06:04:36.9763813+02:00","Type":0,"TypeName":"No response","Source":4,"Destination":5,"Message":"sample string 6"}]

application/xml, text/xml

Sample:
<ArrayOfLogMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZPPModel.Model">
  <LogMessage>
    <AddressID>sample string 2</AddressID>
    <Destination>5</Destination>
    <ID>1</ID>
    <Message>sample string 6</Message>
    <Source>4</Source>
    <Time>2020-07-11T06:04:36.9763813+02:00</Time>
    <Type>NoResponse</Type>
  </LogMessage>
  <LogMessage>
    <AddressID>sample string 2</AddressID>
    <Destination>5</Destination>
    <ID>1</ID>
    <Message>sample string 6</Message>
    <Source>4</Source>
    <Time>2020-07-11T06:04:36.9763813+02:00</Time>
    <Type>NoResponse</Type>
  </LogMessage>
</ArrayOfLogMessage>