Download OpenAPI specification:
Amusement Connect API for managing and interacting with games.
Get game by the game id
| gameId required | string The id of the game |
| costToPlay.type | string The type of cost to play (credit or cash) |
| icon.name | string The variation of the icon to return (thumbnail, focus, etc.) |
| select | string Example: select=id,name,description A comma-separated list of fields to include in the response. If not specified, all fields are returned. |
| exclude | string Example: exclude=id,name,description A comma-separated list of fields to exclude from the response. If not specified, all fields are returned. |
| expand | string Example: expand=device,users A comma-separated list of fields to expand in the response. If not specified, no fields are expanded. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| links | boolean Specifies whether to include links in the response. |
| Accept-Language | string The language to use for the response. |
{- "id": "string",
- "name": "string",
- "displayName": "string",
- "status": "enabled",
- "playable": true,
- "location": {
- "id": "string"
}, - "costToPlay": [
- {
- "amount": 0,
- "currency": "string",
- "type": "credit"
}
], - "icon": {
- "id": "string",
- "name": "string",
- "width": 0,
- "height": 0,
- "format": "string",
- "url": "string"
}, - "_links": [
- {
- "rel": "string",
- "href": "string",
- "method": "string"
}
], - "device": {
- "id": "string",
- "name": "string",
- "type": "string",
- "status": "connected"
}
}Requests a game play
| gameId required | string The id of the game |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| links | boolean Specifies whether to include links in the response. |
| Accept-Language | string The language to use for the response. |
The request body
GamePlayPlayWithOption (object) or GamePlayPlayWithoutOption (object) (GamePlayPlay) | |
object (GamePlayPartner) | |
object (GamePlayPlayer) |
{- "play": {
- "amount": 0,
- "type": "credit",
- "option": 1,
- "title": "string",
- "description": "string"
}, - "partner": {
- "locationId": "string",
- "transactionId": "string"
}, - "player": {
- "id": "string",
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "emailAddress": "string",
- "phoneNumber": "string",
- "dateOfBirth": "2019-08-24",
- "gender": "string",
- "postalCode": "string"
}
}{- "playInstruction": {
- "text": "string",
- "images": [
- {
- "id": "string",
- "name": "string",
- "width": 0,
- "height": 0,
- "format": "string",
- "url": "string",
- "sequence": 0
}
]
}, - "_links": [
- {
- "rel": "string",
- "href": "string",
- "method": "string"
}
]
}Get games by the location id
| locationId required | string The id of the location |
| costToPlay.type | string The type of cost to play (credit or cash) |
| icon.name | string The variation of the icon to return (thumbnail, focus, etc.) |
| select | string Example: select=id,name,description A comma-separated list of fields to include in the response. If not specified, all fields are returned. |
| exclude | string Example: exclude=id,name,description A comma-separated list of fields to exclude from the response. If not specified, all fields are returned. |
| 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. |
| orderBy | string Example: orderBy=name desc A comma-separated list of fields to order the response by. If not specified, the response is not ordered. |
| filter | string Example: filter=name eq 'My Device' A filter expression to apply to the response. If not specified, no filter is applied. |
| expand | string Example: expand=device,users A comma-separated list of fields to expand in the response. If not specified, no fields are expanded. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| links | boolean Specifies whether to include links in the response. |
| Accept-Language | string The language to use for the response. |
{- "items": [
- {
- "id": "string",
- "name": "string",
- "displayName": "string",
- "status": "enabled",
- "playable": true,
- "location": {
- "id": "string"
}, - "costToPlay": [
- {
- "amount": 0,
- "currency": "string",
- "type": "credit"
}
], - "icon": {
- "id": "string",
- "name": "string",
- "width": 0,
- "height": 0,
- "format": "string",
- "url": "string"
}, - "_links": [
- {
- "rel": "string",
- "href": "string",
- "method": "string"
}
]
}
], - "_links": [
- {
- "rel": "string",
- "href": "string",
- "method": "string"
}
]
}