GET api/SimplifiedMessage/Last
Get the last messages of all equipements. The data from this call is simplified.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
List of Messages
Collection of SimplifiedSpreaderMessageName | Description | Type | Additional information |
---|---|---|---|
Id |
Id of the message. |
integer |
None. |
EquipmentID |
Id of the Equipment |
integer |
None. |
Timestamp |
Timestamp of the board computer |
date |
None. |
Latitude |
Latitude of the position of the Spreader |
decimal number |
None. |
Longitude |
Longitude of the position of the Spreader |
decimal number |
None. |
SpreaderActivity |
Activity of the spreader: 0 = Driving without spreading 1 = Spreading |
byte |
None. |
SpreaderWidth |
Working width in meters of the spreader |
decimal number |
None. |
SpreaderWidthLeft |
The distance to the left of the spreader that is sprinkled by the spreader. SpreaderWidthRight is calculated by substracting this value from SpreaderWidth. |
decimal number |
None. |
SpreaderDosage |
The grams of salt that is used for every square meter |
decimal number |
None. |
PercentageLiquid |
A part of the compound that is sprinkled can be liquid. This value determines the percentage that is liquid. This liquid is mixed with solid salt. |
integer |
None. |
Response Formats
application/json, text/json
[ { "Id": 1, "EquipmentID": 2, "Timestamp": "2024-12-08T05:08:00.8190633+00:00", "Latitude": 4.0, "Longitude": 5.0, "SpreaderActivity": 64, "SpreaderWidth": 1.0, "SpreaderWidthLeft": 1.0, "SpreaderDosage": 1.0, "PercentageLiquid": 1 }, { "Id": 1, "EquipmentID": 2, "Timestamp": "2024-12-08T05:08:00.8190633+00:00", "Latitude": 4.0, "Longitude": 5.0, "SpreaderActivity": 64, "SpreaderWidth": 1.0, "SpreaderWidthLeft": 1.0, "SpreaderDosage": 1.0, "PercentageLiquid": 1 } ]
application/xml, text/xml
<ArrayOfSimplifiedSpreaderMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gladheiddata.nl.Models"> <SimplifiedSpreaderMessage> <EquipmentID>2</EquipmentID> <Id>1</Id> <Latitude>4</Latitude> <Longitude>5</Longitude> <PercentageLiquid>1</PercentageLiquid> <SpreaderActivity>64</SpreaderActivity> <SpreaderDosage>1</SpreaderDosage> <SpreaderWidth>1</SpreaderWidth> <SpreaderWidthLeft>1</SpreaderWidthLeft> <Timestamp>2024-12-08T05:08:00.8190633+00:00</Timestamp> </SimplifiedSpreaderMessage> <SimplifiedSpreaderMessage> <EquipmentID>2</EquipmentID> <Id>1</Id> <Latitude>4</Latitude> <Longitude>5</Longitude> <PercentageLiquid>1</PercentageLiquid> <SpreaderActivity>64</SpreaderActivity> <SpreaderDosage>1</SpreaderDosage> <SpreaderWidth>1</SpreaderWidth> <SpreaderWidthLeft>1</SpreaderWidthLeft> <Timestamp>2024-12-08T05:08:00.8190633+00:00</Timestamp> </SimplifiedSpreaderMessage> </ArrayOfSimplifiedSpreaderMessage>