Dear Trackunit Support,
I am working on retrieving data for input signals (INPUT1
and INPUT2
) for a specific day using the GraphQL API, but I am unsure if I am using the correct query
parameter.
I am currently using the following query;
query GetInngangData2 {
asset(id: "00000000-0000-0000-0000-000004635074") {
assetId
timeSeries {
rangeQuery(
start: "2025-02-04T00:00:00.000Z"
end: "2025-02-05T00:00:00.000Z"
query: "INPUT1,INPUT2"
step: "PT1H"
) {
data {
... on TimeSeriesMatrixData {
result {
values {
timestamp
value
}
}
}
}
}
}
}
}
I am trying to retrieve input 1 and input 2 values for each hour (PT1H
) within a day.
My questions:
- Are "INPUT1" and "INPUT2" the correct metric names for these input values, or should I use different names?
- Are there any specific permissions required to access these values?
- Are there any alternative recommended approaches to retrieving this type of data via GraphQL?
I appreciate any guidance you can provide.
Thank you in advance!
Best regards,
Erling Ryger