Update multiple tagrelation values

Updates the specified values for the tag relation

Last Update: 7 NOV 2024

Example URL

https://{api_base_url}/integration/webapi/tagrelation/TagRelationData3/value

Note: This endpoint demonstrates updating the value for a specific tag relation (TagRelationData3) using the PUT method. In this example, the PUT request is used to modify the value of the tag relation.

Update Tagrelation Value

Method: PUT

URL: {{base_url}}/tagrelation/{tagrelationname}/value


Request Body:

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

Parameter
Data Type
Description

tagRelationValueId

int

Unique identifier for the tag relation value.

timeStamp

datetime

Timestamp of when the values are recorded.

fieldValues

array

An array of field value objects, each containing:

Field Value Object:

Parameter
Data Type
Description

field_Id

int

Unique identifier for the field.

value

variant

The value associated with the field, which can be one of the following data types:

Value Data Types:

Data Type
Description

string

Represents text data.

int

Represents integer data.

big int

Represents large integer data.

boolean

Represents boolean values (true/false).

double

Represents floating-point data.


Example Request Body:

[
    {
        "tagRelationValueId": integer,
        "timeStamp": "datetime",
        "fieldValues": [
            {
                "field_Id": integer,
                "value": "variant"
            },
            {
                "field_Id": integer,
                "value": "variant"
            },
            {
                "field_Id": integer,
                "value": "variant"
            }
        ]
    }
]

Response Example:

{
    "message": "string"
}

Response Details:

Object
Data Type
Description

message

string

Success message indicating the result of the write operation.

Last updated