Update multiple Tag value

Updates the specified values for the tag with GUID

Example URL

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

Last Update: 1 NOV 2024

Update Tag Value

Method: PUT

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


Request Body:

The request body must be an array of tag value objects, each containing the following parameters:

ParameterData TypeDescription

tagValueId

GUID

Unique identifier for the tag value.

value

variant

The value associated with the tag. It can be one of the following data types:

timeStamp

datetime

Timestamp of when the value is recorded.

Value Data Types:

Data TypeDescription

string

Represents text data.

int

Represents integer data.

boolean

Represents boolean values (true/false).

double

Represents floating-point data.


Example Request Body:

[
    {
        "tagValueId": "GUID",
        "value": "variant",
        "timeStamp": "datetime"
    },
    {
        "tagValueId": "GUID",
        "value": "variant",
        "timeStamp": "datetime"
    }
]

Response Example:

{
    "message": "string"
}

Response Details:

ObjectData TypeDescription

message

string

Success message indicating the result of the write operation.

Last updated