PUT api/CalculatedDevices/Logs
Request Information
URI Parameters
None.
Body Parameters
Collection of CalculatedDevice_Log_Update| Name | Description | Type | Additional information |
|---|---|---|---|
| LogID |
The Log integer ID |
integer |
None. |
| DeviceID |
The Device's integer ID |
integer |
None. |
| Value |
The reading to set the device log to |
string |
None. |
| Date |
The reading date to change the device log to |
date |
None. |
Request Formats
application/json, text/json, text/html
Sample:
[
{
"LogID": 1,
"DeviceID": 2,
"Value": "sample string 3",
"Date": "2025-11-09T21:42:35.9287176+10:00"
},
{
"LogID": 1,
"DeviceID": 2,
"Value": "sample string 3",
"Date": "2025-11-09T21:42:35.9287176+10:00"
}
]
application/xml, text/xml
Sample:
<ArrayOfAPIStructs.CalculatedDevice_Log_Update xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RimikAPI.Models">
<APIStructs.CalculatedDevice_Log_Update>
<Date>2025-11-09T21:42:35.9287176+10:00</Date>
<DeviceID>2</DeviceID>
<LogID>1</LogID>
<Value>sample string 3</Value>
</APIStructs.CalculatedDevice_Log_Update>
<APIStructs.CalculatedDevice_Log_Update>
<Date>2025-11-09T21:42:35.9287176+10:00</Date>
<DeviceID>2</DeviceID>
<LogID>1</LogID>
<Value>sample string 3</Value>
</APIStructs.CalculatedDevice_Log_Update>
</ArrayOfAPIStructs.CalculatedDevice_Log_Update>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetCalculatedLogListResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| DeviceLogs |
Array of device log entries |
Collection of CalculatedDevice_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,
"Date": "2025-11-09T21:42:35.9599634+10:00",
"Value": "sample string 3",
"Type": 10,
"ReadingUnitType": 0
},
{
"ID": 1,
"Date": "2025-11-09T21:42:35.9599634+10:00",
"Value": "sample string 3",
"Type": 10,
"ReadingUnitType": 0
}
],
"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:42:35.9599634+10:00",
"BuildDateUTC": "2025-11-09T21:42:35.9599634+10:00"
},
"VersionInformation": {
"Major": 1,
"Minor": 3,
"Hotfix": 7,
"Beta": false,
"Version": "1.3.7"
}
}
application/xml, text/xml
Sample:
<GetCalculatedLogListResponse 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:42:35.9599634+10:00</d2p1:BuildDateUTC>
<d2p1:CurrentTimeUTC>2025-11-09T21:42:35.9599634+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.CalculatedDevice_Log_Entry>
<d2p1:Date>2025-11-09T21:42:35.9599634+10:00</d2p1:Date>
<d2p1:ID>1</d2p1:ID>
<d2p1:ReadingUnitType>Status</d2p1:ReadingUnitType>
<d2p1:Type>Sum</d2p1:Type>
<d2p1:Value>sample string 3</d2p1:Value>
</d2p1:APIStructs.CalculatedDevice_Log_Entry>
<d2p1:APIStructs.CalculatedDevice_Log_Entry>
<d2p1:Date>2025-11-09T21:42:35.9599634+10:00</d2p1:Date>
<d2p1:ID>1</d2p1:ID>
<d2p1:ReadingUnitType>Status</d2p1:ReadingUnitType>
<d2p1:Type>Sum</d2p1:Type>
<d2p1:Value>sample string 3</d2p1:Value>
</d2p1:APIStructs.CalculatedDevice_Log_Entry>
</DeviceLogs>
</GetCalculatedLogListResponse>