PUT api/Devices/Logs
Request Information
URI Parameters
None.
Body Parameters
Collection of ConnectedDevice_Log_Update| Name | Description | Type | Additional information |
|---|---|---|---|
| LogID |
The Log integer ID |
integer |
None. |
| DeviceID |
The Device's integer ID |
integer |
None. |
| DeviceType |
The type of Device Logs to retrieve (Connected or Calculated) |
OwnerType |
None. |
| Value |
The reading to set the device log to |
string |
None. |
| Date |
The reading date to change the device log to |
date |
None. |
| DelayFromStart |
The DelayFromStart value to update the device log to |
integer |
None. |
| TimeToRun |
The TimeToRun value to update the device log to |
integer |
None. |
Request Formats
application/json, text/json, text/html
Sample:
[
{
"LogID": 1,
"DeviceID": 2,
"DeviceType": 10,
"Value": "sample string 3",
"Date": "2025-11-09T21:45:03.0387615+10:00",
"DelayFromStart": 1,
"TimeToRun": 1
},
{
"LogID": 1,
"DeviceID": 2,
"DeviceType": 10,
"Value": "sample string 3",
"Date": "2025-11-09T21:45:03.0387615+10:00",
"DelayFromStart": 1,
"TimeToRun": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfAPIStructs.ConnectedDevice_Log_Update xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RimikAPI.Models">
<APIStructs.ConnectedDevice_Log_Update>
<Date>2025-11-09T21:45:03.0387615+10:00</Date>
<DelayFromStart>1</DelayFromStart>
<DeviceID>2</DeviceID>
<DeviceType>Device</DeviceType>
<LogID>1</LogID>
<TimeToRun>1</TimeToRun>
<Value>sample string 3</Value>
</APIStructs.ConnectedDevice_Log_Update>
<APIStructs.ConnectedDevice_Log_Update>
<Date>2025-11-09T21:45:03.0387615+10:00</Date>
<DelayFromStart>1</DelayFromStart>
<DeviceID>2</DeviceID>
<DeviceType>Device</DeviceType>
<LogID>1</LogID>
<TimeToRun>1</TimeToRun>
<Value>sample string 3</Value>
</APIStructs.ConnectedDevice_Log_Update>
</ArrayOfAPIStructs.ConnectedDevice_Log_Update>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetLogListResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| DeviceLogs |
Array of device log entries |
Collection of ConnectedDevice_Log_Entry |
None. |
| Messages |
Array of messages |
Collection of Message |
None. |
| ServerInformation |
Relevant information regarding the Server |
ServerInformation |
None. |
| VersionInformation |
Relevant information regarding the API's version |
VersionInformation |
None. |
Response Formats
application/json, text/json, text/html
Sample:
{
"DeviceLogs": [
{
"ID": 1,
"DeviceType": 10,
"Date": "2025-11-09T21:45:03.0543848+10:00",
"Value": "sample string 3",
"ReadingType": 0,
"ReadingUnitType": 0,
"DelayFromStart": 4,
"TimeToRun": 5,
"Latitude": 6.1,
"Longitude": 7.1
},
{
"ID": 1,
"DeviceType": 10,
"Date": "2025-11-09T21:45:03.0543848+10:00",
"Value": "sample string 3",
"ReadingType": 0,
"ReadingUnitType": 0,
"DelayFromStart": 4,
"TimeToRun": 5,
"Latitude": 6.1,
"Longitude": 7.1
}
],
"Messages": [
{
"Severity": 0,
"MessageCode": 1,
"CodeDesc": 2,
"MessageText": "sample string 3",
"RecordNumber": 4
},
{
"Severity": 0,
"MessageCode": 1,
"CodeDesc": 2,
"MessageText": "sample string 3",
"RecordNumber": 4
}
],
"ServerInformation": {
"CurrentTimeUTC": "2025-11-09T21:45:03.0543848+10:00",
"BuildDateUTC": "2025-11-09T21:45:03.0543848+10:00"
},
"VersionInformation": {
"Major": 1,
"Minor": 3,
"Hotfix": 7,
"Beta": false,
"Version": "1.3.7"
}
}
application/xml, text/xml
Sample:
<GetLogListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RimikAPI.Models.Responses">
<Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/RimikAPI.Services">
<d2p1:Common.Message>
<d2p1:CodeDesc>2</d2p1:CodeDesc>
<d2p1:MessageCode>1</d2p1:MessageCode>
<d2p1:MessageText>sample string 3</d2p1:MessageText>
<d2p1:RecordNumber>4</d2p1:RecordNumber>
<d2p1:Severity>Information</d2p1:Severity>
</d2p1:Common.Message>
<d2p1:Common.Message>
<d2p1:CodeDesc>2</d2p1:CodeDesc>
<d2p1:MessageCode>1</d2p1:MessageCode>
<d2p1:MessageText>sample string 3</d2p1:MessageText>
<d2p1:RecordNumber>4</d2p1:RecordNumber>
<d2p1:Severity>Information</d2p1:Severity>
</d2p1:Common.Message>
</Messages>
<ServerInformation xmlns:d2p1="http://schemas.datacontract.org/2004/07/RimikAPI.Services.Metadata">
<d2p1:BuildDateUTC>2025-11-09T21:45:03.0543848+10:00</d2p1:BuildDateUTC>
<d2p1:CurrentTimeUTC>2025-11-09T21:45:03.0543848+10:00</d2p1:CurrentTimeUTC>
</ServerInformation>
<VersionInformation xmlns:d2p1="http://schemas.datacontract.org/2004/07/RimikAPI.Services.Metadata" />
<DeviceLogs xmlns:d2p1="http://schemas.datacontract.org/2004/07/RimikAPI.Models">
<d2p1:APIStructs.ConnectedDevice_Log_Entry>
<d2p1:Date>2025-11-09T21:45:03.0543848+10:00</d2p1:Date>
<d2p1:DelayFromStart>4</d2p1:DelayFromStart>
<d2p1:DeviceType>Device</d2p1:DeviceType>
<d2p1:ID>1</d2p1:ID>
<d2p1:Latitude>6.1</d2p1:Latitude>
<d2p1:Longitude>7.1</d2p1:Longitude>
<d2p1:ReadingType>Generic</d2p1:ReadingType>
<d2p1:ReadingUnitType>Status</d2p1:ReadingUnitType>
<d2p1:TimeToRun>5</d2p1:TimeToRun>
<d2p1:Value>sample string 3</d2p1:Value>
</d2p1:APIStructs.ConnectedDevice_Log_Entry>
<d2p1:APIStructs.ConnectedDevice_Log_Entry>
<d2p1:Date>2025-11-09T21:45:03.0543848+10:00</d2p1:Date>
<d2p1:DelayFromStart>4</d2p1:DelayFromStart>
<d2p1:DeviceType>Device</d2p1:DeviceType>
<d2p1:ID>1</d2p1:ID>
<d2p1:Latitude>6.1</d2p1:Latitude>
<d2p1:Longitude>7.1</d2p1:Longitude>
<d2p1:ReadingType>Generic</d2p1:ReadingType>
<d2p1:ReadingUnitType>Status</d2p1:ReadingUnitType>
<d2p1:TimeToRun>5</d2p1:TimeToRun>
<d2p1:Value>sample string 3</d2p1:Value>
</d2p1:APIStructs.ConnectedDevice_Log_Entry>
</DeviceLogs>
</GetLogListResponse>