Skip to content
innovorder
⌘K

Restaurant estate

POS Devices

System map · Device fleet
Restaurant
POS devices
Cloud

Retrieve the list of Point of Sale (POS) devices configured for a specific restaurant.

GET/pos_devicesList POS Devices

Parameters

NameTypeRequiredDescription
brandIdintegerYesBrand ID
restaurantIdintegerYesRestaurant ID

Response

json
{
  "status": 200,
  "code": "device_found",
  "data": [
    {
      "posDeviceId": 8063,
      "deviceName": "Main Register",
      "deviceId": "aff48a32d7d0396e",
      "role": "independent"
    }
  ]
}
Response Properties

Every field in the example is listed below. Explicit requiredness is shown when the endpoint contract defines it.

PropertyTypeExampleDescription
statusinteger200HTTP status code returned by the API.
codestring"device_found"Machine-readable application code for the result.
dataarray[…]Endpoint-specific response payload.
data[]object{…}Endpoint-specific response payload.
data[].posDeviceIdinteger8063Identifier of the associated pos device.
data[].deviceNamestring"Main Register"The device name value.
data[].deviceIdstring"aff48a32d7d0396e"Identifier of the associated device.
data[].rolestring"independent"The role value.

Compliant Versions

Retrieve the referential of POS application versions that are compliant with fiscal regulations. Use this list to check whether the version running on a device is still supported and compliant.

GET/pos_devices/compliant_versionsList Compliant POS Versions

Retrieve the list of POS application versions considered compliant with fiscal regulations. The data field is an array of version strings.

Response

json
{
  "status": 200,
  "code": "compliant_versions",
  "message": "Compliant device's versions.",
  "data": [
    "10.4.0",
    "10.3.0",
    "10.2.0",
    "9.4.0"
  ]
}
Response Properties

Every field in the example is listed below. Explicit requiredness is shown when the endpoint contract defines it.

PropertyTypeExampleDescription
statusinteger200HTTP status code returned by the API.
codestring"compliant_versions"Machine-readable application code for the result.
messagestring"Compliant device's versions."Human-readable result message. Do not use this value for program logic.
dataarray[…]Endpoint-specific response payload.
data[]string"10.4.0"Endpoint-specific response payload.