跳转到主要内容
Update Specific Machine Attribute

授权

Authorization
string
header
必填

Enter your Bearer token. It's required to authenticate API requests.

路径参数

MachineID
integer<int64>
必填

The unique identifier of the machine.

DeviceAttributeID
integer<int64>
必填

The unique identifier of the device attribute.

请求体

application/json

Represents a single attribute of a machine, including its identifier, value, and associated metadata.

DeviceAttributeID
integer<int64>

The unique identifier of the device attribute.

MachineID
integer<int64>

The unique identifier of the machine associated with this attribute.

DeviceAttributeValue
string | null

The value assigned to this device attribute.

DeviceAttributeCodeID
integer<int32> | null

The code identifier for this device attribute.

DeviceAttributeName
string | null

The name of the device attribute.

DeviceAttributeGroup
string | null

The group or category to which this device attribute belongs.

DeviceAttributeReadOnlyBit
boolean

Indicates whether the device attribute is read-only.

响应

200 - application/json

The machine attribute was successfully updated.

Represents a single attribute of a machine, including its identifier, value, and associated metadata.

DeviceAttributeID
integer<int64>

The unique identifier of the device attribute.

MachineID
integer<int64>

The unique identifier of the machine associated with this attribute.

DeviceAttributeValue
string | null

The value assigned to this device attribute.

DeviceAttributeCodeID
integer<int32> | null

The code identifier for this device attribute.

DeviceAttributeName
string | null

The name of the device attribute.

DeviceAttributeGroup
string | null

The group or category to which this device attribute belongs.

DeviceAttributeReadOnlyBit
boolean

Indicates whether the device attribute is read-only.

MachineAttributeRef
string | null
read-only

A reference string for the machine attribute, typically used for informational purposes.

MachineRef
string | null
read-only

A reference string for the machine, typically used for informational purposes.