9400: Get active lottery

Returns the currently active lottery. If no lottery is currently active, a 404 response is returned.
Endpoint ID:

9400

Method
GET
URL:

/lottery/active

Request body:

None

Response body:

The relevant properties of the currently active lottery.

{
    "lottery": {
        "name": "Demo Lotteri",
        "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 currently active lottery