Get multiple Tag Relation values
Fetches the values of specified tag relations identified by their names, with optional filters for time range and status.
Example URL
Last Update: 7 NOV 2024
Retrieve Tag Relation Values with Filters
Method: GET
URL: {{base_url}}/tagrelation/value?name={tagrelationname}&starttime={starttime}&endtime={endtime}&statusData={statusData}
Query Parameters:
Parameter | Required | Description |
---|---|---|
| Yes | Comma-separated list of tag relation names to retrieve values for (e.g., |
| Yes | Starting time for filtering the data (e.g., |
| Yes | Ending time for filtering the data (e.g., |
| No | A filter for the status of the tag relation values, acting like a WHERE clause in PostgreSQL (only integer). |
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 | Name of the tag relation. |
| string | Unique identifier for the tag relation entry. |
| 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