Download OpenAPI specification:
API for using Amusement Connect notifications
Retrieve a list of happy hours.
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
required | integer or string The unique identifier of the location. |
| 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. |
| upcomingOccurrences | integer Default: 0 How many of the next upcoming occurrences of each schedule to include. |
| status | string Enum: "Active" "Pending" "Completed" Filter happy hours by status. |
{- "items": [
- {
- "schedule": {
- "id": 0,
- "locationId": 0,
- "enabled": true,
- "daysOfWeek": [
- "Sunday"
], - "notBefore": "2019-08-24T14:15:22Z",
- "notAfter": "2019-08-24T14:15:22Z",
- "startTime": "14:15:22Z",
- "endTime": "14:15:22Z",
- "gameCategories": [
- "string"
], - "creditMultiplier": 0,
- "ticketMultiplier": 0,
- "ianaTimeZoneId": "string",
- "status": "Active"
}, - "occurrences": [
- {
- "start": "2024-01-01T12:00:00 -06:00",
- "end": "2024-01-01T13:00:00 -06:00",
- "duration": "01:00:00"
}
]
}
], - "totalCount": 0
}Create a new happy hour.
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
required | integer or string |
| startDate required | string <date> |
| endDate | string or null <date> |
| startTime required | string <time> |
| endTime required | string <time> |
| daysOfWeek required | Array of any (DaysOfWeek) Items Enum: "Sunday" "Monday" "Tuesday" "Wednesday" "Thursday" "Friday" "Saturday" |
| gameCategories | Array of strings[ items non-empty ] |
| creditMultiplier required | number >= 0 Default: 1 |
| ticketMultiplier required | number >= 0 Default: 1 |
| userOffsetMinutes | integer or null [ -720 .. 840 ] |
{- "locationId": 0,
- "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "startTime": "14:15:22Z",
- "endTime": "14:15:22Z",
- "daysOfWeek": [
- "Sunday"
], - "gameCategories": [
- "string"
], - "creditMultiplier": 1,
- "ticketMultiplier": 1,
- "userOffsetMinutes": -720
}{- "schedule": {
- "id": 0,
- "locationId": 0,
- "enabled": true,
- "daysOfWeek": [
- "Sunday"
], - "notBefore": "2019-08-24T14:15:22Z",
- "notAfter": "2019-08-24T14:15:22Z",
- "startTime": "14:15:22Z",
- "endTime": "14:15:22Z",
- "gameCategories": [
- "string"
], - "creditMultiplier": 0,
- "ticketMultiplier": 0,
- "ianaTimeZoneId": "string",
- "status": "Active"
}, - "occurrences": [
- {
- "start": "2024-01-01T12:00:00 -06:00",
- "end": "2024-01-01T13:00:00 -06:00",
- "duration": "01:00:00"
}
]
}Retrieve a happy hour by its unique identifier.
| happyHourScheduleId required | integer The unique identifier of the happy hour schedule. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| upcomingOccurrences | integer Default: 0 How many of the next upcoming occurrences of each schedule to include. |
{- "schedule": {
- "id": 0,
- "locationId": 0,
- "enabled": true,
- "daysOfWeek": [
- "Sunday"
], - "notBefore": "2019-08-24T14:15:22Z",
- "notAfter": "2019-08-24T14:15:22Z",
- "startTime": "14:15:22Z",
- "endTime": "14:15:22Z",
- "gameCategories": [
- "string"
], - "creditMultiplier": 0,
- "ticketMultiplier": 0,
- "ianaTimeZoneId": "string",
- "status": "Active"
}, - "occurrences": [
- {
- "start": "2024-01-01T12:00:00 -06:00",
- "end": "2024-01-01T13:00:00 -06:00",
- "duration": "01:00:00"
}
]
}Update an existing happy hour.
| happyHourScheduleId required | integer The unique identifier of the happy hour schedule. |
| apiVersion | string Default: "1.0" Value: "1.0" The version of the API to use. |
| daysOfWeek | Array of any or null (DaysOfWeek) Enum: "Sunday" "Monday" "Tuesday" "Wednesday" "Thursday" "Friday" "Saturday" |
| startDate | string <date> |
| endDate | string or null <date> |
| startTime | string or null <time> |
| endTime | string or null <time> |
| gameCategories | Array of strings or null |
| creditMultiplier | number or null |
| ticketMultiplier | number or null |
| userOffsetMinutes | integer or null [ -720 .. 840 ] |
{- "daysOfWeek": [
- "Sunday"
], - "startDate": "2019-08-24",
- "endDate": "2019-08-24",
- "startTime": "14:15:22Z",
- "endTime": "14:15:22Z",
- "gameCategories": [
- "string"
], - "creditMultiplier": 0,
- "ticketMultiplier": 0,
- "userOffsetMinutes": -720
}{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "errors": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}Delete a happy hour by its unique identifier.
| happyHourScheduleId required | integer The unique identifier of the happy hour schedule. |
| 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"
]
}
}