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/valueNote: 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:
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:
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:
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:
message
string
Success message indicating the result of the write operation.
Last updated