GET api/meetnet/measurements?projectno={projectno}&location={location}&fromdate={fromdate}&todate={todate}&unit={unit}
Retrieves project measurements based on the provided project number and optional filters.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| projectno |
A valid project number (Required) |
string |
Required |
| location |
Location associated with the measurements (Required) |
string |
Required |
| fromdate |
Start date in format "dd/MM/yyyy" (Optional) |
string |
None. |
| todate |
End date in format "dd/MM/yyyy" (Optional) |
string |
None. |
| unit |
The measurement unit. Allowed values: "m-mv" (default) or "m-TAW" (optional). |
string |
Default value is m-mv |
Body Parameters
None.
Response Information
Resource Description
Returns an `IHttpActionResult`
ProjectMeasurementsResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| projectnumber |
Gets the project number associated with the measurements. |
string |
None. |
| peilbuis |
Gets or sets the peilbuis (measuring tube) identifier. |
string |
None. |
| unit |
Unit of the value m-mv or m-TAW. |
string |
None. |
| Measurements |
Gets or sets the list of project measurements. |
Collection of ProjectMeasurements |
None. |
Response Formats
application/json, text/json
Sample:
{
"projectnumber": "sample string 1",
"peilbuis": "sample string 2",
"unit": "sample string 3",
"measurements": [
{
"timestamp": 1,
"value": 2.1
},
{
"timestamp": 1,
"value": 2.1
}
]
}