Get Tag by name

Fetches detailed information about a specific tag identified by its name.

Example URL

https://api.icube.co.th/integration/webapi/tag/B15-Status

Last Update: 1 NOV 2024

Retrieve Tag Information

Method: GET

URL: {{base_url}}/tag/{tagname}

Response Example:

{
    "data": [
        {
            "tagname": "string",
            "server": "string",
            "description": "string or null",
            "subDescription": "string or null",
            "tagType": "string",
            "tagSource": "string",
            "tagMode": "string",
            "unit": "string",
            "timeStamp": "datetime",
            "value": "string"
        }
    ]
}

Response Details:

ObjectData TypeDescription

data

array

List of tag objects, containing details of the specified tag.

tagname

string

Name of the tag.

server

string

Server name associated with the tag.

description

string/null

Description of the tag.

subDescription

string/null

Sub-description of the tag, if available.

tagType

string

Data type of the tag (e.g., Integer, Double).

tagSource

string

Source of the tag data (e.g., Normal tag).

tagMode

string

Mode of the tag (e.g., Default).

unit

string

Unit of measurement for the tag, if applicable.

timeStamp

datetime

Last updated timestamp for the tag.

value

string

URL or current value of the tag.

Last updated