Skip to content

Datasource Values

GET
/v1/Datasources/{id}/values

Gets values from Datasource with paging, optional filter and orderby

Parameters

Path Parameters

id*integer

Datasource id

Example 1

Query Parameters

fromstring

Filter from ValueDate. Greater than

Example 2023-12-01T00:00:00Z
tostring

Filter to ValueDate. Lesser than

Example 2023-12-24T00:00:00Z
pageinteger

Page default and start value is 1

Example 2
pageSizeinteger

Page Size default is 1000 and max 10000

Example 2000
$filterstring

Generic OData filtering. See documentation

Example dimension eq 'hello'
$orderbystring

Generic OData ordering

Example valueDate desc

Responses

OK

application/json
JSON
{
"pageSize": 0,
"pageNo": 0,
"count": 0,
"values": [
{
"id": 0,
"dataSourceId": 0,
"registrationDate": "string",
"areaId": 0,
"assetId": 0,
"projectId": 0,
"value": 0,
"description": "string",
"dimension": "string",
"dimension2": "string",
"dimension3": "string",
"dimension4": "string",
"valueDate": "string",
"externalId": "string"
}
]
}