Get single Tag Relation value
Fetches the values of a specific tag relation identified by its name, along with optional filters for time range and conditions.
Example URL
Last Update: 5 NOV 2024
Retrieve Tag Relation Value with Conditions
Method: GET
URL: {{base_url}}/tagrelation/{tagrelationname}/value?starttime={starttime}&endtime={endtime}&query={query}
Query Parameters:
Parameter | Required | Description |
---|---|---|
| Yes | Starting time for filtering the data (e.g., |
| Yes | Ending time for filtering the data (e.g., |
| No | A condition to filter the results, acting like a WHERE clause in PostgreSQL. |
Time Expression:
Expression | Description |
---|---|
| Second |
| Minute |
| Hour |
| Day |
| Month |
| Year |
| Present |
| Go back (e.g., |
| Go forward (e.g., |
Response Example:
Note: The fields Id
, name
, and tel
are placeholders and will vary depending on the specific tag relation being represented in the request. Ensure you refer to the specific tag relation schema for exact field details.
Response Details:
Object | Data Type | Description |
---|---|---|
| array | Array of tag relation value objects returned from the API. |
| string | Unique identifier for the tag relation. |
| string | Name associated with the tag relation. |
| string | Telephone number associated with the tag relation. |
| integer | Quality indicator of the tag relation value. |
| integer | Status code associated with the tag relation value. |
| datetime | Timestamp when the tag relation value was recorded. |
Last updated