Skip to main content
PUT
/
v1
/
machines
/
{MachineID}
/
attributes
/
{DeviceAttributeID}
Update Specific Machine Attribute
curl --request PUT \
  --url https://qa-lynx.nayax.com/operational/v1/machines/{MachineID}/attributes/{DeviceAttributeID} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "DeviceAttributeID": 123,
  "MachineID": 123,
  "DeviceAttributeValue": "<string>",
  "DeviceAttributeCodeID": 123,
  "DeviceAttributeName": "<string>",
  "DeviceAttributeGroup": "<string>",
  "DeviceAttributeReadOnlyBit": true
}
'
{
  "DeviceAttributeID": 123,
  "MachineID": 123,
  "DeviceAttributeValue": "<string>",
  "DeviceAttributeCodeID": 123,
  "DeviceAttributeName": "<string>",
  "DeviceAttributeGroup": "<string>",
  "DeviceAttributeReadOnlyBit": true,
  "MachineAttributeRef": "<string>",
  "MachineRef": "<string>"
}

Authorizations

Authorization
string
header
required

Enter your API key. It's required to authenticate API requests.

Path Parameters

MachineID
integer<int64>
required

The unique identifier of the machine.

DeviceAttributeID
integer<int64>
required

The unique identifier of the device attribute.

Body

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.

Response

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

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

MachineRef
string | null

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