Download OpenAPI specification:
API for Amusement Connect devices
| apiVersion | string Default: "1.0" Value: "1.0" The requested API version |
| macId required | string non-empty |
| deviceType required | string (DeviceType) Enum: "Reader" "MobileMech" |
| hardwareVersion required | string (DeviceGenVersion) Enum: "Gen3" "Gen4" "Mmg1" |
| makerMark required | string (MakerName) Enum: "PivotAvatar" "GTGChina" "EMSAR" "DMW_China" |
{- "macId": "string",
- "deviceType": "Reader",
- "hardwareVersion": "Gen3",
- "makerMark": "PivotAvatar"
}| deviceId required | string ID of the device |
| apiVersion | string Default: "1.0" Value: "1.0" The requested API version |
{- "apiUrl": "string",
- "updatePackageVersion": "string",
- "updatePackageDownloadPath": "string",
- "iotConnectionString": "string",
- "operationMode": "Normal",
- "macId": "string",
- "readerType": 0,
- "configTicketMultiplier": 0.1,
- "freeplayTicketMultiplier": 0.1,
- "coinPulses": 0,
- "coinPulseLength": 0,
- "coinPulseDelay": 0,
- "ticketLength": 0,
- "notchLength": 0,
- "switchType": true,
- "ticketMechTypeAsHigh": true,
- "ticketMechThresholdVoltage": 0.1,
- "noOfDecimalsOnLCD": 0,
- "flipDisplay": true,
- "portrait": true,
- "ticketPostingDelay": 0,
- "maxTickets": 0,
- "mercyTickets": 0.1,
- "pricingUnits": "string",
- "ticketFieldName": "string",
- "addTickets": 0,
- "awardTicket": true,
- "generalThemeId": "string",
- "happyHourThemeId": "string",
- "specialThemeId": "string",
- "themeDownloadPath": "string",
- "volumeLevel": 0,
- "qrData": "string",
- "setBacklight": 0,
- "readerName": "string",
- "creditRequired": 0.1,
- "ssid": "string",
- "password": "string",
- "happyHourTicketMultiplier": 0.1,
- "happyHourActive": true,
- "activeThemeId": "string",
- "managerCards": [
- "string"
], - "readerAction": 0
}| deviceId required | string ID of the device |
| apiVersion | string Default: "1.0" Value: "1.0" The requested API version |
{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "property1": null,
- "property2": null
}This endpoint updates the device's IotHub connection string to point to a new IotHub. The devices current device-twin will get the new connection string and reconnect to the new IotHub
| deviceId required | string ID of the device |
| apiVersion | string Default: "1.0" Value: "1.0" The requested API version |
| iotHubConnectionString | string The connection string for the IoT Hub the device is migrating to |
{- "iotHubConnectionString": "string"
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "property1": null,
- "property2": null
}| deviceId required | string ID of the device |
| apiVersion | string Default: "1.0" Value: "1.0" The requested API version |
| top | integer Example: top=10 The maximum number of records to return in the response. If not specified, all records are returned. |
| skip | integer Example: skip=10 The number of records to skip in the response. If not specified, no records are skipped. |
{- "totalCount": 0,
- "count": 0,
- "items": [
- {
- "deviceId": "string",
- "eventDateUtc": "2019-08-24T14:15:22Z",
- "eventType": "string",
- "triggeredByUser": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "displayName": "string"
}, - "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
- "locationId": 0
}
]
}| deviceId required | string |
| apiVersion | string Default: "1.0" Value: "1.0" The requested API version |
| pin | string |
{- "pin": "string"
}{- "canRegister": true
}| deviceId required | string The id of the device |
| apiVersion | string Default: "1.0" Value: "1.0" The requested API version |
The request body
| pin | string |
| organizationId | string <uuid> |
| locationId | integer <int32> |
| userId | string <uuid> |
{- "pin": "string",
- "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
- "locationId": 0,
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b"
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "property1": null,
- "property2": null
}| deviceId required | string The id of the device |
| apiVersion | string Default: "1.0" Value: "1.0" The requested API version |
| userId | string Optional, ID of the user performing the unregistration |
{- "userId": "string"
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "property1": null,
- "property2": null
}| top | integer Example: top=10 The maximum number of records to return in the response. If not specified, all records are returned. |
| skip | integer Example: skip=10 The number of records to skip in the response. If not specified, no records are skipped. |
| search | string A search term to filter devices by name or ID. If not specified, all unregistered devices are returned. |
| deviceType | string Enum: "Reader" "MobileMech" Filter by device type. If not specified, devices of all types are returned. |
| apiVersion | string Default: "1.0" Value: "1.0" The requested API version |
{- "totalCount": 0,
- "count": 0,
- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "deviceType": "Reader",
- "hardwareVersion": "Gen3",
- "macId": "string",
- "softwareVersion": "string",
- "pin": "string"
}
]
}