Skip to content

Update Machines

Updates the provided machines.

Verb Patch
Endpoint {base-url}/machines
Max Page Size N/A

Request Body

{
  "body": [
    {
      "id": 1166,
      "assetId": 318,
      "organizationId": 1,
      "siteId": 1,
      "typeId": 0,
      "machineMasterId": 0,
      "forceUpdate": false,
      "prose": null,
      "name": "PROSEV0000000875",
      "modelNumber": "",
      "taxPercentage": 0.0,
      "commissionPercentage": 0.0,
      "callInCode": "U3EA142DP4",
      "creditProcessingFee": 0.0,
      "bluetoothId": null,
      "externalAccountsTerminalId": null,
      "createdAt": "2014-08-06T09:56:58.55",
      "provisionedAt": "0001-01-01T00:00:00",
      "canRollbackFirmware": false,
      "ignoreDoorState": false,
      "controllerFirmware": {
        "current": null,
        "pendingUpdate": null
      },
      "pcFirmware": {
        "current": null,
        "pendingUpdate": null
      },
      "hasPlanogramChange": true,
      "enableAccountSales": false,
      "enableCashSales": false,
      "enableCreditSales": false,
      "mode": "unknown",
      "isVisible": true,
      "enableSlotCountTracking": true,
      "useInternetPricing": false,
      "hardwareSettingsChanged": true,
      "usePlangramPrice": false,
      "useMachineTaxRate": false,
      "useMachineCommissionRate": false,
      "lastHeartBeat": {
        "server": "0001-01-01T00:00:00",
        "local": "0001-01-01T00:00:00"
      },
      "lastCashSale": {
        "server": "0001-01-01T00:00:00",
        "local": "0001-01-01T00:00:00"
      },
      "lastCreditSale": {
        "server": "0001-01-01T00:00:00",
        "local": "0001-01-01T00:00:00"
      },
      "lastAccountSale": {
        "server": "0001-01-01T00:00:00",
        "local": "0001-01-01T00:00:00"
      },
      "latestRestockToPicklist": {
        "server": "2015-04-22T10:53:20.883",
        "local": "2015-04-22T10:53:17.617"
      },
      "offerSmsReceipts": 0
    }
  ]
}

Returns

On Success

The updated machines.

Response Body

[
  {
    "id": 1166,
    "assetId": 318,
    "organizationId": 1,
    "siteId": 1,
    "typeId": 0,
    "machineMasterId": 0,
    "forceUpdate": false,
    "prose": null,
    "name": "PROSEV0000000875",
    "modelNumber": "",
    "taxPercentage": 0.0,
    "commissionPercentage": 0.0,
    "callInCode": "U3EA142DP4",
    "creditProcessingFee": 0.0,
    "bluetoothId": null,
    "externalAccountsTerminalId": 0,
    "createdAt": "2014-08-06T09:56:58.55",
    "provisionedAt": "0001-01-01T00:00:00",
    "canRollbackFirmware": false,
    "ignoreDoorState": false,
    "controllerFirmware": {
      "current": null,
      "pendingUpdate": null
    },
    "pcFirmware": {
      "current": null,
      "pendingUpdate": null
    },
    "hasPlanogramChange": true,
    "enableAccountSales": false,
    "enableCashSales": false,
    "enableCreditSales": false,
    "mode": "unknown",
    "isVisible": true,
    "enableSlotCountTracking": true,
    "useInternetPricing": false,
    "hardwareSettingsChanged": true,
    "usePlangramPrice": false,
    "useMachineTaxRate": false,
    "useMachineCommissionRate": false,
    "lastHeartBeat": {
      "server": "0001-01-01T00:00:00",
      "local": "0001-01-01T00:00:00"
    },
    "lastCashSale": {
      "server": "0001-01-01T00:00:00",
      "local": "0001-01-01T00:00:00"
    },
    "lastCreditSale": {
      "server": "0001-01-01T00:00:00",
      "local": "0001-01-01T00:00:00"
    },
    "lastAccountSale": {
      "server": "0001-01-01T00:00:00",
      "local": "0001-01-01T00:00:00"
    },
    "latestRestockToPicklist": {
      "server": "2015-04-22T10:53:20.883",
      "local": "2015-04-22T10:53:17.617"
    },
    "offerSmsReceipts": 0
  }
]