9401: Get upcoming lottery
Returns the next lottery which will become active in the future. If no upcoming lottery exists, a 404 response is returned.
Endpoint ID: | 9401 | ||
Method | GET | ||
URL: | /lottery/upcoming | ||
Request body: | None | ||
Response body: | The relevant properties of the upcoming lottery, including its { "lottery": { "name": "Demo Lotteri", "startDate": "2021-04-28T00:00:00", "drawDate": "2021-05-28T02:00:00", "quickdrawDeadline": "2021-05-23T02:00:00", "quickdrawPrize": "1000" } } | ||
Status codes: | HttpStatusCode | ApiStatusSubCode | Description |
200 | Success | ||
404 | There is no future lottery currently configured |