PATCH api/agronetmobile/savesamplingmarkers
Update sampling markers
Request Information
URI Parameters
None.
Body Parameters
Collection of SMMarkers| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| QRCode | string |
None. |
|
| Longitude | decimal number |
None. |
|
| Latitude | decimal number |
None. |
|
| IsNew | boolean |
None. |
|
| SamplingId | integer |
None. |
|
| ScanTime | date |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"QRCode": "sample string 2",
"Longitude": 3.0,
"Latitude": 4.0,
"IsNew": true,
"SamplingId": 6,
"ScanTime": "2026-10-30T14:39:01.9860314+00:00"
},
{
"ID": 1,
"QRCode": "sample string 2",
"Longitude": 3.0,
"Latitude": 4.0,
"IsNew": true,
"SamplingId": 6,
"ScanTime": "2026-10-30T14:39:01.9860314+00:00"
}
]
text/html
Sample:
[{"ID":1,"QRCode":"sample string 2","Longitude":3.0,"Latitude":4.0,"IsNew":true,"SamplingId":6,"ScanTime":"2026-10-30T14:39:01.9860314+00:00"},{"ID":1,"QRCode":"sample string 2","Longitude":3.0,"Latitude":4.0,"IsNew":true,"SamplingId":6,"ScanTime":"2026-10-30T14:39:01.9860314+00:00"}]
application/xml, text/xml
Sample:
<ArrayOfSMMarkers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EkoNET.WebAPI.Models">
<SMMarkers>
<ID>1</ID>
<IsNew>true</IsNew>
<Latitude>4</Latitude>
<Longitude>3</Longitude>
<QRCode>sample string 2</QRCode>
<SamplingId>6</SamplingId>
<ScanTime>2026-10-30T14:39:01.9860314+00:00</ScanTime>
</SMMarkers>
<SMMarkers>
<ID>1</ID>
<IsNew>true</IsNew>
<Latitude>4</Latitude>
<Longitude>3</Longitude>
<QRCode>sample string 2</QRCode>
<SamplingId>6</SamplingId>
<ScanTime>2026-10-30T14:39:01.9860314+00:00</ScanTime>
</SMMarkers>
</ArrayOfSMMarkers>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
booleanResponse Formats
application/json, text/json, text/html
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>