POST api/v1/log/AddLogEntry

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
entry
No documentation available.

Define this parameter in the request body.

Request 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-12-03T16:38:51.7562139+00:00"
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>