Download OpenAPI specification:
API for players using Amusement Connect wallets
Get player by ID
| playerId required | string <uuid> (playerId) Example: 00000000-0000-0000-0000-000000000001 The unique identifier of the player. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
{- "id": "00000000-0000-0000-0000-000000000001",
- "username": "exampleuser@example.com",
- "alias": "zezima",
- "universalCredits": 150
}Get the list of cards registered to a player's wallet
| playerId required | string <uuid> (playerId) Example: 00000000-0000-0000-0000-000000000001 The unique identifier of the player. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
integer or string (locationId) Optionally filter the card balances by location Id | |
| search | string or null <= 100 characters Example: search=0715 Optional search term to filter cards by card number or display name. |
| includePastCardLives | boolean Default: false Example: includePastCardLives=true Whether to include past card lives in the response. |
| hideEmptyBalances | boolean Default: false Example: hideEmptyBalances=true Whether to hide balances that are empty (zero credits, zero tickets, no open tab, no timed play, and no attraction passes). |
| skip | integer Example: skip=10 The number of records to skip in the response. If not specified, no records are skipped. |
| take | integer Example: take=10 The maximum number of records to return in the response. If not specified, all records are returned. |
{- "totalCount": 3,
- "items": [
- {
- "rfid": "0715468881",
- "cardLife": 1,
- "displayName": "πΎπΎπΎ",
- "location": {
- "id": 5,
- "name": "AC Arcade"
}, - "balance": {
- "credits": 100,
- "tickets": 40
}
}, - {
- "rfid": "0715468881",
- "cardLife": 1,
- "displayName": "πΎπΎπΎ",
- "location": {
- "id": 195,
- "name": "AC DevX Group Location"
}, - "balance": {
- "credits": 250,
- "tickets": 75
}
}, - {
- "rfid": "0715468883",
- "cardLife": 2,
- "displayName": null,
- "location": {
- "id": 5,
- "name": "AC Arcade"
}, - "balance": {
- "credits": 0,
- "tickets": 0
}
}
]
}Register a card to a player's wallet
| playerId required | string <uuid> (playerId) Example: 00000000-0000-0000-0000-000000000001 The unique identifier of the player. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| rfid required | string (rfid) ^((\d{10})|(\+\d{11,13}))$ The unique identifier of the RFID card. This should be derived from the 4 byte UID of the RFID card as a 32 bit integer and formatted to a 10 digit string. For example the UID of 0x5130A52A would be converted to "0715468881" |
| displayName | string or null |
{- "rfid": "0715468881",
- "displayName": "My Card"
}{- "rfid": "0715468881",
- "cardLife": 1
}Get a specific card registered to a player's wallet
| playerId required | string <uuid> (playerId) Example: 00000000-0000-0000-0000-000000000001 The unique identifier of the player. |
| cardNumber required | string (rfid) ^((\d{10})|(\+\d{11,13}))$ Example: 0715468881 The unique identifier of the card. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
integer or string (locationId) Optionally filter the card balances by location Id | |
| skip | integer Example: skip=10 The number of records to skip in the response. If not specified, no records are skipped. |
| take | integer Example: take=10 The maximum number of records to return in the response. If not specified, all records are returned. |
{- "totalCount": 3,
- "items": [
- {
- "rfid": "0715468881",
- "cardLife": 1,
- "displayName": "πΎπΎπΎ",
- "location": {
- "id": 5,
- "name": "AC Arcade"
}, - "balance": {
- "credits": 100,
- "tickets": 40
}
}, - {
- "rfid": "0715468881",
- "cardLife": 1,
- "displayName": "πΎπΎπΎ",
- "location": {
- "id": 195,
- "name": "AC DevX Group Location"
}, - "balance": {
- "credits": 250,
- "tickets": 75
}
}, - {
- "rfid": "0715468883",
- "cardLife": 2,
- "displayName": null,
- "location": {
- "id": 5,
- "name": "AC Arcade"
}, - "balance": {
- "credits": 0,
- "tickets": 0
}
}
]
}Update the players card settings
| playerId required | string <uuid> (playerId) Example: 00000000-0000-0000-0000-000000000001 The unique identifier of the player. |
| cardNumber required | string (rfid) ^((\d{10})|(\+\d{11,13}))$ Example: 0715468881 The unique identifier of the card. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| displayName | string |
{- "displayName": "My Card"
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}Unregister a card from a player's wallet
| playerId required | string <uuid> (playerId) Example: 00000000-0000-0000-0000-000000000001 The unique identifier of the player. |
| cardNumber required | string (rfid) ^((\d{10})|(\+\d{11,13}))$ Example: 0715468881 The unique identifier of the card. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}Get the list of gameplay sessions for a player, ordered by start time in descending order
| playerId required | string <uuid> (playerId) Example: 00000000-0000-0000-0000-000000000001 The unique identifier of the player. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| search | string or null <= 100 characters Example: search=Racing Optional search term to filter games by name or description. |
| locationId | integer Example: locationId=195 Optionally filter the gameplay sessions by location Id |
| skip | integer Example: skip=10 The number of records to skip in the response. If not specified, no records are skipped. |
| take | integer Example: take=10 The maximum number of records to return in the response. If not specified, all records are returned. |
{- "totalCount": 10,
- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "card": "0715468881",
- "game": {
- "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "name": "Skee-Ball #12"
}, - "location": {
- "id": 123,
- "name": "Amusement Park"
}, - "creditsUsed": 0,
- "usedTimedPlay": true,
- "usedAttractionPass": true,
- "usedTab": true,
- "convertedUniversalCredits": 0,
- "ticketsAwarded": 0,
- "startedAtUtc": "2019-08-24T14:15:22Z",
- "endedAtUtc": "2019-08-24T14:15:22Z"
}
]
}Get the list of gameplay sessions for a player, ordered by start time in descending order
| playerId required | string <uuid> (playerId) Example: 00000000-0000-0000-0000-000000000001 The unique identifier of the player. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| search | string or null <= 100 characters Example: search=Racing Optional search term to filter games by name or description. |
| locationId | integer Example: locationId=195 Optionally filter the gameplay sessions by location Id |
| skip | integer Example: skip=10 The number of records to skip in the response. If not specified, no records are skipped. |
| take | integer Example: take=10 The maximum number of records to return in the response. If not specified, all records are returned. |
{- "totalCount": 10,
- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "card": "0715468881",
- "game": {
- "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "name": "Skee-Ball #12"
}, - "location": {
- "id": 123,
- "name": "Amusement Park"
}, - "creditsUsed": 0,
- "usedTimedPlay": true,
- "usedAttractionPass": true,
- "usedTab": true,
- "convertedUniversalCredits": 0,
- "ticketsAwarded": 0,
- "startedAtUtc": "2019-08-24T14:15:22Z",
- "endedAtUtc": "2019-08-24T14:15:22Z"
}
]
}Get the list of available game categories at a location
required | integer or string (locationId) The unique identifier of the location. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
{- "categories": [
- "Pinball",
- "Redemption",
- "Sports",
- "Ski-Ball",
- "Racing",
- "Basketball",
- "Darts",
- "Pool",
- "Crane"
]
}Get the list of games available at a location to play
required | integer or string (locationId) The unique identifier of the location. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| search | string or null <= 100 characters Example: search=Racing Optional search term to filter games by name or description. |
| category | string <= 30 characters Example: category=Pinball |
| skip | integer Example: skip=10 The number of records to skip in the response. If not specified, no records are skipped. |
| take | integer Example: take=10 The maximum number of records to return in the response. If not specified, all records are returned. |
{- "totalCount": 50,
- "items": [
- {
- "id": "00000000-0000-0000-0000-000000000000",
- "name": "Racing Madness",
- "description": "An exciting racing game.",
- "category": "Racing",
- "image": {
}, - "costToPlay": {
- "type": "SinglePlay",
- "creditsToPlay": 5
}
}, - {
- "id": "00000000-0000-0000-0000-000000000001",
- "name": "Space Invaders",
- "description": "Classic arcade shooting game.",
- "category": "Shooter",
- "image": {
}, - "costToPlay": {
- "type": "MultiPlay",
- "options": [
- {
- "optionId": 1,
- "creditsToPlay": 3,
- "playCount": 1
}, - {
- "optionId": 2,
- "creditsToPlay": 8,
- "playCount": 3
}
]
}
}, - {
- "id": "00000000-0000-0000-0000-000000000002",
- "name": "Haunted House",
- "description": "Spooky attraction ride.",
- "category": "Attraction",
- "image": {
}, - "costToPlay": {
- "type": "Attraction",
- "attractionId": 101,
- "fallbackCreditsToPlay": 50
}
}
]
}Get details for a game at a location. Includes pricing information, images, descriptions, and other details.
required | integer or string (locationId) The unique identifier of the location. |
| gameId required | string <uuid> The unique identifier of the game machine. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
{- "id": "123e4567-e89b-12d3-a456-426614174000",
- "name": "Racing Madness",
- "description": "An exciting racing game.",
- "category": "Racing",
- "image": {
}, - "costToPlay": {
- "type": "SinglePlay",
- "creditsToPlay": 5
}
}Attempt to start a gameplay session
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| gameMachineId required | string The unique identifier of the game machine to start. |
| idempotencyKey | string or null <uuid> A unique identifier for the request to prevent reattempted requests from causing duplicate game starts. |
| startMethod | string or null Default: "Remote" Enum: "Remote" "Http" The method used to start the game.
|
object (GameplayRequestCard) Information about the card to be used for gameplay request. Players requesting gameplay must have the card registered to them to be able to use it for gameplay. | |
object (GameplayRequestPartner) Information about the partner starting the gameplay session. | |
object (GameplayRequestPlayer) Information about the player starting the gameplay session. | |
GameplayRequestCreditPlay (object) or GameplayRequestPartnerPlay (object) The play options for the gameplay session. |
{- "readerId": "string",
- "idempotencyKey": "0c14c6a6-6f50-4d1e-b0c4-b46ff43ba6a1",
- "startMethod": "Remote",
- "card": {
- "rfid": "0715468881",
- "life": 0
}, - "partner": {
- "locationId": "string",
- "transactionId": "string"
}, - "player": {
- "id": "string",
- "username": "string",
- "firstName": "string",
- "lastName": "string",
- "emailAddress": "user@example.com",
- "phoneNumber": "string",
- "dateOfBirth": "2019-08-24",
- "gender": "string",
- "postalCode": "string"
}, - "play": {
- "expectedCreditAmount": 10,
- "option": null
}
}{- "gameplaySessionId": "d3cf0135-6184-4e1e-a631-b6e34bd0a313",
- "balance": {
- "credits": 100,
- "tickets": 5,
- "tab": {
- "id": "00000000-0000-0000-0000-000000000003",
- "status": "Open",
- "openedAtUtc": "2019-08-24T14:15:22Z",
- "closedAtUtc": "2019-08-24T14:15:22Z",
- "limit": 0.1,
- "autoCloseAtUtc": "2019-08-24T14:15:22Z",
- "creditsUsed": 0,
- "valueUsed": {
- "amount": 20,
- "currencyCode": "USD"
}, - "tabProvider": "My Tab Provider",
- "externalTabId": "ext-tab-123456789"
}, - "timedPlay": {
- "sessionId": "00000000-0000-0000-0000-000000000000",
- "startTimeUtc": "2024-01-01T00:00:00Z",
- "endTimeUtc": "2024-01-01T01:00:00Z",
- "remaining": "00:02:00",
- "isPaused": false,
- "pausedAtUtc": "2024-01-01T00:00:00Z",
- "pausesRemaining": 3,
- "pauseExpiresAtUtc": "2024-01-01T00:00:00Z"
}, - "attractions": [
- {
- "name": "Roller Coaster",
- "description": "string",
- "passes": 1,
- "id": 0,
- "gameMachineId": "872a4c81-0549-4dc2-8771-0a409ccbcba1"
}
]
}, - "creditsUsed": 0,
- "player": {
- "id": "00000000-0000-0000-0000-000000000001",
- "username": "exampleuser@example.com",
- "alias": "zezima",
- "universalCredits": 150
}
}Get card balances with filtering options
required | integer or string (locationId) The unique identifier of the location. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| playerId | string <uuid> (playerId) Example: playerId=00000000-0000-0000-0000-000000000001 Optionally filter the card balances by player ID |
| search | string or null <= 100 characters Example: search=0715 Optional search term to filter cards by card number or display name. |
| includePastCardLives | boolean Default: false Example: includePastCardLives=true Whether to include past card lives in the response. |
| hideEmptyBalances | boolean Default: false Example: hideEmptyBalances=true Whether to hide balances that are empty (zero credits, zero tickets, no open tab, no timed play, and no attraction passes). |
| skip | integer Example: skip=10 The number of records to skip in the response. If not specified, no records are skipped. |
| take | integer Example: take=10 The maximum number of records to return in the response. If not specified, all records are returned. |
{- "totalCount": 25,
- "items": [
- {
- "rfid": "0715468881",
- "cardLife": 0,
- "location": {
- "id": 123,
- "name": "Amusement Park"
}, - "displayName": "πΎπΎπΎ",
- "playerId": "00000000-0000-0000-0000-000000000001",
- "employeeId": "string",
- "balance": {
- "credits": 100,
- "tickets": 5,
- "tab": {
- "id": "00000000-0000-0000-0000-000000000003",
- "status": "Open",
- "openedAtUtc": "2019-08-24T14:15:22Z",
- "closedAtUtc": "2019-08-24T14:15:22Z",
- "limit": 0.1,
- "autoCloseAtUtc": "2019-08-24T14:15:22Z",
- "creditsUsed": 0,
- "valueUsed": {
- "amount": 20,
- "currencyCode": "USD"
}, - "tabProvider": "My Tab Provider",
- "externalTabId": "ext-tab-123456789"
}, - "timedPlay": {
- "sessionId": "00000000-0000-0000-0000-000000000000",
- "startTimeUtc": "2024-01-01T00:00:00Z",
- "endTimeUtc": "2024-01-01T01:00:00Z",
- "remaining": "00:02:00",
- "isPaused": false,
- "pausedAtUtc": "2024-01-01T00:00:00Z",
- "pausesRemaining": 3,
- "pauseExpiresAtUtc": "2024-01-01T00:00:00Z"
}, - "attractions": [
- {
- "name": "Roller Coaster",
- "description": "string",
- "passes": 1,
- "id": 0,
- "gameMachineId": "872a4c81-0549-4dc2-8771-0a409ccbcba1"
}
]
}
}
]
}Get the card and credit pricing options for location
required | integer or string (locationId) The unique identifier of the location. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| includePackages | boolean Whether to include the available packages for the location in the response. If not provided, the packages will not be included. |
{- "credits": {
- "creditsPerDollar": 100,
- "bonusCredits": [
- {
- "thresholdAmount": 10,
- "bonusCredits": 100,
- "cumulativeBonusCredits": 100
}, - {
- "thresholdAmount": 20,
- "bonusCredits": 250,
- "cumulativeBonusCredits": 350
}, - {
- "thresholdAmount": 50,
- "bonusCredits": 700,
- "cumulativeBonusCredits": 1050
}
]
}, - "packages": [
- {
- "packageId": 1,
- "name": "$10 | 1000 Credits",
- "description": "A package that includes 1000 credits for $10.",
- "sortOrder": 1,
- "price": {
- "amount": 10,
- "currencyCode": "USD"
}, - "tax": {
- "amount": 1,
- "currencyCode": "USD"
}, - "includedCardCount": 1,
- "maxAdditionalCards": 5,
- "pricePerAdditionalCard": {
- "amount": 9,
- "currencyCode": "USD"
}, - "creditsIncluded": 1000,
- "ticketsIncluded": 0,
- "timedPlayIncluded": null,
- "attractionsIncluded": [ ]
}, - {
- "packageId": 2,
- "name": "$50 | 8000 Credits, 1 VR Session, and 1 Go Kart Ride",
- "description": "A package that includes 8000 credits, 1 VR session, and 1 Go-Kart Ride for $50",
- "sortOrder": 2,
- "price": {
- "amount": 50,
- "currencyCode": "USD"
}, - "tax": {
- "amount": 5,
- "currencyCode": "USD"
}, - "includedCardCount": 1,
- "maxAdditionalCards": 2,
- "pricePerAdditionalCard": {
- "amount": 45,
- "currencyCode": "USD"
}, - "creditsIncluded": 8000,
- "ticketsIncluded": 0,
- "timedPlayIncluded": null,
- "attractionsIncluded": [
- {
- "name": "VR Session",
- "description": "A virtual reality experience.",
- "sortOrder": 1,
- "passesIncluded": 1,
- "groupId": 100,
- "attractions": [
- {
- "id": 200,
- "gameMachineId": "00000000-0000-0000-0000-000000000200"
}, - {
- "id": 201,
- "gameMachineId": "00000000-0000-0000-0000-000000000201"
}, - {
- "id": 202,
- "gameMachineId": "00000000-0000-0000-0000-000000000202"
}
]
}, - {
- "name": "XTREAM GO KARTS",
- "description": "An exciting go-kart race",
- "sortOrder": 2,
- "passesIncluded": 1,
- "id": 250,
- "gameMachineId": "00000000-0000-0000-0000-000000000250"
}
]
}, - {
- "packageId": 3,
- "name": "$100 | Bring a friend all day special",
- "description": "A package that includes timed play all day for you and a friend for $100",
- "sortOrder": 3,
- "price": {
- "amount": 100,
- "currencyCode": "USD"
}, - "tax": {
- "amount": 10,
- "currencyCode": "USD"
}, - "includedCardCount": 2,
- "maxAdditionalCards": 2,
- "pricePerAdditionalCard": {
- "amount": 49.99,
- "currencyCode": "USD"
}, - "creditsIncluded": 0,
- "ticketsIncluded": 0,
- "timedPlayIncluded": {
- "durationMinutes": 480,
- "startType": "Immediate"
}, - "attractionsIncluded": [ ]
}
]
}Create a new card transaction at a location Adds a new transaction to for adding to a cards balance at this location.
required | integer or string (locationId) The unique identifier of the location. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| whatIf | boolean If true, the transaction will be validated but not actually processed. This can be used to check if a transaction request is valid and see the expected outcome without making any changes to the card balances. |
Array of objects or null A list of credit purchases made in a single transaction. Each entry in the list represents a purchase of credits for a specific card number. | |
Array of objects or null A list of package purchases made in a single transaction. Each entry in the list represents a purchase of a specific package for a set of card numbers. | |
object or object or (object or null) (CardTransactionPayment) | |
| externalTransactionId | string or null <= 128 characters An optional external identifier for the transaction |
{- "credits": [
- {
- "cardNumber": "1000000005",
- "amount": 10
}, - {
- "cardNumber": "1000000006",
- "amount": 20
}
], - "packages": [
- {
- "packageId": 1,
- "quantity": 2,
- "cardNumbers": [
- "1000000001",
- "1000000002"
]
}, - {
- "packageId": 2,
- "cardNumbers": [
- "1000000003"
]
}
], - "payment": {
- "currencyCode": "string",
- "amount": 0,
- "denominations": {
- "ones": 0,
- "fives": 0,
- "tens": 0,
- "twenties": 0,
- "fifties": 0,
- "hundreds": 0
}
}, - "externalTransactionId": "string"
}{- "cardTransactionId": "00000000-0000-0000-0000-000000000002"
}Refund a card transaction by its ID at a location. Reverses the effects of the original transaction, removing any credits, tickets, timed play, or attractions purchased.
required | integer or string (locationId) The unique identifier of the location. |
| cardTransactionId required | string <uuid> (cardTransactionId) Example: 00000000-0000-0000-0000-000000000002 The unique identifier of the card transaction. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}Get the balance for a card at a specific location
required | integer or string (locationId) The unique identifier of the location. |
| cardNumber required | string (rfid) ^((\d{10})|(\+\d{11,13}))$ Example: 0715468881 The unique identifier of the card. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
{- "credits": 100,
- "tickets": 5,
- "tab": {
- "id": "00000000-0000-0000-0000-000000000003",
- "status": "Open",
- "openedAtUtc": "2019-08-24T14:15:22Z",
- "closedAtUtc": "2019-08-24T14:15:22Z",
- "limit": 0.1,
- "autoCloseAtUtc": "2019-08-24T14:15:22Z",
- "creditsUsed": 0,
- "valueUsed": {
- "amount": 20,
- "currencyCode": "USD"
}, - "tabProvider": "My Tab Provider",
- "externalTabId": "ext-tab-123456789"
}, - "timedPlay": {
- "sessionId": "00000000-0000-0000-0000-000000000000",
- "startTimeUtc": "2024-01-01T00:00:00Z",
- "endTimeUtc": "2024-01-01T01:00:00Z",
- "remaining": "00:02:00",
- "isPaused": false,
- "pausedAtUtc": "2024-01-01T00:00:00Z",
- "pausesRemaining": 3,
- "pauseExpiresAtUtc": "2024-01-01T00:00:00Z"
}, - "attractions": [
- {
- "name": "Roller Coaster",
- "description": "string",
- "passes": 1,
- "id": 0,
- "gameMachineId": "872a4c81-0549-4dc2-8771-0a409ccbcba1"
}
], - "location": {
- "id": 123,
- "name": "Amusement Park"
}
}Update the location balance for a card to the desired state.
required | integer or string (locationId) The unique identifier of the location. |
| cardNumber required | string (rfid) ^((\d{10})|(\+\d{11,13}))$ Example: 0715468881 The unique identifier of the card. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| credits required | number <double> |
| tickets required | number <double> |
object (tab) | |
object or null | |
Array of objects or objects or null |
{- "credits": 100,
- "tickets": 5,
- "tab": {
- "id": "00000000-0000-0000-0000-000000000003",
- "status": "Open",
- "openedAtUtc": "2019-08-24T14:15:22Z",
- "closedAtUtc": "2019-08-24T14:15:22Z",
- "limit": 0.1,
- "autoCloseAtUtc": "2019-08-24T14:15:22Z",
- "creditsUsed": 0,
- "valueUsed": {
- "amount": 20,
- "currencyCode": "USD"
}, - "tabProvider": "My Tab Provider",
- "externalTabId": "ext-tab-123456789"
}, - "timedPlay": {
- "sessionId": "00000000-0000-0000-0000-000000000000",
- "startTimeUtc": "2024-01-01T00:00:00Z",
- "endTimeUtc": "2024-01-01T01:00:00Z",
- "remaining": "00:02:00",
- "isPaused": false,
- "pausedAtUtc": "2024-01-01T00:00:00Z",
- "pausesRemaining": 3,
- "pauseExpiresAtUtc": "2024-01-01T00:00:00Z"
}, - "attractions": [
- {
- "name": "Roller Coaster",
- "description": "string",
- "passes": 1,
- "id": 0,
- "gameMachineId": "872a4c81-0549-4dc2-8771-0a409ccbcba1"
}
]
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}Search and filter tabs at a location
required | integer or string (locationId) The unique identifier of the location. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| take | integer Example: take=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. |
| status | any (TabStatus) Enum: "Open" "Closed" Filter tabs by their status. |
| orderDescending | boolean Default: false Reverses the sort order of the results to be in descending order. |
| orderBy | any Default: "openedAtUtc" Enum: "openedAtUtc" "closedAtUtc" "settledAtUtc" "status" The field to order the results by. Defaults to openedAtUtc. |
| thenBy | any Default: "openedAtUtc" Enum: "openedAtUtc" "closedAtUtc" "settledAtUtc" An additional field to order the results by after ordering by the orderBy field. Only applies if the orderBy parameter is 'status'. |
| openFrom | string <date-time> Filter to tabs that were open on or after this date and time. |
| openTo | string <date-time> Filter to tabs that were open on or before this date and time. |
[- {
- "id": "00000000-0000-0000-0000-000000000003",
- "status": "Open",
- "openedAtUtc": "2019-08-24T14:15:22Z",
- "closedAtUtc": "2019-08-24T14:15:22Z",
- "limit": 0.1,
- "autoCloseAtUtc": "2019-08-24T14:15:22Z",
- "creditsUsed": 0,
- "valueUsed": {
- "amount": 20,
- "currencyCode": "USD"
}, - "tabProvider": "My Tab Provider",
- "externalTabId": "ext-tab-123456789"
}
]Opens a tab for a player at a location
required | integer or string (locationId) The unique identifier of the location. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| externalTabId required | string The external identifier for the tab provided by the tab provider. |
object (Money) | |
| autoCloseAtUtc | string or null <date-time> The date and time when the tab will automatically close. If null, the tab will remain open until manually closed. |
| cardNumbers required | Array of strings (rfid) [ items^((\d{10})|(\+\d{11,13}))$ ] The list of card numbers to associate with the tab. |
{- "externalTabId": "string",
- "limit": {
- "amount": 20,
- "currencyCode": "USD"
}, - "autoCloseAtUtc": "2019-08-24T14:15:22Z",
- "cardNumbers": [
- "0715468881"
]
}{- "tabId": "00000000-0000-0000-0000-000000000000"
}Get a tab by its ID at a location
required | integer or string (locationId) The unique identifier of the location. |
| tabId required | string <uuid> (tabId) Example: 00000000-0000-0000-0000-000000000003 The unique identifier of the tab. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
{- "id": "00000000-0000-0000-0000-000000000003",
- "status": "Open",
- "openedAtUtc": "2019-08-24T14:15:22Z",
- "closedAtUtc": "2019-08-24T14:15:22Z",
- "limit": 0.1,
- "autoCloseAtUtc": "2019-08-24T14:15:22Z",
- "creditsUsed": 0,
- "valueUsed": {
- "amount": 20,
- "currencyCode": "USD"
}, - "tabProvider": "My Tab Provider",
- "externalTabId": "ext-tab-123456789"
}Delete a tab
required | integer or string (locationId) The unique identifier of the location. |
| tabId required | string <uuid> (tabId) Example: 00000000-0000-0000-0000-000000000003 The unique identifier of the tab. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}Close a tab, preventing it from accepting any new charges.
required | integer or string (locationId) The unique identifier of the location. |
| tabId required | string <uuid> |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
{ }{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}