POST api/v1/Monitor/LogReader

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
request
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "PublicationId": 1,
  "SubscriberId": 1,
  "EventTime": "2024-11-21T10:02:51.2741219+00:00",
  "ReturnCount": 2,
  "TraceLevel": 0,
  "LogEntryType": 0,
  "RecordCount": 3,
  "HasDelayGreaterThan": 4.0,
  "IncludeArchive": true
}

application/xml, text/xml

Sample:
<LogRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Uniware.Data.Sync.Collections.Monitor">
  <EventTime>2024-11-21T10:02:51.2741219+00:00</EventTime>
  <HasDelayGreaterThan>4</HasDelayGreaterThan>
  <IncludeArchive>true</IncludeArchive>
  <LogEntryType>SnapshotCreated</LogEntryType>
  <PublicationId>1</PublicationId>
  <RecordCount>3</RecordCount>
  <ReturnCount>2</ReturnCount>
  <SubscriberId>1</SubscriberId>
  <TraceLevel>Off</TraceLevel>
</LogRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
[
  {
    "LogType": 0,
    "SubscriberId": 1,
    "PublicationId": 1,
    "LogMessage": "sample string 2",
    "MonitorMessage": {
      "LastException": "",
      "Worker": {
        "CancellationPending": false,
        "IsBusy": false,
        "WorkerReportsProgress": false,
        "WorkerSupportsCancellation": false,
        "Site": null,
        "Container": null
      },
      "MessagePath": "sample string 1",
      "CompanyID": 2,
      "DeviceID": "sample string 3",
      "AddtionalInfo": "sample string 4",
      "Property": null
    },
    "Duration": 3.1,
    "RecordCount": 4,
    "EventTime": "2024-11-21T10:02:51.3209823+00:00"
  },
  {
    "LogType": 0,
    "SubscriberId": 1,
    "PublicationId": 1,
    "LogMessage": "sample string 2",
    "MonitorMessage": {
      "LastException": "",
      "Worker": {
        "CancellationPending": false,
        "IsBusy": false,
        "WorkerReportsProgress": false,
        "WorkerSupportsCancellation": false,
        "Site": null,
        "Container": null
      },
      "MessagePath": "sample string 1",
      "CompanyID": 2,
      "DeviceID": "sample string 3",
      "AddtionalInfo": "sample string 4",
      "Property": null
    },
    "Duration": 3.1,
    "RecordCount": 4,
    "EventTime": "2024-11-21T10:02:51.3209823+00:00"
  },
  {
    "LogType": 0,
    "SubscriberId": 1,
    "PublicationId": 1,
    "LogMessage": "sample string 2",
    "MonitorMessage": {
      "LastException": "",
      "Worker": {
        "CancellationPending": false,
        "IsBusy": false,
        "WorkerReportsProgress": false,
        "WorkerSupportsCancellation": false,
        "Site": null,
        "Container": null
      },
      "MessagePath": "sample string 1",
      "CompanyID": 2,
      "DeviceID": "sample string 3",
      "AddtionalInfo": "sample string 4",
      "Property": null
    },
    "Duration": 3.1,
    "RecordCount": 4,
    "EventTime": "2024-11-21T10:02:51.3209823+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLogEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Uniware.Data.Sync.Collections.Distribution">
  <LogEntry>
    <Duration>3.1</Duration>
    <EventTime>2024-11-21T10:02:51.3209823+00:00</EventTime>
    <LogMessage>sample string 2</LogMessage>
    <LogType>SnapshotCreated</LogType>
    <MonitorMessage xmlns:d3p1="http://schemas.datacontract.org/2004/07/Uniware.Monitoring.Devices">
      <d3p1:AddtionalInfo>sample string 4</d3p1:AddtionalInfo>
      <d3p1:CompanyID>2</d3p1:CompanyID>
      <d3p1:DeviceID>sample string 3</d3p1:DeviceID>
      <d3p1:MessagePath>sample string 1</d3p1:MessagePath>
      <d3p1:Property i:nil="true" />
    </MonitorMessage>
    <PublicationId>1</PublicationId>
    <RecordCount>4</RecordCount>
    <SubscriberId>1</SubscriberId>
  </LogEntry>
  <LogEntry>
    <Duration>3.1</Duration>
    <EventTime>2024-11-21T10:02:51.3209823+00:00</EventTime>
    <LogMessage>sample string 2</LogMessage>
    <LogType>SnapshotCreated</LogType>
    <MonitorMessage xmlns:d3p1="http://schemas.datacontract.org/2004/07/Uniware.Monitoring.Devices">
      <d3p1:AddtionalInfo>sample string 4</d3p1:AddtionalInfo>
      <d3p1:CompanyID>2</d3p1:CompanyID>
      <d3p1:DeviceID>sample string 3</d3p1:DeviceID>
      <d3p1:MessagePath>sample string 1</d3p1:MessagePath>
      <d3p1:Property i:nil="true" />
    </MonitorMessage>
    <PublicationId>1</PublicationId>
    <RecordCount>4</RecordCount>
    <SubscriberId>1</SubscriberId>
  </LogEntry>
  <LogEntry>
    <Duration>3.1</Duration>
    <EventTime>2024-11-21T10:02:51.3209823+00:00</EventTime>
    <LogMessage>sample string 2</LogMessage>
    <LogType>SnapshotCreated</LogType>
    <MonitorMessage xmlns:d3p1="http://schemas.datacontract.org/2004/07/Uniware.Monitoring.Devices">
      <d3p1:AddtionalInfo>sample string 4</d3p1:AddtionalInfo>
      <d3p1:CompanyID>2</d3p1:CompanyID>
      <d3p1:DeviceID>sample string 3</d3p1:DeviceID>
      <d3p1:MessagePath>sample string 1</d3p1:MessagePath>
      <d3p1:Property i:nil="true" />
    </MonitorMessage>
    <PublicationId>1</PublicationId>
    <RecordCount>4</RecordCount>
    <SubscriberId>1</SubscriberId>
  </LogEntry>
</ArrayOfLogEntry>