Skip to main content
PUT
/
v1
/
machines
/
{MachineID}
/
attributes
Bulk Update Machine Attributes
curl --request PUT \
  --url https://qa-lynx.nayax.com/operational/v1/machines/{MachineID}/attributes \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "DeviceAttributeID": 123,
    "MachineID": 123,
    "DeviceAttributeValue": "<string>",
    "DeviceAttributeCodeID": 123,
    "DeviceAttributeName": "<string>",
    "DeviceAttributeGroup": "<string>",
    "DeviceAttributeReadOnlyBit": true
  }
]
'
{
  "isFullySuccess": true,
  "failureItems": [
    {
      "id": "<string>",
      "error": "<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 whose attributes are being updated.

Body

application/json
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 result of the bulk update operation, including success and any failure details.

Represents the result of a bulk update operation, indicating overall success and details of any failed updates.

isFullySuccess
boolean

Indicates whether the bulk update operation was fully successful.

failureItems
object[] | null

A list of items that failed to update, including error details.